Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit",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.0007345/0.0007345, allocations: 92.23 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.004542/0.004542, allocations: 170.2 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.285/1.285, 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.1118/0.1118, allocations: 2.786 MB / 294.2 MB, free: 4.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002791, allocations: 8 kB / 356.3 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.08534, allocations: 51.26 MB / 407.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.1954/0.2808, allocations: 49.38 MB / 457 MB, free: 21.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.2966, allocations: 28.51 MB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005563/0.2972, allocations: 3.156 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.2986, allocations: 0.5773 MB / 486 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.304, allocations: 2.051 MB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007217/0.3112, allocations: 2.714 MB / 490.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009894/0.3122, allocations: 0.9775 MB / 491.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.3123, allocations: 56.08 kB / 491.8 MB, free: 12.89 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.7268/1.039, allocations: 46.48 MB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006682/1.04, allocations: 298.6 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/1.04, allocations: 20 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3807/1.421, allocations: 24.76 MB / 0.5502 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/1.421, allocations: 99.47 kB / 0.5503 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000484/1.421, allocations: 340.1 kB / 0.5506 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005326/1.427, allocations: 1.808 MB / 0.5524 GB, free: 3.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.427, allocations: 0 / 0.5524 GB, free: 3.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/1.427, allocations: 7.984 kB / 0.5524 GB, free: 3.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/1.427, allocations: 0 / 0.5524 GB, free: 3.73 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.001205/1.428, allocations: 0.9831 MB / 0.5533 GB, free: 2.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.428, allocations: 12.03 kB / 0.5533 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/1.428, allocations: 123 kB / 0.5535 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/1.43, allocations: 0.4997 MB / 0.5539 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/1.43, allocations: 335.5 kB / 0.5543 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/1.43, allocations: 41.88 kB / 0.5543 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/1.43, allocations: 63.94 kB / 0.5544 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/1.432, allocations: 0.8801 MB / 0.5552 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.432, allocations: 0 / 0.5552 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/1.432, allocations: 28 kB / 0.5553 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/1.432, allocations: 31.97 kB / 0.5553 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/1.433, allocations: 0.7197 MB / 0.556 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/1.437, allocations: 5.035 MB / 0.5609 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/1.438, allocations: 337.7 kB / 0.5612 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/1.438, allocations: 217.7 kB / 0.5614 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/1.439, allocations: 1.535 MB / 0.5629 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.439, allocations: 30.56 kB / 0.563 GB, free: 7.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.323e-06/1.439, allocations: 0 / 0.563 GB, free: 7.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001457/1.441, allocations: 0.6118 MB / 0.5636 GB, free: 7.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/1.441, allocations: 77.11 kB / 0.5636 GB, free: 7.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/1.441, allocations: 186.2 kB / 0.5638 GB, free: 7.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/1.441, allocations: 29.7 kB / 0.5638 GB, free: 7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/1.441, allocations: 287.5 kB / 0.5641 GB, free: 6.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/1.441, allocations: 228.5 kB / 0.5643 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/1.442, allocations: 57.69 kB / 0.5644 GB, free: 6.422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002409/1.442, allocations: 346.8 kB / 0.5647 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.442, allocations: 121.3 kB / 0.5648 GB, free: 5.953 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/1.442, allocations: 308 kB / 0.5651 GB, free: 5.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/1.443, allocations: 496.4 kB / 0.5656 GB, free: 5.016 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.443, allocations: 4 kB / 0.5656 GB, free: 5.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007337/1.444, allocations: 480.3 kB / 0.5661 GB, free: 4.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.444, allocations: 16.64 kB / 0.5661 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.444, allocations: 8 kB / 0.5661 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.444, allocations: 12 kB / 0.5661 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/1.444, allocations: 71.84 kB / 0.5662 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.444, allocations: 8 kB / 0.5662 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/1.444, allocations: 87.25 kB / 0.5663 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/1.444, allocations: 20 kB / 0.5663 GB, free: 4.316 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * 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.0002125/1.445, allocations: 197.6 kB / 0.5665 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/1.445, allocations: 31.56 kB / 0.5665 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/1.446, allocations: 1.17 MB / 0.5676 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001134/1.447, allocations: 0.9768 MB / 0.5686 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.447, allocations: 4 kB / 0.5686 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.447, allocations: 3.984 kB / 0.5686 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/1.45, allocations: 2.31 MB / 0.5709 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.45, allocations: 0 / 0.5709 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/1.45, allocations: 119.8 kB / 0.571 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.451, allocations: 4 kB / 0.571 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/1.451, allocations: 19.98 kB / 0.571 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.451, allocations: 4 kB / 0.571 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.451, allocations: 0 / 0.571 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/1.452, allocations: 0.8754 MB / 0.5719 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/1.452, allocations: 136.2 kB / 0.572 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/1.452, allocations: 20 kB / 0.572 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/1.452, allocations: 87.55 kB / 0.5721 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/1.452, allocations: 43.88 kB / 0.5721 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/1.452, allocations: 20 kB / 0.5721 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.041e-05/1.452, allocations: 124.2 kB / 0.5723 GB, free: 14.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.452, allocations: 3.938 kB / 0.5723 GB, free: 14.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000614/1.453, allocations: 227.4 kB / 0.5725 GB, free: 13.84 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: 5 (medium1.completeState.state.phase,$cse4.phase,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 (75): * Single equations (assignments): 71 * 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.001609/1.455, allocations: 1.637 MB / 0.5741 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000922/1.456, allocations: 0.7461 MB / 0.5748 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.456, allocations: 0 / 0.5748 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/1.456, allocations: 378.4 kB / 0.5752 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.458, allocations: 324.8 kB / 0.5755 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/1.462, allocations: 4.269 MB / 0.5797 GB, free: 6.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/1.463, allocations: 0.956 MB / 0.5806 GB, free: 5.238 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000377/1.463, allocations: 125.2 kB / 0.5807 GB, free: 5.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/1.463, allocations: 279.3 kB / 0.581 GB, free: 4.844 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/1.463, allocations: 0 / 0.581 GB, free: 4.844 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2108/1.674, allocations: 18.5 MB / 0.599 GB, free: 137.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/1.674, allocations: 259.3 kB / 0.5993 GB, free: 137.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.964, allocations: 0 / 0.5993 GB, free: 137.3 MB / 446.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1)