Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.0008341/0.0008341, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002083, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007274/0.0007274, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001743, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9265/0.9265, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07248/0.999, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01227/0.01227, allocations: 1.993 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003138/0.0154, allocations: 1.227 MB / 247.4 MB, free: 11.54 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.745e-05, allocations: 2.312 kB / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.0111/0.01111, allocations: 11.94 MB / 260.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007205/0.01832, allocations: 12.17 MB / 272.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.01855, allocations: 7.938 kB / 272.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.01895, allocations: 214.5 kB / 273 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.02107, allocations: 1.257 MB / 274.3 MB, free: 0.5273 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.1024/0.1235, allocations: 1.196 MB / 275.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009786/0.1245, allocations: 0.9888 MB / 276.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1246, allocations: 34.83 kB / 276.5 MB, free: 5.422 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.6923/0.8169, allocations: 22.11 MB / 298.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.8173, allocations: 237.3 kB / 298.8 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.8174, allocations: 37.72 kB / 298.9 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.8192, allocations: 0.7088 MB / 299.6 MB, free: 9.297 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.8193, allocations: 88 kB / 299.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.8195, allocations: 195.8 kB / 299.8 MB, free: 9.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.8206, allocations: 0.9029 MB / 300.8 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.8206, allocations: 3.938 kB / 300.8 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.8206, allocations: 0 / 300.8 MB, free: 9.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.8206, allocations: 0 / 300.8 MB, free: 9.148 MB / 282.7 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.0009096/0.8215, allocations: 1.09 MB / 301.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/0.8216, allocations: 8.281 kB / 301.9 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.8229, allocations: 1.054 MB / 302.9 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.8232, allocations: 204.9 kB / 303.1 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.8232, allocations: 47.44 kB / 303.2 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.8232, allocations: 52.12 kB / 303.2 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.8238, allocations: 0.7017 MB / 303.9 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.8238, allocations: 3.047 kB / 303.9 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.8238, allocations: 30.38 kB / 303.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.8239, allocations: 30.48 kB / 304 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.8242, allocations: 303.5 kB / 304.3 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.8256, allocations: 2.248 MB / 306.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.8259, allocations: 179.1 kB / 306.7 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.826, allocations: 80 kB / 306.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/0.8265, allocations: 0.6709 MB / 307.4 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.8265, allocations: 42.02 kB / 307.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 1.593e-06/0.8265, allocations: 0 / 307.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006458/0.8272, allocations: 454 kB / 307.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.8272, allocations: 81.11 kB / 308 MB, free: 5.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.8273, allocations: 179.4 kB / 308.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.8273, allocations: 25.7 kB / 308.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.8275, allocations: 283.3 kB / 308.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.8276, allocations: 253.7 kB / 308.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.8277, allocations: 96.48 kB / 308.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.8278, allocations: 347 kB / 309.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.8278, allocations: 42.25 kB / 309.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.828, allocations: 213.7 kB / 309.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.8282, allocations: 332.9 kB / 309.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8282, allocations: 4 kB / 309.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002664/0.8285, allocations: 304.5 kB / 310 MB, free: 3.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8285, allocations: 7.938 kB / 310 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8285, allocations: 10.91 kB / 310.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8285, allocations: 4 kB / 310.1 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.8286, allocations: 77.97 kB / 310.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8286, allocations: 11 kB / 310.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.8288, allocations: 59.02 kB / 310.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.8288, allocations: 8.312 kB / 310.2 MB, free: 3.488 MB / 282.7 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,medium1.baseProperties.phaseInput,medium2.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.0001074/0.8289, allocations: 150.1 kB / 310.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.8289, allocations: 23.61 kB / 310.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.829, allocations: 22.98 kB / 310.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.829, allocations: 4 kB / 310.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.829, allocations: 0 / 310.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.829, allocations: 1.922 kB / 310.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.8292, allocations: 236.7 kB / 310.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8292, allocations: 4 kB / 310.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.8293, allocations: 41.44 kB / 310.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.8293, allocations: 35.62 kB / 310.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8293, allocations: 8 kB / 310.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.8293, allocations: 3.812 kB / 310.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.8293, allocations: 0 / 310.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8293, allocations: 4 kB / 310.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.8295, allocations: 402.5 kB / 311.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.8296, allocations: 7.625 kB / 311.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.8297, allocations: 7.625 kB / 311.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.8297, allocations: 18.95 kB / 311.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.8297, allocations: 5.359 kB / 311.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.029e-05/0.8297, allocations: 43.7 kB / 311.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8297, allocations: 8 kB / 311.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.8301, allocations: 179.2 kB / 311.4 MB, free: 2.477 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.000335/0.8305, allocations: 191.8 kB / 311.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.8308, allocations: 451.2 kB / 312 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.8308, allocations: 7.188 kB / 312 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.831, allocations: 435.7 kB / 312.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.8316, allocations: 309.9 kB / 312.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.8376, allocations: 1.034 MB / 313.8 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.8377, allocations: 165.5 kB / 313.9 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.838, allocations: 211 kB / 314.2 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.8384, allocations: 218.2 kB / 314.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8384, allocations: 4 kB / 314.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of Templates: time 0.01297/0.8514, allocations: 10.91 MB / 325.3 MB, free: 5.379 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.112192010506988]