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.001395/0.001395, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00099/0.0009896, allocations: 191.7 kB / 16.14 MB, free: 6.707 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1108/0.1108, allocations: 2.759 MB / 292.7 MB, free: 3.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.89 kB / 353.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07695/0.07812, allocations: 50.25 MB / 404.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.1532/0.2314, allocations: 19.06 MB / 423.1 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.2348, allocations: 6.059 MB / 429.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.851e-05/0.2349, allocations: 0 / 429.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.2355, allocations: 241.3 kB / 429.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.2373, allocations: 1.11 MB / 430.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.2375, allocations: 83.7 kB / 430.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.2377, allocations: 295.8 kB / 430.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.2378, allocations: 24.14 kB / 430.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.2379, allocations: 93.67 kB / 431 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.238, allocations: 112.3 kB / 431.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.238, allocations: 10.28 kB / 431.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5229/0.7609, allocations: 35.06 MB / 466.2 MB, free: 21.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.761, allocations: 27.66 kB / 466.2 MB, free: 21.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.7612, allocations: 134.9 kB / 466.4 MB, free: 21.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.7629, allocations: 0.4958 MB / 466.8 MB, free: 21.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7629, allocations: 3.938 kB / 466.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.7629, allocations: 0 / 466.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.7629, allocations: 1.375 kB / 466.9 MB, free: 21.25 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.0004673/0.7634, allocations: 0.5634 MB / 467.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7634, allocations: 10.09 kB / 467.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.7635, allocations: 70.67 kB / 467.5 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/0.7642, allocations: 204.1 kB / 467.7 MB, free: 20.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.763e-05/0.7643, allocations: 188.5 kB / 467.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.7643, allocations: 19.5 kB / 467.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.7643, allocations: 26.19 kB / 467.9 MB, free: 20.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.7647, allocations: 334.7 kB / 468.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7647, allocations: 3.938 kB / 468.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.7648, allocations: 14.16 kB / 468.3 MB, free: 20.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.7648, allocations: 13.22 kB / 468.3 MB, free: 20.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.765, allocations: 260.4 kB / 468.5 MB, free: 20.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.766, allocations: 2.118 MB / 470.7 MB, free: 18.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.7662, allocations: 133.8 kB / 470.8 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.7663, allocations: 106.3 kB / 470.9 MB, free: 18.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.7667, allocations: 0.6923 MB / 471.6 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.7667, allocations: 34.56 kB / 471.6 MB, free: 17.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.122e-06/0.7667, allocations: 0 / 471.6 MB, free: 17.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0002891/0.767, allocations: 191 kB / 471.8 MB, free: 17.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.767, allocations: 77.11 kB / 471.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.85e-05/0.7671, allocations: 111.3 kB / 472 MB, free: 17.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.7671, allocations: 25.7 kB / 472 MB, free: 17.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.7671, allocations: 162.5 kB / 472.2 MB, free: 16.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.7672, allocations: 100.3 kB / 472.3 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.7672, allocations: 41.95 kB / 472.3 MB, free: 16.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.7673, allocations: 325.2 kB / 472.6 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.7673, allocations: 29.75 kB / 472.7 MB, free: 16.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.7674, allocations: 89.64 kB / 472.7 MB, free: 16.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.7675, allocations: 139.4 kB / 472.9 MB, free: 16.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7675, allocations: 5.156 kB / 472.9 MB, free: 16.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001883/0.7677, allocations: 162.5 kB / 473 MB, free: 16.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7678, allocations: 4.688 kB / 473 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7678, allocations: 1.188 kB / 473 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.7678, allocations: 2.25 kB / 473 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.7678, allocations: 17.12 kB / 473.1 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7679, allocations: 4.969 kB / 473.1 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.768, allocations: 33.06 kB / 473.1 MB, free: 16.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.768, allocations: 3.75 kB / 473.1 MB, free: 16.19 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.231e-05/0.7681, allocations: 130.8 kB / 473.2 MB, free: 16.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.7681, allocations: 15.75 kB / 473.3 MB, free: 16.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.7685, allocations: 428.1 kB / 473.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000305/0.7688, allocations: 334.4 kB / 474 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7688, allocations: 0 / 474 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7688, allocations: 4.375 kB / 474 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008836/0.7697, allocations: 1.042 MB / 475 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7697, allocations: 1.125 kB / 475 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.7699, allocations: 43.31 kB / 475.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7699, allocations: 1.312 kB / 475.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.7699, allocations: 6.219 kB / 475.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.7699, allocations: 13.72 kB / 475.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7699, allocations: 1.188 kB / 475.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.7703, allocations: 0.5002 MB / 475.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.7703, allocations: 103.9 kB / 475.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.7704, allocations: 14.02 kB / 475.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.7706, allocations: 44.06 kB / 475.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.7706, allocations: 19.72 kB / 475.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.7706, allocations: 10.25 kB / 475.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.835e-05/0.7706, allocations: 82.2 kB / 475.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.7706, allocations: 0 / 475.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.771, allocations: 105.8 kB / 476 MB, free: 14.39 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.0006804/0.7717, allocations: 1.137 MB / 477.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.772, allocations: 306.6 kB / 477.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.772, allocations: 0 / 477.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.7722, allocations: 164.6 kB / 477.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009055/0.7731, allocations: 161.1 kB / 477.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.7741, allocations: 0.8775 MB / 478.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.7743, allocations: 0.8003 MB / 479.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.7744, allocations: 34.16 kB / 479.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.7745, allocations: 118.4 kB / 479.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.7745, allocations: 0 / 479.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.806, allocations: 8.816 MB / 488.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.8062, allocations: 250.5 kB / 488.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.65, allocations: 0 / 488.6 MB, free: 10.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)