Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical",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.001187/0.001187, 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.001441/0.001442, allocations: 193.8 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1023/0.1023, allocations: 2.759 MB / 292.7 MB, free: 3.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 55.91 kB / 353.8 MB, free: 4.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0792/0.0803, allocations: 50.24 MB / 404 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.1864/0.2667, allocations: 50.43 MB / 454.5 MB, free: 21.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.2828, allocations: 28.97 MB / 483.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005312/0.2833, allocations: 2.719 kB / 483.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.2848, allocations: 0.5677 MB / 484 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00505/0.2898, allocations: 2.055 MB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007201/0.297, allocations: 2.708 MB / 488.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.2982, allocations: 0.9783 MB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2983, allocations: 61.88 kB / 489.8 MB, free: 12.77 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function ‘ExternalMedia.Common.CheckCoolPropOptions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFEvalConstants.evaluate: time 0.703/1.001, allocations: 46.47 MB / 0.5237 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/1.002, allocations: 298.6 kB / 0.524 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/1.002, allocations: 20 kB / 0.524 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.355/1.357, allocations: 24.76 MB / 0.5482 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/1.357, allocations: 91.48 kB / 0.5483 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/1.358, allocations: 326.3 kB / 0.5486 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004481/1.362, allocations: 1.824 MB / 0.5504 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.362, allocations: 0 / 0.5504 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.11e-07/1.362, allocations: 0 / 0.5504 GB, free: 2.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/1.362, allocations: 4 kB / 0.5504 GB, free: 2.84 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001347/1.364, allocations: 1.096 MB / 0.5515 GB, free: 1.695 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.364, allocations: 15.97 kB / 0.5515 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/1.364, allocations: 111.1 kB / 0.5516 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/1.366, allocations: 0.4996 MB / 0.5521 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/1.366, allocations: 339.4 kB / 0.5524 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/1.366, allocations: 45.88 kB / 0.5524 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/1.366, allocations: 59.94 kB / 0.5525 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.368, allocations: 0.8723 MB / 0.5533 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.368, allocations: 0 / 0.5533 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/1.368, allocations: 28 kB / 0.5534 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/1.368, allocations: 31.98 kB / 0.5534 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/1.369, allocations: 0.7039 MB / 0.5541 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/1.373, allocations: 4.958 MB / 0.5589 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/1.373, allocations: 353 kB / 0.5593 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/1.374, allocations: 229.7 kB / 0.5595 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.375, allocations: 1.551 MB / 0.561 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/1.375, allocations: 34.56 kB / 0.561 GB, free: 6.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.453e-06/1.375, allocations: 3.938 kB / 0.561 GB, free: 6.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.001565/1.377, allocations: 0.6308 MB / 0.5617 GB, free: 6.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/1.377, allocations: 81.11 kB / 0.5617 GB, free: 6.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/1.377, allocations: 167.7 kB / 0.5619 GB, free: 6.082 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/1.377, allocations: 29.7 kB / 0.5619 GB, free: 6.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/1.377, allocations: 279.6 kB / 0.5622 GB, free: 5.766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/1.377, allocations: 236.4 kB / 0.5624 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/1.377, allocations: 93.91 kB / 0.5625 GB, free: 5.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/1.377, allocations: 342.8 kB / 0.5628 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/1.378, allocations: 125.3 kB / 0.563 GB, free: 4.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/1.378, allocations: 285.4 kB / 0.5632 GB, free: 4.621 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/1.379, allocations: 474.7 kB / 0.5637 GB, free: 4.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.379, allocations: 0 / 0.5637 GB, free: 4.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008025/1.38, allocations: 476 kB / 0.5641 GB, free: 3.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.38, allocations: 8.562 kB / 0.5641 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.38, allocations: 8 kB / 0.5641 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.38, allocations: 8 kB / 0.5642 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/1.38, allocations: 75.84 kB / 0.5642 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.38, allocations: 7.984 kB / 0.5642 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/1.38, allocations: 83.2 kB / 0.5643 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/1.38, allocations: 20 kB / 0.5643 GB, free: 3.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001899/1.381, allocations: 193.7 kB / 0.5645 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/1.381, allocations: 35.55 kB / 0.5645 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/1.382, allocations: 1.185 MB / 0.5657 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001175/1.383, allocations: 0.9869 MB / 0.5667 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.383, allocations: 0 / 0.5667 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/1.383, allocations: 11.98 kB / 0.5667 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/1.386, allocations: 2.325 MB / 0.569 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.386, allocations: 3.938 kB / 0.569 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/1.386, allocations: 127.8 kB / 0.5691 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/1.386, allocations: 4 kB / 0.5691 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.387, allocations: 8 kB / 0.5691 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.387, allocations: 7.938 kB / 0.5691 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.387, allocations: 3.984 kB / 0.5691 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/1.388, allocations: 0.8947 MB / 0.57 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.388, allocations: 144.1 kB / 0.5701 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/1.388, allocations: 12 kB / 0.5701 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/1.388, allocations: 87.55 kB / 0.5702 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/1.388, allocations: 51.92 kB / 0.5703 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/1.388, allocations: 24 kB / 0.5703 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.111e-05/1.388, allocations: 120.1 kB / 0.5704 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.388, allocations: 0 / 0.5704 GB, free: 13.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000621/1.389, allocations: 227.4 kB / 0.5706 GB, free: 12.86 MB / 446.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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001689/1.391, allocations: 1.65 MB / 0.5722 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009983/1.392, allocations: 0.7492 MB / 0.573 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.392, allocations: 0 / 0.573 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/1.392, allocations: 386.3 kB / 0.5733 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.394, allocations: 325.2 kB / 0.5736 GB, free: 9.719 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/1.398, allocations: 4.195 MB / 0.5777 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/1.399, allocations: 0.9648 MB / 0.5787 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004126/1.399, allocations: 133.1 kB / 0.5788 GB, free: 4.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/1.4, allocations: 275.3 kB / 0.5791 GB, free: 3.926 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/1.4, allocations: 0 / 0.5791 GB, free: 3.926 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/1.55, allocations: 19.33 MB / 0.5979 GB, free: 140.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001275/1.55, allocations: 263.8 kB / 0.5982 GB, free: 140 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/3.723, allocations: 0 / 0.5982 GB, free: 140 MB / 446.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1)