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.001719/0.001719, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001949/0.001949, allocations: 220 kB / 23.04 MB, free: 5.078 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.01352/0.01352, allocations: 2.8 MB / 316 MB, free: 376 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="cs",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.001957/0.001957, allocations: 59.91 kB / 439.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09562, allocations: 54.18 MB / 493.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01107/0.1067, allocations: 9.161 MB / 0.4911 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008266/0.115, allocations: 8.602 MB / 0.4995 GB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.1151, allocations: 0 / 0.4995 GB, free: 5.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.1157, allocations: 159 kB / 0.4996 GB, free: 5.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.116, allocations: 107.3 kB / 0.4997 GB, free: 5.332 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.00398/0.12, allocations: 1.455 MB / 0.5011 GB, free: 3.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.1204, allocations: 270.7 kB / 0.5014 GB, free: 3.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.1205, allocations: 13.75 kB / 0.5014 GB, free: 3.59 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.5772/0.6977, allocations: 13.09 MB / 0.5142 GB, free: 7.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.6979, allocations: 89.81 kB / 0.5143 GB, free: 7.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.6979, allocations: 7.75 kB / 0.5143 GB, free: 7.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.6997, allocations: 478.7 kB / 0.5147 GB, free: 7.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.6998, allocations: 31.55 kB / 0.5148 GB, free: 7.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.6999, allocations: 88.8 kB / 0.5149 GB, free: 7.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.7011, allocations: 0.5108 MB / 0.5154 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7011, allocations: 1.438 kB / 0.5154 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7011, allocations: 0 / 0.5154 GB, free: 7.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.7012, allocations: 0 / 0.5154 GB, free: 7.414 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.0008186/0.702, allocations: 0.4955 MB / 0.5158 GB, free: 7.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.702, allocations: 10.11 kB / 0.5158 GB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.702, allocations: 3.406 kB / 0.5159 GB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.7021, allocations: 56.34 kB / 0.5159 GB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.7024, allocations: 51.11 kB / 0.516 GB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.7026, allocations: 149 kB / 0.5161 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.7026, allocations: 9.984 kB / 0.5161 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.7027, allocations: 14.88 kB / 0.5161 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.7032, allocations: 250.2 kB / 0.5164 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7032, allocations: 0 / 0.5164 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.7032, allocations: 3.375 kB / 0.5164 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.7032, allocations: 12.47 kB / 0.5164 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.7037, allocations: 202.1 kB / 0.5166 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.7044, allocations: 0.6681 MB / 0.5172 GB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.7049, allocations: 202.4 kB / 0.5174 GB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.7051, allocations: 133.5 kB / 0.5175 GB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.7053, allocations: 104.6 kB / 0.5176 GB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.7053, allocations: 35.94 kB / 0.5177 GB, free: 6.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.373e-06/0.7053, allocations: 0 / 0.5177 GB, free: 6.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002914/0.7083, allocations: 1.168 MB / 0.5188 GB, free: 6.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.7083, allocations: 54.44 kB / 0.5189 GB, free: 6.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.7084, allocations: 135.4 kB / 0.519 GB, free: 5.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.7084, allocations: 31.38 kB / 0.519 GB, free: 5.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.7084, allocations: 107.9 kB / 0.5191 GB, free: 5.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.7085, allocations: 166.6 kB / 0.5193 GB, free: 5.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.7086, allocations: 59.16 kB / 0.5193 GB, free: 5.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.7086, allocations: 332.7 kB / 0.5197 GB, free: 5.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.7089, allocations: 129.3 kB / 0.5198 GB, free: 5.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.7091, allocations: 198.5 kB / 0.52 GB, free: 5.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.7096, allocations: 344.4 kB / 0.5203 GB, free: 5.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7096, allocations: 7.031 kB / 0.5203 GB, free: 5.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001189/0.7108, allocations: 480.6 kB / 0.5208 GB, free: 5.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7109, allocations: 6.188 kB / 0.5208 GB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7109, allocations: 1.219 kB / 0.5208 GB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007552/0.7116, allocations: 146.9 kB / 0.5209 GB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.7118, allocations: 35.78 kB / 0.5209 GB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005578/0.7123, allocations: 0.6519 MB / 0.5216 GB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.7125, allocations: 13.56 kB / 0.5216 GB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.7125, allocations: 11.67 kB / 0.5216 GB, free: 4.586 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.0001215/0.7126, allocations: 131.2 kB / 0.5217 GB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.7127, allocations: 20.89 kB / 0.5218 GB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.7128, allocations: 29.17 kB / 0.5218 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.7128, allocations: 10.02 kB / 0.5218 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.7128, allocations: 4 kB / 0.5218 GB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7128, allocations: 2.344 kB / 0.5218 GB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.7131, allocations: 265.6 kB / 0.522 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7131, allocations: 0 / 0.522 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.7133, allocations: 37.44 kB / 0.5221 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003477/0.7136, allocations: 74.42 kB / 0.5222 GB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.7137, allocations: 9.938 kB / 0.5222 GB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.7147, allocations: 1.446 MB / 0.5236 GB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7147, allocations: 0 / 0.5236 GB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.7158, allocations: 0.7083 MB / 0.5243 GB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.7158, allocations: 17.89 kB / 0.5243 GB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.7158, allocations: 6.922 kB / 0.5243 GB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.716, allocations: 14.98 kB / 0.5243 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.7161, allocations: 25.69 kB / 0.5243 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.7161, allocations: 5.906 kB / 0.5243 GB, free: 2.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.7161, allocations: 99.44 kB / 0.5244 GB, free: 2.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7161, allocations: 0 / 0.5244 GB, free: 2.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.7165, allocations: 71.61 kB / 0.5245 GB, free: 2.668 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.001538/0.718, allocations: 1.266 MB / 0.5257 GB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.7189, allocations: 334.4 kB / 0.5261 GB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.7189, allocations: 5.438 kB / 0.5261 GB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.7194, allocations: 295.7 kB / 0.5263 GB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.7201, allocations: 92.73 kB / 0.5264 GB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.724, allocations: 2.947 MB / 0.5293 GB, free: 256 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.7243, allocations: 0.7407 MB / 0.53 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.7246, allocations: 113.1 kB / 0.5301 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/0.7247, allocations: 54.38 kB / 0.5302 GB, free: 15.53 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7247, allocations: 0 / 0.5302 GB, free: 15.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.7553, allocations: 8.331 MB / 0.5383 GB, free: 12.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.05, allocations: 16 kB / 0.5383 GB, free: 12.64 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.518270042957738] Failed to read output from testmodel.py, exit status != 0: 14.443406819016673 14.46640655 13.761564786 Calling exit ...