Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.674/2.674, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.02/1.02, allocations: 132.3 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005775/0.0005777, allocations: 12 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9403/0.9409, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002513/0.9436, allocations: 0.9766 MB / 0.5839 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2816/1.225, allocations: 116.4 MB / 0.6976 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/1.225, allocations: 0 / 0.6976 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/1.225, allocations: 0 / 0.6976 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/1.226, allocations: 3.984 kB / 0.6976 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/1.228, allocations: 355.1 kB / 0.6979 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/1.228, allocations: 23.91 kB / 0.6979 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/1.228, allocations: 7.984 kB / 0.6979 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/1.228, allocations: 19.98 kB / 0.698 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/1.228, allocations: 23.84 kB / 0.698 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/1.228, allocations: 4 kB / 0.698 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/1.231, allocations: 0.7882 MB / 0.6988 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/1.231, allocations: 11.91 kB / 0.6988 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/1.231, allocations: 29.7 kB / 0.6988 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007671/1.232, allocations: 281.7 kB / 0.6991 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.232, allocations: 4 kB / 0.6991 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.697e-06/1.232, allocations: 0 / 0.6991 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.086e-06/1.232, allocations: 0 / 0.6991 GB, free: 9.445 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009869/1.233, allocations: 371.1 kB / 0.6994 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/1.233, allocations: 11.97 kB / 0.6994 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.724e-05/1.233, allocations: 30.56 kB / 0.6995 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/1.234, allocations: 11.95 kB / 0.6995 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/1.234, allocations: 171.1 kB / 0.6996 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/1.234, allocations: 0 / 0.6996 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/1.234, allocations: 4 kB / 0.6996 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/1.234, allocations: 53.67 kB / 0.6997 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.234, allocations: 4 kB / 0.6997 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/1.234, allocations: 0 / 0.6997 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/1.234, allocations: 4 kB / 0.6997 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/1.234, allocations: 19.92 kB / 0.6997 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/1.235, allocations: 173.5 kB / 0.6999 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/1.235, allocations: 50.55 kB / 0.6999 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02157/1.257, allocations: 3.205 MB / 0.7031 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.996e-05/1.257, allocations: 38.55 kB / 0.7031 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 5.44e-06/1.257, allocations: 0 / 0.7031 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.05308/1.31, allocations: 14.24 MB / 0.717 GB, free: 6.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/1.31, allocations: 63.34 kB / 0.7171 GB, free: 6.586 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.31, allocations: 93.8 kB / 0.7172 GB, free: 6.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/1.31, allocations: 29.7 kB / 0.7172 GB, free: 6.449 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/1.31, allocations: 80.14 kB / 0.7173 GB, free: 6.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/1.31, allocations: 35.45 kB / 0.7173 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/1.31, allocations: 8.125 kB / 0.7173 GB, free: 6.324 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.311, allocations: 314.8 kB / 0.7176 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/1.311, allocations: 23.98 kB / 0.7176 GB, free: 5.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/1.311, allocations: 23.98 kB / 0.7176 GB, free: 5.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.14e-05/1.311, allocations: 32 kB / 0.7177 GB, free: 5.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/1.311, allocations: 0 / 0.7177 GB, free: 5.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002281/1.311, allocations: 100.1 kB / 0.7178 GB, free: 5.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.311, allocations: 4 kB / 0.7178 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.311, allocations: 3.984 kB / 0.7178 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.311, allocations: 4 kB / 0.7178 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/1.311, allocations: 31.94 kB / 0.7178 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.311, allocations: 80 / 0.7178 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/1.311, allocations: 3.953 kB / 0.7178 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/1.311, allocations: 11.97 kB / 0.7178 GB, free: 5.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.311, allocations: 115.4 kB / 0.7179 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/1.311, allocations: 0 / 0.7179 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/1.312, allocations: 137 kB / 0.7181 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.312, allocations: 0 / 0.7181 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.312, allocations: 0 / 0.7181 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/1.312, allocations: 0 / 0.7181 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/1.312, allocations: 185.5 kB / 0.7182 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.312, allocations: 0 / 0.7182 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/1.312, allocations: 23.98 kB / 0.7183 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.312, allocations: 4 kB / 0.7183 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.312, allocations: 4 kB / 0.7183 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.312, allocations: 4 kB / 0.7183 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.312, allocations: 0 / 0.7183 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/1.312, allocations: 156.9 kB / 0.7184 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/1.313, allocations: 89.05 kB / 0.7185 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/1.313, allocations: 0 / 0.7185 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/1.313, allocations: 27.98 kB / 0.7185 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/1.313, allocations: 7.984 kB / 0.7186 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/1.313, allocations: 8 kB / 0.7186 GB, free: 4.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.953e-05/1.313, allocations: 75.28 kB / 0.7186 GB, free: 4.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.313, allocations: 0 / 0.7186 GB, free: 4.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002384/1.315, allocations: 0.5663 MB / 0.7192 GB, free: 4.281 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003601/1.319, allocations: 0.9443 MB / 0.7201 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001848/1.319, allocations: 59.97 kB / 0.7202 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.319, allocations: 0 / 0.7202 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/1.319, allocations: 35.88 kB / 0.7202 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.319, allocations: 11.98 kB / 0.7202 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/1.321, allocations: 0.7592 MB / 0.721 GB, free: 2.398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/1.321, allocations: 0.6926 MB / 0.7216 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001019/1.322, allocations: 28.53 kB / 0.7217 GB, free: 1.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/1.322, allocations: 15.44 kB / 0.7217 GB, free: 1.637 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/1.322, allocations: 0 / 0.7217 GB, free: 1.637 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07399/1.396, allocations: 26.59 MB / 0.7476 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004378/1.396, allocations: 165.3 kB / 0.7478 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.546/5.943, allocations: 0 / 0.7478 GB, free: 6.977 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: