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.0007674/0.0007674, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005408/0.005408, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.687/0.687, allocations: 132.3 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 8 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3329, allocations: 81.58 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.0009331/0.3339, allocations: 0.988 MB / 0.5847 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1331/0.467, allocations: 134.3 MB / 0.7158 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.4671, allocations: 0 / 0.7158 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.4671, allocations: 0 / 0.7158 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.4671, allocations: 7.922 kB / 0.7158 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.4681, allocations: 370.4 kB / 0.7162 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.4682, allocations: 47.78 kB / 0.7162 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.4682, allocations: 7.984 kB / 0.7162 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.4683, allocations: 19.98 kB / 0.7162 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.4684, allocations: 23.91 kB / 0.7163 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.4684, allocations: 0 / 0.7163 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.4696, allocations: 0.8231 MB / 0.7171 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.4697, allocations: 4 kB / 0.7171 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.4697, allocations: 49.61 kB / 0.7171 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.4702, allocations: 445.3 kB / 0.7175 GB, free: 6.871 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4702, allocations: 7.875 kB / 0.7176 GB, free: 6.863 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4702, allocations: 0 / 0.7176 GB, free: 6.863 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.4702, allocations: 0 / 0.7176 GB, free: 6.863 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.0004501/0.4707, allocations: 363.5 kB / 0.7179 GB, free: 6.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4707, allocations: 8.031 kB / 0.7179 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.4708, allocations: 34.75 kB / 0.7179 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.4709, allocations: 12.92 kB / 0.718 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.4711, allocations: 164.4 kB / 0.7181 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.4711, allocations: 4.375 kB / 0.7181 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4711, allocations: 3.938 kB / 0.7181 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.4712, allocations: 57.67 kB / 0.7182 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4712, allocations: 0 / 0.7182 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4713, allocations: 4 kB / 0.7182 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4713, allocations: 3.984 kB / 0.7182 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.4713, allocations: 23.92 kB / 0.7182 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.4715, allocations: 169.6 kB / 0.7184 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.4716, allocations: 50.58 kB / 0.7184 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.4716, allocations: 17.02 kB / 0.7184 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.4816, allocations: 3.213 MB / 0.7216 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4817, allocations: 34.56 kB / 0.7216 GB, free: 2.453 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.4817, allocations: 0 / 0.7216 GB, free: 2.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03547/0.5172, allocations: 14.24 MB / 0.7355 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.5172, allocations: 51.41 kB / 0.7356 GB, free: 4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.5173, allocations: 97.84 kB / 0.7357 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.5173, allocations: 33.64 kB / 0.7357 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.5174, allocations: 84.08 kB / 0.7358 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.5174, allocations: 39.52 kB / 0.7358 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.5174, allocations: 21.72 kB / 0.7358 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.5175, allocations: 326.8 kB / 0.7361 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.5176, allocations: 20 kB / 0.7362 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.5176, allocations: 19.98 kB / 0.7362 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.5177, allocations: 67.59 kB / 0.7362 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5177, allocations: 0 / 0.7362 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000195/0.5179, allocations: 105.5 kB / 0.7363 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.518, allocations: 4 kB / 0.7363 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.518, allocations: 4 kB / 0.7363 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.518, allocations: 4 kB / 0.7364 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5181, allocations: 27.98 kB / 0.7364 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5181, allocations: 0 / 0.7364 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.5181, allocations: 0 / 0.7364 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.5182, allocations: 4 kB / 0.7364 GB, free: 3.117 MB / 0.5606 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 7.134e-05/0.5182, allocations: 123.2 kB / 0.7365 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.5183, allocations: 7.984 kB / 0.7365 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.5185, allocations: 121.5 kB / 0.7366 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5185, allocations: 4 kB / 0.7366 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5185, allocations: 0 / 0.7366 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.5186, allocations: 0 / 0.7366 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.5187, allocations: 181.6 kB / 0.7368 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5187, allocations: 0 / 0.7368 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5188, allocations: 31.86 kB / 0.7368 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5188, allocations: 4 kB / 0.7368 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5188, allocations: 4 kB / 0.7368 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5188, allocations: 4 kB / 0.7368 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5188, allocations: 4 kB / 0.7368 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.5191, allocations: 156.9 kB / 0.737 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.5192, allocations: 89.05 kB / 0.7371 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.5192, allocations: 4 kB / 0.7371 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.5193, allocations: 15.98 kB / 0.7371 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.5194, allocations: 4 kB / 0.7371 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.5194, allocations: 11.98 kB / 0.7371 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.5194, allocations: 79.28 kB / 0.7372 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5194, allocations: 0 / 0.7372 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001347/0.5208, allocations: 0.5624 MB / 0.7377 GB, free: 1.621 MB / 0.5606 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.002963/0.5237, allocations: 0.9366 MB / 0.7387 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.5239, allocations: 63.92 kB / 0.7387 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5239, allocations: 0 / 0.7387 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.524, allocations: 39.31 kB / 0.7388 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.5241, allocations: 7.984 kB / 0.7388 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.5261, allocations: 1.594 MB / 0.7403 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.5263, allocations: 0.6887 MB / 0.741 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.916e-05/0.5264, allocations: 32.47 kB / 0.741 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.5264, allocations: 23.44 kB / 0.741 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5264, allocations: 0 / 0.741 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3153/0.8417, allocations: 25.19 MB / 0.7656 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.842, allocations: 179.4 kB / 0.7658 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.409, allocations: 0 / 0.7658 GB, free: 4.84 MB / 0.5919 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)