Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",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.0009655/0.0009655, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009687/0.0009688, allocations: 188.7 kB / 16.25 MB, free: 6.59 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.17/1.17, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.09553/0.09553, allocations: 2.755 MB / 292.8 MB, free: 3.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 63.89 kB / 354 MB, free: 4.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07109/0.07218, allocations: 50.22 MB / 404.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.1422/0.2144, allocations: 19.03 MB / 423.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.2176, allocations: 6.037 MB / 429.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.861e-05/0.2177, allocations: 0 / 429.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.2182, allocations: 243.8 kB / 429.5 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.22, allocations: 1.108 MB / 430.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.2202, allocations: 82.77 kB / 430.7 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.2204, allocations: 307.4 kB / 431 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.2205, allocations: 25.44 kB / 431 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.2206, allocations: 90.03 kB / 431.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.2207, allocations: 117 kB / 431.2 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2207, allocations: 5.781 kB / 431.3 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.387/1.607, allocations: 38.1 MB / 469.4 MB, free: 18.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/1.607, allocations: 31.61 kB / 469.4 MB, free: 18.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/1.607, allocations: 128.8 kB / 469.5 MB, free: 18.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/1.609, allocations: 0.5018 MB / 470 MB, free: 18.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.609, allocations: 0 / 470 MB, free: 18.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/1.609, allocations: 0 / 470 MB, free: 18.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/1.609, allocations: 1.406 kB / 470 MB, free: 18.36 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.000594/1.61, allocations: 0.5651 MB / 470.6 MB, free: 17.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.61, allocations: 8.688 kB / 470.6 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/1.61, allocations: 72.47 kB / 470.7 MB, free: 17.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/1.611, allocations: 203.6 kB / 470.9 MB, free: 17.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/1.611, allocations: 194.3 kB / 471 MB, free: 17.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/1.611, allocations: 17.72 kB / 471.1 MB, free: 17.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/1.611, allocations: 26.66 kB / 471.1 MB, free: 17.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/1.611, allocations: 339.3 kB / 471.4 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.611, allocations: 0 / 471.4 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/1.611, allocations: 13.47 kB / 471.4 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/1.611, allocations: 11.61 kB / 471.4 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/1.612, allocations: 262.4 kB / 471.7 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/1.613, allocations: 2.125 MB / 473.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.613, allocations: 131.2 kB / 474 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/1.613, allocations: 118.1 kB / 474.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/1.614, allocations: 0.6844 MB / 474.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/1.614, allocations: 34.5 kB / 474.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.302e-06/1.614, allocations: 1.438 kB / 474.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003083/1.614, allocations: 181.9 kB / 475 MB, free: 14.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/1.614, allocations: 78.17 kB / 475 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/1.614, allocations: 107 kB / 475.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/1.614, allocations: 25.7 kB / 475.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/1.614, allocations: 161.2 kB / 475.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/1.614, allocations: 106 kB / 475.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/1.614, allocations: 35.14 kB / 475.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/1.614, allocations: 324.9 kB / 475.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/1.614, allocations: 38.98 kB / 475.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/1.614, allocations: 92.95 kB / 475.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/1.614, allocations: 145.3 kB / 476.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.614, allocations: 4 kB / 476.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000192/1.615, allocations: 157.1 kB / 476.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.615, allocations: 6.25 kB / 476.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.615, allocations: 2.094 kB / 476.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.615, allocations: 1.844 kB / 476.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/1.615, allocations: 12.28 kB / 476.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/1.615, allocations: 5.75 kB / 476.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/1.615, allocations: 26.95 kB / 476.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/1.615, allocations: 8.656 kB / 476.3 MB, free: 13.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.476e-05/1.615, allocations: 126.5 kB / 476.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/1.615, allocations: 12.41 kB / 476.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/1.616, allocations: 431.6 kB / 476.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003314/1.616, allocations: 335.1 kB / 477.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.616, allocations: 3.938 kB / 477.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.616, allocations: 4.547 kB / 477.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/1.617, allocations: 1.036 MB / 478.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.617, allocations: 0 / 478.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/1.617, allocations: 55.42 kB / 478.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/1.617, allocations: 1.219 kB / 478.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.617, allocations: 6.281 kB / 478.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.617, allocations: 6.25 kB / 478.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.617, allocations: 0 / 478.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/1.618, allocations: 0.508 MB / 478.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/1.618, allocations: 100.6 kB / 478.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/1.618, allocations: 6.875 kB / 478.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/1.618, allocations: 50.08 kB / 478.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/1.618, allocations: 25.55 kB / 479 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.618, allocations: 5 kB / 479 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.191e-05/1.618, allocations: 82.5 kB / 479 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.618, allocations: 1.125 kB / 479 MB, free: 11.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004595/1.618, allocations: 97.22 kB / 479.1 MB, free: 11.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008007/1.619, allocations: 1.159 MB / 480.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/1.62, allocations: 313.9 kB / 480.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.62, allocations: 3.938 kB / 480.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003945/1.62, allocations: 164.6 kB / 480.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/1.621, allocations: 165.6 kB / 480.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.622, allocations: 0.8732 MB / 481.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/1.622, allocations: 0.8026 MB / 482.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/1.623, allocations: 34.22 kB / 482.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.623, allocations: 117.9 kB / 482.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/1.623, allocations: 0 / 482.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.327/2.95, allocations: 9.097 MB / 491.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/2.95, allocations: 246.7 kB / 492.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/6.068, allocations: 4 kB / 492.1 MB, free: 7.59 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1)