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.001414/0.001414, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001511/0.001511, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 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.9378/0.9378, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.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.009006/0.009006, allocations: 1.988 MB / 261.9 MB, free: 11.08 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.793e-06/1.793e-06, allocations: 0 / 332.3 MB, free: 16.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.712e-05, allocations: 2.312 kB / 332.3 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.01022/0.01024, allocations: 11.95 MB / 344.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007072/0.01731, allocations: 12.17 MB / 356.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.01752, allocations: 4 kB / 356.5 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.01806, allocations: 214.4 kB / 356.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.02016, allocations: 1.253 MB / 357.9 MB, free: 7.238 MB / 282.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.002376/0.02253, allocations: 1.165 MB / 359.1 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.02332, allocations: 0.9749 MB / 360.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.422e-05/0.0234, allocations: 29.91 kB / 360.1 MB, free: 5.055 MB / 282.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.6905/0.7139, allocations: 22.04 MB / 382.1 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.7143, allocations: 247.3 kB / 382.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.7144, allocations: 40 kB / 382.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.7161, allocations: 0.6909 MB / 383.1 MB, free: 112 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.7163, allocations: 107.5 kB / 383.2 MB, free: 4 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.7167, allocations: 231.5 kB / 383.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.7183, allocations: 0.9306 MB / 384.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7183, allocations: 0 / 384.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.7183, allocations: 4 kB / 384.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.7183, allocations: 0 / 384.4 MB, free: 14.84 MB / 314.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.001046/0.7193, allocations: 0.9941 MB / 385.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7194, allocations: 12.03 kB / 385.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.7208, allocations: 1.026 MB / 386.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.7211, allocations: 279.7 kB / 386.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.7212, allocations: 45.69 kB / 386.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.7212, allocations: 56.38 kB / 386.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008063/0.722, allocations: 0.7667 MB / 387.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.722, allocations: 4 kB / 387.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.7221, allocations: 27.98 kB / 387.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.7221, allocations: 35.97 kB / 387.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.7226, allocations: 348.8 kB / 388 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.7246, allocations: 3.197 MB / 391.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.725, allocations: 237.8 kB / 391.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.7251, allocations: 111.4 kB / 391.5 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007176/0.7258, allocations: 0.9274 MB / 392.4 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.7258, allocations: 37.33 kB / 392.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 1.834e-06/0.7258, allocations: 0 / 392.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.0008077/0.7266, allocations: 0.5452 MB / 393 MB, free: 5.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.7267, allocations: 81.11 kB / 393.1 MB, free: 5.781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.7268, allocations: 237.7 kB / 393.3 MB, free: 5.531 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.7268, allocations: 33.7 kB / 393.4 MB, free: 5.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.7269, allocations: 327.3 kB / 393.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.727, allocations: 253.7 kB / 393.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.7273, allocations: 103.6 kB / 394 MB, free: 4.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.7274, allocations: 0.5195 MB / 394.5 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.7275, allocations: 65.3 kB / 394.6 MB, free: 4.207 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.7276, allocations: 295.6 kB / 394.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.728, allocations: 416 kB / 395.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.728, allocations: 4 kB / 395.3 MB, free: 3.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003984/0.7284, allocations: 412.2 kB / 395.7 MB, free: 2.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.7284, allocations: 4 kB / 395.7 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.7284, allocations: 8 kB / 395.7 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7284, allocations: 4 kB / 395.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.7285, allocations: 72.47 kB / 395.8 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.7286, allocations: 15.94 kB / 395.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.7287, allocations: 55.52 kB / 395.9 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.7287, allocations: 20 kB / 395.9 MB, free: 2.738 MB / 314.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,medium2.baseProperties.phaseInput,medium1.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.000118/0.7288, allocations: 188.4 kB / 396.1 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.7289, allocations: 31.81 kB / 396.1 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.7289, allocations: 25.97 kB / 396.1 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.7289, allocations: 4 kB / 396.1 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7289, allocations: 3.938 kB / 396.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7289, allocations: 4 kB / 396.1 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.7292, allocations: 371.7 kB / 396.5 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7292, allocations: 4 kB / 396.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.7293, allocations: 31.98 kB / 396.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7293, allocations: 0 / 396.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.7293, allocations: 8 kB / 396.5 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7293, allocations: 7.938 kB / 396.6 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7293, allocations: 3.984 kB / 396.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.7297, allocations: 0.5533 MB / 397.1 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.7297, allocations: 39.64 kB / 397.1 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.7298, allocations: 4 kB / 397.2 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.7299, allocations: 8 kB / 397.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.7299, allocations: 31.89 kB / 397.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.7299, allocations: 11.98 kB / 397.2 MB, free: 1.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.009e-05/0.73, allocations: 159.9 kB / 397.4 MB, free: 1.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.73, allocations: 0 / 397.4 MB, free: 1.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006186/0.7306, allocations: 191.4 kB / 397.5 MB, free: 1.008 MB / 314.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.0003207/0.7309, allocations: 178.9 kB / 397.7 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.7313, allocations: 0.4945 MB / 398.2 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7313, allocations: 1.25 kB / 398.2 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.7316, allocations: 453.4 kB / 398.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.7322, allocations: 200.9 kB / 398.9 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.7335, allocations: 0.997 MB / 399.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.7336, allocations: 164.8 kB / 400 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.7339, allocations: 213.9 kB / 400.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.734, allocations: 56.48 kB / 400.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.734, allocations: 0 / 400.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Templates: time 0.01176/0.7457, allocations: 9.092 MB / 409.4 MB, free: 5 MB / 330.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.624464225023985]