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.001321/0.001321, 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.001501/0.001501, allocations: 211.6 kB / 22.24 MB, free: 5.258 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.812 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.014/0.014, allocations: 2.805 MB / 315.2 MB, free: 132 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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") [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.002155/0.002155, allocations: 71.89 kB / 439.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1214, allocations: 54.18 MB / 493.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01196/0.1333, allocations: 8.34 MB / 0.4899 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007948/0.1413, allocations: 7.416 MB / 0.4972 GB, free: 6.742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.1415, allocations: 3.938 kB / 0.4972 GB, free: 6.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.1422, allocations: 131.2 kB / 0.4973 GB, free: 6.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.1426, allocations: 99.3 kB / 0.4974 GB, free: 6.512 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.004698/0.1473, allocations: 1.447 MB / 0.4988 GB, free: 5.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.1478, allocations: 270.7 kB / 0.4991 GB, free: 4.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.69e-05/0.1478, allocations: 13.75 kB / 0.4991 GB, free: 4.781 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.6237/0.7715, allocations: 13.08 MB / 0.5118 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.7718, allocations: 84.06 kB / 0.5119 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.7718, allocations: 7.656 kB / 0.5119 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.7737, allocations: 472.4 kB / 0.5124 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.7738, allocations: 31.31 kB / 0.5124 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.7739, allocations: 74.45 kB / 0.5125 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.7757, allocations: 0.5071 MB / 0.513 GB, free: 9.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7757, allocations: 0 / 0.513 GB, free: 9.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.7757, allocations: 0 / 0.513 GB, free: 9.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.7757, allocations: 2.188 kB / 0.513 GB, free: 9.223 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.001011/0.7767, allocations: 498.4 kB / 0.5135 GB, free: 8.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.7767, allocations: 8.969 kB / 0.5135 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.7771, allocations: 59.22 kB / 0.5135 GB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.7774, allocations: 152.8 kB / 0.5137 GB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.7774, allocations: 9.625 kB / 0.5137 GB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.7774, allocations: 10.66 kB / 0.5137 GB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.7781, allocations: 300 kB / 0.514 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.7781, allocations: 5 kB / 0.514 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.7781, allocations: 6.062 kB / 0.514 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.7781, allocations: 10.09 kB / 0.514 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.7787, allocations: 202 kB / 0.5142 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.7795, allocations: 0.6069 MB / 0.5148 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.78, allocations: 214 kB / 0.515 GB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.7803, allocations: 140.7 kB / 0.5151 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.7805, allocations: 99.78 kB / 0.5152 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.7805, allocations: 36.45 kB / 0.5152 GB, free: 8.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.7805, allocations: 1.375 kB / 0.5152 GB, free: 8.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.00298/0.7835, allocations: 1.161 MB / 0.5164 GB, free: 7.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.7835, allocations: 55.69 kB / 0.5164 GB, free: 7.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.7837, allocations: 137.5 kB / 0.5166 GB, free: 7.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.7837, allocations: 30.42 kB / 0.5166 GB, free: 7.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.7838, allocations: 115.7 kB / 0.5167 GB, free: 7.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.7839, allocations: 158.3 kB / 0.5169 GB, free: 7.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.784, allocations: 56.02 kB / 0.5169 GB, free: 7.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.7841, allocations: 334.9 kB / 0.5172 GB, free: 7.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.7843, allocations: 126.2 kB / 0.5173 GB, free: 7.141 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.7847, allocations: 190.8 kB / 0.5175 GB, free: 7.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/0.7854, allocations: 351.5 kB / 0.5179 GB, free: 7.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7854, allocations: 0.5312 kB / 0.5179 GB, free: 7.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001172/0.7866, allocations: 486.8 kB / 0.5183 GB, free: 6.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.7866, allocations: 6.188 kB / 0.5183 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7866, allocations: 3.312 kB / 0.5183 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.7873, allocations: 143.5 kB / 0.5185 GB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.7874, allocations: 34 kB / 0.5185 GB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005329/0.788, allocations: 0.6602 MB / 0.5192 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.7881, allocations: 12.2 kB / 0.5192 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.7882, allocations: 15.64 kB / 0.5192 GB, free: 6.402 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.0001279/0.7883, allocations: 133.7 kB / 0.5193 GB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.7883, allocations: 20.44 kB / 0.5193 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.7884, allocations: 22.39 kB / 0.5193 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.7884, allocations: 9.188 kB / 0.5194 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.7885, allocations: 8.969 kB / 0.5194 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.7885, allocations: 1.359 kB / 0.5194 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.7887, allocations: 208.8 kB / 0.5196 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7888, allocations: 0 / 0.5196 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.7889, allocations: 36.7 kB / 0.5196 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/0.7893, allocations: 75.56 kB / 0.5197 GB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.7893, allocations: 6.125 kB / 0.5197 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.7904, allocations: 1.434 MB / 0.5211 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7904, allocations: 3.891 kB / 0.5211 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.7917, allocations: 0.7001 MB / 0.5218 GB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.7917, allocations: 17.59 kB / 0.5218 GB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.7917, allocations: 6.188 kB / 0.5218 GB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.7919, allocations: 14.61 kB / 0.5218 GB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.792, allocations: 27.42 kB / 0.5218 GB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.792, allocations: 6.125 kB / 0.5218 GB, free: 4.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.7921, allocations: 99.22 kB / 0.5219 GB, free: 4.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7921, allocations: 0 / 0.5219 GB, free: 4.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004401/0.7925, allocations: 65.72 kB / 0.522 GB, free: 4.555 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.0004508/0.793, allocations: 181.8 kB / 0.5222 GB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009034/0.7939, allocations: 334.9 kB / 0.5225 GB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7939, allocations: 0 / 0.5225 GB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.7945, allocations: 298.2 kB / 0.5228 GB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.7952, allocations: 99.09 kB / 0.5229 GB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.7964, allocations: 0.6738 MB / 0.5235 GB, free: 3.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.7966, allocations: 127.2 kB / 0.5236 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.7969, allocations: 122.3 kB / 0.5238 GB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.7969, allocations: 17.25 kB / 0.5238 GB, free: 3.852 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7969, allocations: 0 / 0.5238 GB, free: 3.852 MB / 366.1 MB Notification: Performance of Templates: time 0.01181/0.8087, allocations: 5.606 MB / 0.5292 GB, free: 2.75 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.028866201639175] Failed to read output from testmodel.py, exit status != 0: 0.8175715915858746 0.834661667 0.055229271 Calling exit ...