Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",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.005844/0.005844, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001165/0.001166, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01406/0.01406, allocations: 2.774 MB / 293.3 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.89 kB / 405.4 MB, free: 29.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.09741, allocations: 50.24 MB / 455.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01345/0.1109, allocations: 8.999 MB / 464.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00811/0.1191, allocations: 8.571 MB / 473.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.1194, allocations: 0 / 473.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.1202, allocations: 171 kB / 473.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.1207, allocations: 103.3 kB / 473.5 MB, free: 9.359 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.1259, allocations: 1.452 MB / 475 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.1265, allocations: 274.7 kB / 475.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.1266, allocations: 13.62 kB / 475.2 MB, free: 7.621 MB / 350.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.305/0.4316, allocations: 13.02 MB / 488.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.4319, allocations: 83.62 kB / 488.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.4319, allocations: 8 kB / 488.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.4338, allocations: 475.9 kB / 488.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.4338, allocations: 35.83 kB / 488.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.434, allocations: 87.55 kB / 488.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.4352, allocations: 0.5104 MB / 489.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4352, allocations: 0 / 489.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.4352, allocations: 0 / 489.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4352, allocations: 3.938 kB / 489.5 MB, free: 10.56 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008754/0.4361, allocations: 0.5573 MB / 490 MB, free: 9.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4362, allocations: 12.02 kB / 490 MB, free: 9.945 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.4362, allocations: 50.73 kB / 490.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.4366, allocations: 56.7 kB / 490.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.4368, allocations: 204.1 kB / 490.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4368, allocations: 12.12 kB / 490.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.4369, allocations: 12 kB / 490.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.4374, allocations: 243.1 kB / 490.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4374, allocations: 0 / 490.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4374, allocations: 4 kB / 490.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.4375, allocations: 8 kB / 490.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.4379, allocations: 208.2 kB / 490.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.4387, allocations: 0.6746 MB / 491.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.4393, allocations: 234.4 kB / 491.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.4395, allocations: 145.1 kB / 491.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.4398, allocations: 331.2 kB / 492.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.4398, allocations: 34.55 kB / 492.2 MB, free: 7.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.483e-06/0.4398, allocations: 0 / 492.2 MB, free: 7.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002747/0.4426, allocations: 1.221 MB / 493.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.4426, allocations: 59.34 kB / 493.5 MB, free: 6.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.4427, allocations: 125.8 kB / 493.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.4428, allocations: 29.7 kB / 493.6 MB, free: 6.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.4428, allocations: 108.8 kB / 493.7 MB, free: 5.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4429, allocations: 153.7 kB / 493.9 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/0.443, allocations: 61.69 kB / 494 MB, free: 5.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4431, allocations: 330.8 kB / 494.3 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.4434, allocations: 128.5 kB / 494.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.4437, allocations: 189.2 kB / 494.6 MB, free: 5.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.4442, allocations: 340.8 kB / 494.9 MB, free: 4.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4442, allocations: 4 kB / 494.9 MB, free: 4.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001058/0.4452, allocations: 477.8 kB / 495.4 MB, free: 4.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4453, allocations: 8.031 kB / 495.4 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4453, allocations: 4 kB / 495.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007142/0.446, allocations: 156.6 kB / 495.6 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4462, allocations: 35.92 kB / 495.6 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005941/0.4468, allocations: 0.6498 MB / 496.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.4469, allocations: 8 kB / 496.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.4469, allocations: 16 kB / 496.3 MB, free: 3.324 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.4471, allocations: 134.5 kB / 496.4 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.4471, allocations: 19.75 kB / 496.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/0.4472, allocations: 22.28 kB / 496.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4472, allocations: 11.98 kB / 496.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4472, allocations: 0 / 496.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4472, allocations: 0 / 496.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.4476, allocations: 298.1 kB / 496.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4476, allocations: 0 / 496.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.4478, allocations: 40.06 kB / 496.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/0.4481, allocations: 76.61 kB / 496.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4482, allocations: 11.92 kB / 496.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.4494, allocations: 1.552 MB / 498.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4494, allocations: 0 / 498.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4505, allocations: 0.7014 MB / 499.1 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.4506, allocations: 92.83 kB / 499.2 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4506, allocations: 4 kB / 499.2 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.4508, allocations: 11.98 kB / 499.2 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.4508, allocations: 27.86 kB / 499.3 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4509, allocations: 7.984 kB / 499.3 MB, free: 64 kB / 366.1 MB Notification: Performance of sorting global known variables: time 7.461e-05/0.4509, allocations: 104 kB / 499.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4509, allocations: 0 / 499.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.4513, allocations: 68 kB / 499.4 MB, free: 15.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/0.4528, allocations: 1.236 MB / 0.4889 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007474/0.4535, allocations: 369.7 kB / 0.4893 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4536, allocations: 3.938 kB / 0.4893 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.4541, allocations: 307 kB / 0.4896 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.4548, allocations: 106.6 kB / 0.4897 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.4589, allocations: 2.918 MB / 0.4925 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.4592, allocations: 0.7371 MB / 0.4932 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.4594, allocations: 113.3 kB / 0.4934 GB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.4595, allocations: 55.42 kB / 0.4934 GB, free: 9.863 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4595, allocations: 0 / 0.4934 GB, free: 9.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.4908, allocations: 7.899 MB / 0.5011 GB, free: 2.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.18, allocations: 7.922 kB / 0.5011 GB, free: 2.023 MB / 382.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-07 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)