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.0007704/0.0007705, allocations: 91.77 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.004783/0.004783, allocations: 172.8 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1494/0.1494, allocations: 2.784 MB / 294.2 MB, free: 4.191 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8.281 kB / 356.3 MB, free: 3.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 51.26 MB / 407.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2173/0.3213, allocations: 49.38 MB / 457 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.3391, allocations: 28.51 MB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.3398, allocations: 0 / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.3414, allocations: 0.5732 MB / 486 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.3478, allocations: 2.061 MB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009165/0.3569, allocations: 2.706 MB / 490.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.3583, allocations: 0.9803 MB / 491.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3585, allocations: 50.73 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.7237/1.082, allocations: 46.47 MB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/1.083, allocations: 290.6 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.621e-05/1.083, allocations: 23.94 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3655/1.449, allocations: 24.77 MB / 0.5502 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/1.449, allocations: 83.48 kB / 0.5503 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004819/1.449, allocations: 352.1 kB / 0.5506 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005655/1.455, allocations: 1.808 MB / 0.5524 GB, free: 3.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.455, allocations: 0 / 0.5524 GB, free: 3.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/1.455, allocations: 3.938 kB / 0.5524 GB, free: 3.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/1.455, 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.00138/1.456, allocations: 0.9948 MB / 0.5533 GB, free: 2.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.456, allocations: 8.031 kB / 0.5533 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/1.457, allocations: 119 kB / 0.5535 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/1.458, allocations: 0.4997 MB / 0.5539 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/1.459, allocations: 335.5 kB / 0.5543 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/1.459, allocations: 49.88 kB / 0.5543 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/1.459, allocations: 63.88 kB / 0.5544 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/1.46, allocations: 0.8802 MB / 0.5552 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.46, allocations: 0 / 0.5552 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/1.461, allocations: 28 kB / 0.5553 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/1.461, allocations: 27.98 kB / 0.5553 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/1.462, allocations: 0.7196 MB / 0.556 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/1.466, allocations: 4.969 MB / 0.5608 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.467, allocations: 357 kB / 0.5612 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/1.467, allocations: 221.7 kB / 0.5614 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/1.469, allocations: 1.547 MB / 0.5629 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.469, allocations: 38.56 kB / 0.5629 GB, free: 7.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.834e-06/1.469, allocations: 0 / 0.5629 GB, free: 7.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.001641/1.47, allocations: 0.627 MB / 0.5636 GB, free: 7.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/1.47, allocations: 81.11 kB / 0.5636 GB, free: 7.223 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.47, allocations: 167.7 kB / 0.5638 GB, free: 7.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.47, allocations: 29.7 kB / 0.5638 GB, free: 7.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.471, allocations: 279.6 kB / 0.5641 GB, free: 6.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.471, allocations: 244.3 kB / 0.5643 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/1.471, allocations: 53.69 kB / 0.5644 GB, free: 6.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/1.471, allocations: 346.8 kB / 0.5647 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/1.471, allocations: 113.3 kB / 0.5648 GB, free: 5.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/1.472, allocations: 297.4 kB / 0.5651 GB, free: 5.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/1.473, allocations: 470.7 kB / 0.5655 GB, free: 5.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/1.473, allocations: 4 kB / 0.5655 GB, free: 5.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008888/1.473, allocations: 484.1 kB / 0.566 GB, free: 4.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.473, allocations: 7.938 kB / 0.566 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.473, allocations: 11.94 kB / 0.566 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/1.474, allocations: 4 kB / 0.566 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/1.474, allocations: 71.91 kB / 0.5661 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.474, allocations: 7.938 kB / 0.5661 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/1.474, allocations: 84.03 kB / 0.5662 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/1.474, allocations: 24 kB / 0.5662 GB, free: 4.398 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.0002552/1.474, allocations: 189.8 kB / 0.5664 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/1.475, allocations: 31.56 kB / 0.5664 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/1.476, allocations: 1.189 MB / 0.5676 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001237/1.477, allocations: 0.991 MB / 0.5685 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.477, allocations: 0 / 0.5685 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.477, allocations: 7.984 kB / 0.5686 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/1.481, allocations: 2.325 MB / 0.5708 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.481, allocations: 4 kB / 0.5708 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/1.481, allocations: 119.8 kB / 0.5709 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/1.481, allocations: 7.984 kB / 0.571 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/1.481, allocations: 16 kB / 0.571 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.481, allocations: 0 / 0.571 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.481, allocations: 4 kB / 0.571 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.482, allocations: 0.8869 MB / 0.5718 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/1.482, allocations: 144.1 kB / 0.572 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/1.483, allocations: 12 kB / 0.572 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/1.483, allocations: 87.55 kB / 0.5721 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/1.483, allocations: 51.86 kB / 0.5721 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/1.483, allocations: 20 kB / 0.5721 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.794e-05/1.483, allocations: 120.1 kB / 0.5723 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.483, allocations: 0 / 0.5723 GB, free: 14.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007189/1.484, allocations: 231.4 kB / 0.5725 GB, free: 13.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.00183/1.486, allocations: 1.638 MB / 0.5741 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/1.487, allocations: 0.7492 MB / 0.5748 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.487, allocations: 3.938 kB / 0.5748 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/1.487, allocations: 386.7 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.001779/1.489, allocations: 328.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.005724/1.495, allocations: 4.237 MB / 0.5796 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/1.496, allocations: 0.957 MB / 0.5806 GB, free: 5.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005258/1.496, allocations: 145.1 kB / 0.5807 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.496, allocations: 275.3 kB / 0.581 GB, free: 4.879 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/1.496, allocations: 0 / 0.581 GB, free: 4.879 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2082/1.705, allocations: 18.89 MB / 0.5994 GB, free: 137.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/1.705, allocations: 263 kB / 0.5997 GB, free: 137.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/3.912, allocations: 4 kB / 0.5997 GB, free: 137.2 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)