Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",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.0007541/0.0007541, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.0009015/0.0009015, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04264/0.04264, allocations: 9.061 MB / 279.4 MB, free: 12.26 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 12 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07103/0.0715, allocations: 49.18 MB / 388.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2526/0.3241, allocations: 119.7 MB / 0.4962 GB, free: 432 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2762/0.6004, allocations: 103.8 MB / 0.5976 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.601, allocations: 10.31 kB / 0.5977 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.6033, allocations: 1.073 MB / 0.5987 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.6059, allocations: 1.325 MB / 0.6 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04726/0.6531, allocations: 22.33 MB / 0.6218 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.6547, allocations: 1.572 MB / 0.6233 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.6549, allocations: 93.88 kB / 0.6234 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01548/0.6704, allocations: 10.55 MB / 0.6337 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.671, allocations: 363.2 kB / 0.6341 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.6711, allocations: 19.41 kB / 0.6341 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04514/0.7162, allocations: 27.24 MB / 0.6607 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.7165, allocations: 97.7 kB / 0.6608 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.7168, allocations: 140 kB / 0.6609 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.7329, allocations: 8.506 MB / 0.6692 GB, free: 4.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7329, allocations: 0 / 0.6692 GB, free: 4.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7329, allocations: 0 / 0.6692 GB, free: 4.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.7329, allocations: 0 / 0.6692 GB, free: 4.805 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005447/0.7384, allocations: 2.494 MB / 0.6717 GB, free: 2.359 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.7384, allocations: 8.031 kB / 0.6717 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.96e-05/0.7385, allocations: 87.66 kB / 0.6718 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.7391, allocations: 88.16 kB / 0.6718 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.7394, allocations: 330.6 kB / 0.6722 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.7395, allocations: 41.84 kB / 0.6722 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.7395, allocations: 30.81 kB / 0.6722 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.7407, allocations: 0.6058 MB / 0.6728 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.7407, allocations: 7.938 kB / 0.6728 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.7407, allocations: 13 kB / 0.6728 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.7408, allocations: 14.69 kB / 0.6729 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.7419, allocations: 0.577 MB / 0.6734 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.7442, allocations: 2.466 MB / 0.6758 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.7452, allocations: 0.4952 MB / 0.6763 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.7457, allocations: 353.3 kB / 0.6766 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.342/1.088, allocations: 135.8 MB / 0.8093 GB, free: 278 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/1.088, allocations: 36.25 kB / 0.8093 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.866e-06/1.088, allocations: 2.719 kB / 0.8093 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005315/1.093, allocations: 2.41 MB / 0.8117 GB, free: 277.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/1.093, allocations: 54.44 kB / 0.8117 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/1.093, allocations: 259.4 kB / 0.812 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/1.093, allocations: 35.88 kB / 0.812 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/1.093, allocations: 194.8 kB / 0.8122 GB, free: 277 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/1.094, allocations: 259.2 kB / 0.8124 GB, free: 276.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/1.094, allocations: 5.812 kB / 0.8124 GB, free: 276.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/1.094, allocations: 354.7 kB / 0.8128 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/1.094, allocations: 288.7 kB / 0.8131 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/1.095, allocations: 403.3 kB / 0.8134 GB, free: 276.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/1.095, allocations: 337.3 kB / 0.8138 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.095, allocations: 4.75 kB / 0.8138 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001253/1.096, allocations: 0.8202 MB / 0.8146 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.096, allocations: 6.906 kB / 0.8146 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.096, allocations: 5.312 kB / 0.8146 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/1.097, allocations: 65.8 kB / 0.8146 GB, free: 275.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/1.097, allocations: 152.3 kB / 0.8148 GB, free: 275.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07761/1.175, allocations: 23.84 MB / 0.8381 GB, free: 259.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/1.175, allocations: 55.97 kB / 0.8381 GB, free: 259.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/1.175, allocations: 18.31 kB / 0.8381 GB, free: 259.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002335/1.176, allocations: 186.6 kB / 0.8383 GB, free: 259.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/1.176, allocations: 47.39 kB / 0.8384 GB, free: 259.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/1.177, allocations: 1.745 MB / 0.8401 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.177, allocations: 14.42 kB / 0.8401 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.177, allocations: 0 / 0.8401 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/1.179, allocations: 1.324 MB / 0.8414 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/1.18, allocations: 1.778 MB / 0.8431 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.18, allocations: 2.188 kB / 0.8431 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/1.181, allocations: 79.94 kB / 0.8432 GB, free: 254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003173/1.181, allocations: 171.7 kB / 0.8433 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.181, allocations: 11.98 kB / 0.8434 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009686/1.182, allocations: 2.474 MB / 0.8458 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.182, allocations: 0 / 0.8458 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/1.184, allocations: 1.423 MB / 0.8472 GB, free: 249.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/1.184, allocations: 140.4 kB / 0.8473 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/1.184, allocations: 11.94 kB / 0.8473 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/1.184, allocations: 43.97 kB / 0.8474 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/1.184, allocations: 47.92 kB / 0.8474 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/1.184, allocations: 11.98 kB / 0.8474 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001608/1.184, allocations: 223.1 kB / 0.8476 GB, free: 249.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.184, allocations: 0 / 0.8476 GB, free: 249.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006446/1.191, allocations: 3.176 MB / 0.8507 GB, free: 246.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01307/1.204, allocations: 5.735 MB / 0.8563 GB, free: 241.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00174/1.206, allocations: 1.03 MB / 0.8573 GB, free: 240.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.206, allocations: 0 / 0.8573 GB, free: 240.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006106/1.206, allocations: 0.5295 MB / 0.8578 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.208, allocations: 349.5 kB / 0.8582 GB, free: 239.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006848/1.215, allocations: 4.363 MB / 0.8624 GB, free: 234.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/1.215, allocations: 0.8525 MB / 0.8633 GB, free: 233.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003507/1.215, allocations: 137 kB / 0.8634 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/1.215, allocations: 167.4 kB / 0.8636 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/1.215, allocations: 0 / 0.8636 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1468/1.362, allocations: 123.7 MB / 0.9844 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/1.362, allocations: 234.7 kB / 0.9846 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.398/6.76, allocations: 4 kB / 0.9846 GB, free: 109.4 MB / 0.5762 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) Environment - environmentSimulation: