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.0009937/0.0009937, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.002186, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009787/0.0009787, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.00219, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9391/0.9391, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07463/1.014, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.00761/0.00761, allocations: 1.993 MB / 246 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.009377, allocations: 1.23 MB / 247.2 MB, free: 11.63 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.393e-06/1.393e-06, allocations: 0 / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.565e-05, allocations: 6.25 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.007711/0.007727, allocations: 11.93 MB / 260.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006991/0.01472, allocations: 12.16 MB / 272.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.01485, allocations: 0 / 272.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.01523, allocations: 226.3 kB / 272.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.01683, allocations: 1.249 MB / 274 MB, free: 0.6719 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.1013/0.1182, allocations: 1.169 MB / 275.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000844/0.119, allocations: 0.9865 MB / 276.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.1191, allocations: 30.73 kB / 276.2 MB, free: 5.68 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.6802/0.7993, allocations: 22.09 MB / 298.3 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.7998, allocations: 242.3 kB / 298.6 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.144e-05/0.7998, allocations: 41.97 kB / 298.6 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.8016, allocations: 0.7107 MB / 299.3 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.8017, allocations: 84.33 kB / 299.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.8019, allocations: 199.6 kB / 299.6 MB, free: 9.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.8035, allocations: 0.8947 MB / 300.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.738e-05/0.8035, allocations: 0.75 kB / 300.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.8035, allocations: 0 / 300.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.8035, allocations: 0 / 300.5 MB, free: 9.43 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.001026/0.8045, allocations: 1.097 MB / 301.6 MB, free: 8.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8046, allocations: 10.78 kB / 301.6 MB, free: 8.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.806, allocations: 1.048 MB / 302.6 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.8063, allocations: 208.8 kB / 302.8 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.8063, allocations: 44.34 kB / 302.9 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.8064, allocations: 57.16 kB / 302.9 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.8069, allocations: 0.7056 MB / 303.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.807, allocations: 0 / 303.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.807, allocations: 36.34 kB / 303.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.807, allocations: 30.56 kB / 303.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.8073, allocations: 289 kB / 304 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.8088, allocations: 2.248 MB / 306.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.809, allocations: 190.2 kB / 306.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.8091, allocations: 77.42 kB / 306.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.8096, allocations: 0.665 MB / 307.2 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.8096, allocations: 40.97 kB / 307.2 MB, free: 6.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 1.372e-06/0.8096, allocations: 0 / 307.2 MB, free: 6.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006272/0.8103, allocations: 456.1 kB / 307.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.8103, allocations: 81.11 kB / 307.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8104, allocations: 174.4 kB / 307.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.8104, allocations: 32.77 kB / 307.9 MB, free: 5.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.8105, allocations: 286.2 kB / 308.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.8107, allocations: 257.2 kB / 308.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.8107, allocations: 96.34 kB / 308.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.8108, allocations: 348.8 kB / 308.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.8109, allocations: 38.39 kB / 308.9 MB, free: 4.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.811, allocations: 208.7 kB / 309.1 MB, free: 4.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.8112, allocations: 318.5 kB / 309.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.8112, allocations: 1.781 kB / 309.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002563/0.8114, allocations: 304.6 kB / 309.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8115, allocations: 11.09 kB / 309.8 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.8115, allocations: 4 kB / 309.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8115, allocations: 8 kB / 309.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.8116, allocations: 72.5 kB / 309.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.8116, allocations: 14.91 kB / 309.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.8117, allocations: 55.39 kB / 309.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.8118, allocations: 15.75 kB / 309.9 MB, free: 3.859 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 9.715e-05/0.8119, allocations: 138.7 kB / 310.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.8119, allocations: 19.75 kB / 310.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.8119, allocations: 27.77 kB / 310.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8119, allocations: 3.938 kB / 310.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.8119, allocations: 4 kB / 310.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.812, allocations: 0 / 310.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.8122, allocations: 247.1 kB / 310.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8122, allocations: 7.984 kB / 310.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.8123, allocations: 33.91 kB / 310.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.8123, allocations: 35.69 kB / 310.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.8123, allocations: 0 / 310.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.8123, allocations: 6.953 kB / 310.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8123, allocations: 8 kB / 310.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8123, allocations: 0 / 310.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.8125, allocations: 398.4 kB / 310.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.8125, allocations: 5.734 kB / 310.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.8126, allocations: 4 kB / 310.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.8127, allocations: 30.14 kB / 310.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.8127, allocations: 2.438 kB / 310.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.8127, allocations: 42.3 kB / 310.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.8127, allocations: 0 / 310.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.8131, allocations: 183.3 kB / 311.1 MB, free: 2.855 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.0003091/0.8134, allocations: 189.8 kB / 311.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.8137, allocations: 450 kB / 311.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.8137, allocations: 6.578 kB / 311.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.8139, allocations: 429.2 kB / 312.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.8145, allocations: 236.8 kB / 312.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/0.8203, allocations: 1.034 MB / 313.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.8204, allocations: 166.5 kB / 313.6 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003107/0.8207, allocations: 213.2 kB / 313.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.821, allocations: 213.7 kB / 314 MB, free: 344 kB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.821, allocations: 0 / 314 MB, free: 344 kB / 282.7 MB Notification: Performance of Templates: time 0.01309/0.834, allocations: 10.98 MB / 325 MB, free: 5.734 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: 3.8808442736044526]