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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 214.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01516/0.01516, allocations: 2.816 MB / 315.2 MB, free: 68 kB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 67.91 kB / 438.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1035, allocations: 54.18 MB / 492.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.0112/0.1147, allocations: 8.347 MB / 0.4894 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00787/0.1226, allocations: 7.416 MB / 0.4967 GB, free: 7.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1228, allocations: 0 / 0.4967 GB, free: 7.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.1233, allocations: 131.2 kB / 0.4968 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.1236, allocations: 103.3 kB / 0.4969 GB, free: 6.914 MB / 366.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.003845/0.1275, allocations: 1.443 MB / 0.4983 GB, free: 5.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.1279, allocations: 274.7 kB / 0.4986 GB, free: 5.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/0.1279, allocations: 13.73 kB / 0.4986 GB, free: 5.184 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.6014/0.7293, allocations: 13.08 MB / 0.5114 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.7295, allocations: 81.36 kB / 0.5114 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.7295, allocations: 8.406 kB / 0.5114 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.7309, allocations: 469.2 kB / 0.5119 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.731, allocations: 31.86 kB / 0.5119 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.7311, allocations: 73.84 kB / 0.512 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.7321, allocations: 0.5117 MB / 0.5125 GB, free: 9.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.7321, allocations: 0 / 0.5125 GB, free: 9.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7321, allocations: 0 / 0.5125 GB, free: 9.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.7321, allocations: 1.5 kB / 0.5125 GB, free: 9.219 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.000738/0.7328, allocations: 499.2 kB / 0.513 GB, free: 8.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.7329, allocations: 9.688 kB / 0.513 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.7329, allocations: 55.2 kB / 0.513 GB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.7332, allocations: 56.42 kB / 0.5131 GB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.7334, allocations: 150.9 kB / 0.5132 GB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.7334, allocations: 10.66 kB / 0.5132 GB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.7335, allocations: 14 kB / 0.5133 GB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.734, allocations: 293.4 kB / 0.5135 GB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.734, allocations: 0.75 kB / 0.5135 GB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.734, allocations: 3.938 kB / 0.5135 GB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.734, allocations: 15.52 kB / 0.5136 GB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.7345, allocations: 205.4 kB / 0.5138 GB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.7352, allocations: 0.6495 MB / 0.5144 GB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.7357, allocations: 204.1 kB / 0.5146 GB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.7359, allocations: 135.1 kB / 0.5147 GB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.7361, allocations: 94.86 kB / 0.5148 GB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.7361, allocations: 36.81 kB / 0.5148 GB, free: 8.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.7361, allocations: 4 kB / 0.5148 GB, free: 8.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002584/0.7387, allocations: 1.168 MB / 0.516 GB, free: 7.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/0.7387, allocations: 56.89 kB / 0.516 GB, free: 7.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.7388, allocations: 132.5 kB / 0.5162 GB, free: 7.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.7388, allocations: 30.77 kB / 0.5162 GB, free: 7.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.7389, allocations: 107.7 kB / 0.5163 GB, free: 7.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.7389, allocations: 163.1 kB / 0.5164 GB, free: 7.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.739, allocations: 59.28 kB / 0.5165 GB, free: 7.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.739, allocations: 329.8 kB / 0.5168 GB, free: 7.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.7393, allocations: 132.6 kB / 0.5169 GB, free: 7.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.7395, allocations: 198.6 kB / 0.5171 GB, free: 7.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.74, allocations: 347.9 kB / 0.5175 GB, free: 6.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.74, allocations: 1.156 kB / 0.5175 GB, free: 6.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00116/0.7412, allocations: 484.4 kB / 0.5179 GB, free: 6.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7412, allocations: 5.75 kB / 0.5179 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.7412, allocations: 1.719 kB / 0.5179 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000708/0.7419, allocations: 146.7 kB / 0.5181 GB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.742, allocations: 42.55 kB / 0.5181 GB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004648/0.7425, allocations: 0.6512 MB / 0.5188 GB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.7427, allocations: 12.14 kB / 0.5188 GB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.7427, allocations: 8.078 kB / 0.5188 GB, free: 6.332 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 9.551e-05/0.7428, allocations: 138.1 kB / 0.5189 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.7428, allocations: 22.34 kB / 0.5189 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.7429, allocations: 28.19 kB / 0.519 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.7429, allocations: 8.484 kB / 0.519 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7429, allocations: 0 / 0.519 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7429, allocations: 3.312 kB / 0.519 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.7431, allocations: 244.9 kB / 0.5192 GB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7431, allocations: 0 / 0.5192 GB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.7433, allocations: 43.62 kB / 0.5192 GB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.7436, allocations: 66.88 kB / 0.5193 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.7437, allocations: 10.59 kB / 0.5193 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008942/0.7445, allocations: 1.455 MB / 0.5207 GB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7445, allocations: 0 / 0.5207 GB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.7456, allocations: 0.7055 MB / 0.5214 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.7456, allocations: 21.17 kB / 0.5214 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.7456, allocations: 1.25 kB / 0.5214 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.7458, allocations: 12.05 kB / 0.5215 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.7458, allocations: 20.98 kB / 0.5215 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.7458, allocations: 11.7 kB / 0.5215 GB, free: 4.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.7459, allocations: 107.3 kB / 0.5216 GB, free: 4.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7459, allocations: 0 / 0.5216 GB, free: 4.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.7463, allocations: 66.09 kB / 0.5217 GB, free: 4.418 MB / 366.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.00133/0.7476, allocations: 1.273 MB / 0.5229 GB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007562/0.7483, allocations: 331 kB / 0.5232 GB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7483, allocations: 0 / 0.5232 GB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005446/0.7489, allocations: 298.1 kB / 0.5235 GB, free: 3.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.7495, allocations: 105.2 kB / 0.5236 GB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.7533, allocations: 2.94 MB / 0.5265 GB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.7534, allocations: 130.4 kB / 0.5266 GB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.7537, allocations: 114 kB / 0.5267 GB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.7537, allocations: 51.8 kB / 0.5267 GB, free: 1.914 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.7537, allocations: 0 / 0.5267 GB, free: 1.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.7916, allocations: 8.661 MB / 0.5352 GB, free: 14.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.79, allocations: 7.844 kB / 0.5352 GB, free: 14.82 MB / 382.1 MB " [Timeout remaining time 646] (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 --stepSize=0.1 --timeout=50 --tolerance=1e-07 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.10754802590236] Failed to read output from testmodel.py, exit status != 0: 14.130991498939693 14.154021314 13.416842137 Calling exit ...