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.001836/0.001836, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7716/0.7716, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 68.45 kB / 0.5019 GB, free: 8.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1457, allocations: 80.2 MB / 0.5802 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002413/0.1481, allocations: 1.256 MB / 0.5814 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.414/0.5622, allocations: 137.7 MB / 0.7159 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.5623, allocations: 0 / 0.7159 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.5623, allocations: 0.7031 kB / 0.7159 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.5624, allocations: 14.7 kB / 0.7159 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.5643, allocations: 459.4 kB / 0.7163 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.5644, allocations: 34.89 kB / 0.7164 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.5644, allocations: 7.906 kB / 0.7164 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.5645, allocations: 25.33 kB / 0.7164 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.842e-05/0.5646, allocations: 15.89 kB / 0.7164 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.5646, allocations: 6.188 kB / 0.7164 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.5666, allocations: 0.8077 MB / 0.7172 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.5667, allocations: 16.25 kB / 0.7172 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.5667, allocations: 21.44 kB / 0.7173 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.5676, allocations: 440.5 kB / 0.7177 GB, free: 12.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5676, allocations: 1 kB / 0.7177 GB, free: 12.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5676, allocations: 3.938 kB / 0.7177 GB, free: 12.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5676, allocations: 0 / 0.7177 GB, free: 12.41 MB / 0.545 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.0005255/0.5681, allocations: 371.2 kB / 0.718 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5682, allocations: 12.81 kB / 0.718 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.5682, allocations: 33.67 kB / 0.7181 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.5684, allocations: 16.14 kB / 0.7181 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.5685, allocations: 163 kB / 0.7183 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.5685, allocations: 5.547 kB / 0.7183 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.5686, allocations: 15.72 kB / 0.7183 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.5687, allocations: 54.09 kB / 0.7183 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5687, allocations: 0 / 0.7183 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5687, allocations: 1.281 kB / 0.7183 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5688, allocations: 7.625 kB / 0.7183 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.5688, allocations: 18.59 kB / 0.7184 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.569, allocations: 163.6 kB / 0.7185 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.5691, allocations: 51.97 kB / 0.7186 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.5692, allocations: 21.67 kB / 0.7186 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.581, allocations: 3.171 MB / 0.7217 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.5811, allocations: 31.81 kB / 0.7217 GB, free: 10.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.5811, allocations: 1.281 kB / 0.7217 GB, free: 10.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04345/0.6246, allocations: 14.86 MB / 0.7362 GB, free: 2.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.6247, allocations: 51.41 kB / 0.7363 GB, free: 2.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/0.6247, allocations: 97.86 kB / 0.7364 GB, free: 2.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.6248, allocations: 29.7 kB / 0.7364 GB, free: 2.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.6248, allocations: 84.12 kB / 0.7365 GB, free: 2.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.6248, allocations: 43.39 kB / 0.7365 GB, free: 2.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.6249, allocations: 33.7 kB / 0.7365 GB, free: 2.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.625, allocations: 318.8 kB / 0.7368 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.6251, allocations: 27.98 kB / 0.7369 GB, free: 1.883 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.6251, allocations: 24.11 kB / 0.7369 GB, free: 1.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.6252, allocations: 64.8 kB / 0.737 GB, free: 1.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6252, allocations: 3.938 kB / 0.737 GB, free: 1.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002116/0.6255, allocations: 106.5 kB / 0.7371 GB, free: 1.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6255, allocations: 6.5 kB / 0.7371 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6255, allocations: 0 / 0.7371 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6255, allocations: 0 / 0.7371 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.6256, allocations: 31.92 kB / 0.7371 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.6256, allocations: 0 / 0.7371 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.6257, allocations: 4 kB / 0.7371 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.6257, allocations: 7.984 kB / 0.7371 GB, free: 1.633 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.6258, allocations: 123.3 kB / 0.7372 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.6258, allocations: 4 kB / 0.7372 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.6261, allocations: 129.3 kB / 0.7374 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6261, allocations: 0 / 0.7374 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6261, allocations: 4 kB / 0.7374 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6261, allocations: 3.984 kB / 0.7374 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.6263, allocations: 173.6 kB / 0.7375 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6263, allocations: 0 / 0.7375 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.6264, allocations: 27.94 kB / 0.7376 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6264, allocations: 0 / 0.7376 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.6265, allocations: 7.984 kB / 0.7376 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6265, allocations: 3.125 kB / 0.7376 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6265, allocations: 0 / 0.7376 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.6268, allocations: 157 kB / 0.7377 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.6269, allocations: 93.03 kB / 0.7378 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.6269, allocations: 4 kB / 0.7378 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.627, allocations: 8 kB / 0.7378 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.6271, allocations: 11.98 kB / 0.7378 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.6271, allocations: 4 kB / 0.7378 GB, free: 0.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.6271, allocations: 83.28 kB / 0.7379 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6271, allocations: 0 / 0.7379 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00191/0.629, allocations: 0.5702 MB / 0.7385 GB, free: 144 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003481/0.6325, allocations: 0.9333 MB / 0.7394 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.6327, allocations: 71.08 kB / 0.7394 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6327, allocations: 4 kB / 0.7395 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.6328, allocations: 39.92 kB / 0.7395 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.633, allocations: 8.781 kB / 0.7395 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.635, allocations: 1.539 MB / 0.741 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.6352, allocations: 0.6807 MB / 0.7417 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.637e-05/0.6353, allocations: 28.53 kB / 0.7417 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.6354, allocations: 27.42 kB / 0.7417 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.6354, allocations: 3.938 kB / 0.7417 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04912/0.6845, allocations: 25.39 MB / 0.7665 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.88, allocations: 4.719 kB / 0.7665 GB, free: 3.434 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/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)