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.001036/0.001036, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001001/0.001001, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1202/0.1202, allocations: 2.759 MB / 292.8 MB, free: 3.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 354 MB, free: 4.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08124/0.0824, allocations: 50.23 MB / 404.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.1788/0.2612, allocations: 50.32 MB / 454.5 MB, free: 21.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/0.277, allocations: 28.87 MB / 483.4 MB, free: 288 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005278/0.2775, allocations: 2.938 kB / 483.4 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.2789, allocations: 0.5752 MB / 484 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004853/0.2837, allocations: 2.057 MB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007003/0.2907, allocations: 2.705 MB / 488.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.2918, allocations: 0.923 MB / 489.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.2919, allocations: 66.81 kB / 489.8 MB, free: 12.78 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.7027/0.9946, allocations: 50.58 MB / 0.5277 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.9952, allocations: 306.6 kB / 0.528 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.862e-05/0.9953, allocations: 44 kB / 0.528 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3535/1.349, allocations: 26.72 MB / 0.5541 GB, free: 15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/1.349, allocations: 107.5 kB / 0.5542 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000427/1.349, allocations: 342.5 kB / 0.5545 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004024/1.353, allocations: 1.836 MB / 0.5563 GB, free: 12.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.353, allocations: 0 / 0.5563 GB, free: 12.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/1.353, allocations: 0 / 0.5563 GB, free: 12.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/1.354, allocations: 0 / 0.5563 GB, free: 12.72 MB / 430.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.001241/1.355, allocations: 1.1 MB / 0.5574 GB, free: 11.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/1.355, allocations: 12.03 kB / 0.5574 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/1.355, allocations: 119.1 kB / 0.5575 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/1.357, allocations: 0.4919 MB / 0.558 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/1.357, allocations: 343.4 kB / 0.5583 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/1.357, allocations: 45.88 kB / 0.5584 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/1.357, allocations: 63.88 kB / 0.5584 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/1.359, allocations: 0.8685 MB / 0.5593 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.359, allocations: 7.938 kB / 0.5593 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/1.359, allocations: 28 kB / 0.5593 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/1.359, allocations: 27.98 kB / 0.5593 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.36, allocations: 0.7 MB / 0.56 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/1.363, allocations: 4.97 MB / 0.5649 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/1.364, allocations: 345.1 kB / 0.5652 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/1.364, allocations: 229.6 kB / 0.5654 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.366, allocations: 1.543 MB / 0.5669 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/1.366, allocations: 38.56 kB / 0.567 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.443e-06/1.366, allocations: 4 kB / 0.567 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.001488/1.367, allocations: 0.627 MB / 0.5676 GB, free: 240 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/1.367, allocations: 77.11 kB / 0.5677 GB, free: 144 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/1.367, allocations: 167.6 kB / 0.5678 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/1.367, allocations: 33.7 kB / 0.5679 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/1.367, allocations: 279.6 kB / 0.5681 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.368, allocations: 244.4 kB / 0.5684 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.368, allocations: 101.9 kB / 0.5685 GB, free: 15.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/1.368, allocations: 338.8 kB / 0.5688 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/1.368, allocations: 125.3 kB / 0.5689 GB, free: 14.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/1.368, allocations: 281.5 kB / 0.5692 GB, free: 14.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/1.369, allocations: 470.7 kB / 0.5696 GB, free: 13.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.369, allocations: 8 kB / 0.5696 GB, free: 13.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007842/1.37, allocations: 480.3 kB / 0.5701 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.37, allocations: 11.94 kB / 0.5701 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.37, allocations: 4 kB / 0.5701 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.37, allocations: 8 kB / 0.5701 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/1.37, allocations: 63.91 kB / 0.5702 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.37, allocations: 15.92 kB / 0.5702 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/1.371, allocations: 79.48 kB / 0.5703 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/1.371, allocations: 16 kB / 0.5703 GB, free: 13.29 MB / 446.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.0001971/1.371, allocations: 197.7 kB / 0.5705 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/1.371, allocations: 31.56 kB / 0.5705 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/1.372, allocations: 1.181 MB / 0.5716 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00126/1.373, allocations: 0.9943 MB / 0.5726 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.374, allocations: 4.375 kB / 0.5726 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.374, allocations: 3.984 kB / 0.5726 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/1.376, allocations: 2.337 MB / 0.5749 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.376, allocations: 0 / 0.5749 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/1.376, allocations: 123.8 kB / 0.575 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.377, allocations: 8 kB / 0.575 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/1.377, allocations: 16 kB / 0.575 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.377, allocations: 4 kB / 0.575 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.377, allocations: 0 / 0.575 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/1.378, allocations: 0.8908 MB / 0.5759 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.881e-05/1.378, allocations: 140.2 kB / 0.576 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/1.378, allocations: 19.98 kB / 0.5761 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/1.378, allocations: 83.5 kB / 0.5761 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/1.378, allocations: 51.92 kB / 0.5762 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/1.378, allocations: 23.94 kB / 0.5762 GB, free: 7.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.099e-05/1.378, allocations: 120.1 kB / 0.5763 GB, free: 6.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.378, allocations: 0 / 0.5763 GB, free: 6.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000583/1.379, allocations: 235.4 kB / 0.5766 GB, free: 6.73 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.001608/1.381, allocations: 1.626 MB / 0.5781 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/1.382, allocations: 0.7915 MB / 0.5789 GB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.382, allocations: 0 / 0.5789 GB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/1.382, allocations: 386.9 kB / 0.5793 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/1.384, allocations: 347.3 kB / 0.5796 GB, free: 3.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1257/1.51, allocations: 4.176 MB / 0.5837 GB, free: 141.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/1.51, allocations: 0.9631 MB / 0.5846 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005099/1.511, allocations: 132.9 kB / 0.5848 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/1.511, allocations: 276 kB / 0.585 GB, free: 140.9 MB / 446.1 MB Notification: Performance of SimCode: time 5.52e-07/1.511, allocations: 0.625 kB / 0.585 GB, free: 140.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/1.651, allocations: 19.9 MB / 0.6045 GB, free: 139.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.651, allocations: 272.6 kB / 0.6047 GB, free: 139.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.94, allocations: 0 / 0.6047 GB, free: 139.5 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)