Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.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(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",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.006736/0.006736, allocations: 99.73 kB / 15.73 MB, free: 6.043 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.001187/0.001187, allocations: 194.5 kB / 16.68 MB, free: 5.961 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01369/0.01369, allocations: 2.774 MB / 293.3 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.84 kB / 405.4 MB, free: 29.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09173, allocations: 50.23 MB / 455.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.3454/0.4372, allocations: 82.93 MB / 0.526 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03339/0.4706, allocations: 40.73 MB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.4723, allocations: 5.469 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.4763, allocations: 1.247 MB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02906/0.5054, allocations: 6.955 MB / 0.5738 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.5066, allocations: 268.4 kB / 0.574 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.5088, allocations: 1.355 MB / 0.5753 GB, free: 8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.509, allocations: 112.6 kB / 0.5754 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.5095, allocations: 421.9 kB / 0.5758 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.5101, allocations: 0.4896 MB / 0.5763 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.5101, allocations: 40 kB / 0.5764 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32/1.83, allocations: 167 MB / 0.7394 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/1.831, allocations: 152.7 kB / 0.7396 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008481/1.832, allocations: 0.5905 MB / 0.7402 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/1.842, allocations: 2.777 MB / 0.7429 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.842, allocations: 0 / 0.7429 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/1.842, allocations: 0 / 0.7429 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.12e-05/1.842, allocations: 0 / 0.7429 GB, free: 124.6 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001695/1.844, allocations: 1.581 MB / 0.7444 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.844, allocations: 12.03 kB / 0.7444 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/1.844, allocations: 205.6 kB / 0.7446 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/1.849, allocations: 1.215 MB / 0.7458 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/1.849, allocations: 288.6 kB / 0.7461 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/1.849, allocations: 73.94 kB / 0.7462 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/1.849, allocations: 92.88 kB / 0.7462 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/1.851, allocations: 1.701 MB / 0.7479 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/1.851, allocations: 0 / 0.7479 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/1.851, allocations: 37.12 kB / 0.7479 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/1.851, allocations: 77.75 kB / 0.748 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/1.853, allocations: 1.608 MB / 0.7496 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005496/1.858, allocations: 8.57 MB / 0.758 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/1.859, allocations: 0.7591 MB / 0.7587 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/1.86, allocations: 0.7433 MB / 0.7594 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/1.862, allocations: 2.352 MB / 0.7617 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/1.862, allocations: 37.09 kB / 0.7618 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.916e-06/1.862, allocations: 0 / 0.7618 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002614/1.864, allocations: 1.509 MB / 0.7632 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/1.865, allocations: 81.11 kB / 0.7633 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/1.865, allocations: 131.4 kB / 0.7634 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.865, allocations: 32.77 kB / 0.7635 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/1.865, allocations: 402.1 kB / 0.7638 GB, free: 109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/1.865, allocations: 0.5645 MB / 0.7644 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/1.865, allocations: 144.2 kB / 0.7645 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/1.865, allocations: 306 kB / 0.7648 GB, free: 108 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/1.866, allocations: 333.9 kB / 0.7651 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/1.866, allocations: 0.4904 MB / 0.7656 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/1.867, allocations: 1.015 MB / 0.7666 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.867, allocations: 3.984 kB / 0.7666 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001123/1.869, allocations: 1.048 MB / 0.7676 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.869, allocations: 8.031 kB / 0.7676 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.869, allocations: 4 kB / 0.7677 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.869, allocations: 4 kB / 0.7677 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/1.869, allocations: 39.02 kB / 0.7677 GB, free: 105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.869, allocations: 7.984 kB / 0.7677 GB, free: 105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/1.869, allocations: 82.81 kB / 0.7678 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/1.869, allocations: 16 kB / 0.7678 GB, free: 104.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0003142/1.869, allocations: 236.6 kB / 0.768 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/1.869, allocations: 55.19 kB / 0.7681 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.969e-05/1.87, allocations: 35.89 kB / 0.7681 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.87, allocations: 7.984 kB / 0.7681 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.87, allocations: 0 / 0.7681 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.87, allocations: 0 / 0.7681 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000952/1.871, allocations: 1.043 MB / 0.7691 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.871, allocations: 4 kB / 0.7691 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/1.871, allocations: 4 kB / 0.7691 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.871, allocations: 4 kB / 0.7691 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/1.871, allocations: 12 kB / 0.7692 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.871, allocations: 6.812 kB / 0.7692 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.871, allocations: 4 kB / 0.7692 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.872, allocations: 1.188 MB / 0.7703 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/1.872, allocations: 148 kB / 0.7705 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/1.872, allocations: 4 kB / 0.7705 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.872, allocations: 4 kB / 0.7705 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/1.872, allocations: 26.61 kB / 0.7705 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/1.872, allocations: 18.62 kB / 0.7705 GB, free: 102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.568e-05/1.872, allocations: 91.27 kB / 0.7706 GB, free: 102 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.872, allocations: 0 / 0.7706 GB, free: 102 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000881/1.873, allocations: 386.6 kB / 0.771 GB, free: 101.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002057/1.875, allocations: 2.171 MB / 0.7731 GB, free: 99.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001505/1.877, allocations: 1.749 MB / 0.7748 GB, free: 97.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.877, allocations: 0 / 0.7748 GB, free: 97.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009734/1.878, allocations: 1.823 MB / 0.7766 GB, free: 95.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/1.88, allocations: 465.6 kB / 0.777 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/1.883, allocations: 2.342 MB / 0.7793 GB, free: 92.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/1.884, allocations: 1.293 MB / 0.7806 GB, free: 91.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005976/1.884, allocations: 181.7 kB / 0.7807 GB, free: 91.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/1.885, allocations: 0.6203 MB / 0.7814 GB, free: 90.43 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/1.885, allocations: 4 kB / 0.7814 GB, free: 90.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06098/1.946, allocations: 41.71 MB / 0.8221 GB, free: 49.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/13.04, allocations: 10.23 kB / 0.8221 GB, free: 49.04 MB / 0.5294 GB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1)