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.0006501/0.00065, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004782/0.004782, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1135/0.1135, allocations: 2.775 MB / 294.2 MB, free: 4.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 8 kB / 356.3 MB, free: 3.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 51.26 MB / 407.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.1966/0.2981, allocations: 18.48 MB / 426.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.3019, allocations: 5.972 MB / 432 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.302, allocations: 0 / 432 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.3025, allocations: 238.9 kB / 432.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.3049, allocations: 1.106 MB / 433.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3052, allocations: 87.33 kB / 433.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.3054, allocations: 300.8 kB / 433.8 MB, free: 33.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.552e-05/0.3055, allocations: 26.88 kB / 433.8 MB, free: 33.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.3056, allocations: 89.59 kB / 433.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3057, allocations: 119.7 kB / 434 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3058, allocations: 3.062 kB / 434 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5436/0.8494, allocations: 35.05 MB / 469 MB, free: 19.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.8495, allocations: 25.98 kB / 469.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.8497, allocations: 152.5 kB / 469.2 MB, free: 19.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.8517, allocations: 0.4963 MB / 469.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8517, allocations: 0 / 469.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8517, allocations: 4 kB / 469.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.8518, allocations: 0 / 469.7 MB, free: 19.11 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.0005744/0.8523, allocations: 0.524 MB / 470.2 MB, free: 18.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8524, allocations: 10.5 kB / 470.3 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/0.8525, allocations: 69.62 kB / 470.3 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008776/0.8534, allocations: 199.6 kB / 470.5 MB, free: 18.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.8535, allocations: 189.9 kB / 470.7 MB, free: 18.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.8535, allocations: 19.25 kB / 470.7 MB, free: 18.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.8535, allocations: 32 kB / 470.7 MB, free: 18.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.854, allocations: 337.1 kB / 471.1 MB, free: 18.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.854, allocations: 0 / 471.1 MB, free: 18.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.854, allocations: 13.92 kB / 471.1 MB, free: 18.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.8541, allocations: 10.7 kB / 471.1 MB, free: 18.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.8544, allocations: 265.8 kB / 471.4 MB, free: 18.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.8557, allocations: 2.127 MB / 473.5 MB, free: 16.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.8558, allocations: 134.2 kB / 473.6 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.856, allocations: 111.3 kB / 473.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/0.8565, allocations: 0.68 MB / 474.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.8565, allocations: 42.5 kB / 474.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.8565, allocations: 4 kB / 474.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.000337/0.8569, allocations: 189 kB / 474.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.8569, allocations: 78.3 kB / 474.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.857, allocations: 102.1 kB / 474.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.857, allocations: 26.89 kB / 474.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.857, allocations: 162.1 kB / 475 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.8571, allocations: 105.2 kB / 475.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.8571, allocations: 24.62 kB / 475.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.8572, allocations: 332.8 kB / 475.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.8572, allocations: 32.25 kB / 475.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-05/0.8573, allocations: 83.84 kB / 475.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.8575, allocations: 144.2 kB / 475.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8575, allocations: 0 / 475.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001968/0.8577, allocations: 163.4 kB / 475.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.8577, allocations: 5.75 kB / 475.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8577, allocations: 0.7812 kB / 475.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8577, allocations: 3.594 kB / 475.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.8578, allocations: 10.64 kB / 475.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8578, allocations: 11.62 kB / 475.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.8579, allocations: 27.48 kB / 475.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.8579, allocations: 3.844 kB / 475.9 MB, free: 14.63 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.936e-05/0.858, allocations: 135.5 kB / 476.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.8581, allocations: 14.5 kB / 476.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.8585, allocations: 422.8 kB / 476.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003239/0.8589, allocations: 334 kB / 476.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8589, allocations: 8.656 kB / 476.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.8589, allocations: 0 / 476.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.8599, allocations: 1.037 MB / 477.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.8599, allocations: 1.188 kB / 477.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.8601, allocations: 58.59 kB / 477.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.8601, allocations: 1.125 kB / 477.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.8601, allocations: 5.906 kB / 477.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8601, allocations: 1.406 kB / 477.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8601, allocations: 0.9688 kB / 477.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.8605, allocations: 0.5011 MB / 478.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.8606, allocations: 104.4 kB / 478.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.8606, allocations: 9.656 kB / 478.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.8609, allocations: 47.28 kB / 478.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.8609, allocations: 19.89 kB / 478.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.8609, allocations: 5.562 kB / 478.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.26e-05/0.8609, allocations: 83.19 kB / 478.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.861, allocations: 0 / 478.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.8614, allocations: 105.4 kB / 478.8 MB, free: 13.38 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.0007897/0.8622, allocations: 1.134 MB / 479.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.8626, allocations: 310.8 kB / 480.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8626, allocations: 384 / 480.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.8628, allocations: 174.4 kB / 480.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.8638, allocations: 159.6 kB / 480.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.865, allocations: 0.9025 MB / 481.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.8652, allocations: 0.8035 MB / 482.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.8654, allocations: 43.05 kB / 482.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.8655, allocations: 118.8 kB / 482.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.8655, allocations: 0 / 482.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.8884, allocations: 8.62 MB / 491 MB, free: 10.2 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.8886, allocations: 245.9 kB / 491.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.793, allocations: 0 / 491.3 MB, free: 9.945 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)