Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.0009327/0.0009327, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001202/0.001202, allocations: 177 kB / 23.36 MB, free: 1.137 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.9431/0.9431, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.007974/0.007974, allocations: 1.997 MB / 262.3 MB, free: 10.92 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 4 kB / 279.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.757e-05, allocations: 9.766 kB / 279.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.1154/0.1154, allocations: 11.9 MB / 291.5 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007864/0.1233, allocations: 12.15 MB / 303.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.1235, allocations: 3.406 kB / 303.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.1241, allocations: 229.2 kB / 303.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.1265, allocations: 1.245 MB / 305.1 MB, free: 12.81 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.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.1286, allocations: 1.182 MB / 306.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.1294, allocations: 0.9614 MB / 307.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.814e-05/0.1295, allocations: 31.44 kB / 307.3 MB, free: 11.54 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.5505/0.6799, allocations: 21.83 MB / 329.1 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.6804, allocations: 243.3 kB / 329.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.6804, allocations: 40 kB / 329.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.6824, allocations: 0.7065 MB / 330.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.461e-05/0.6824, allocations: 119.5 kB / 330.2 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.6826, allocations: 231.5 kB / 330.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.684, allocations: 0.9306 MB / 331.4 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.684, allocations: 0 / 331.4 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.684, allocations: 4 kB / 331.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.684, allocations: 0 / 331.4 MB, free: 8.637 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.0007714/0.6848, allocations: 0.8585 MB / 332.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.6848, allocations: 8.031 kB / 332.3 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.6862, allocations: 1.046 MB / 333.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.6865, allocations: 209 kB / 333.5 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.6865, allocations: 45.69 kB / 333.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.6865, allocations: 56.38 kB / 333.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.6872, allocations: 0.7037 MB / 334.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.6872, allocations: 0 / 334.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.6872, allocations: 35.94 kB / 334.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.6873, allocations: 31.98 kB / 334.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.6876, allocations: 292.5 kB / 334.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.6891, allocations: 2.238 MB / 336.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.6894, allocations: 193 kB / 337.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.6895, allocations: 69.7 kB / 337.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/0.69, allocations: 0.6723 MB / 337.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6901, allocations: 38.56 kB / 337.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.745e-06/0.6901, allocations: 3.938 kB / 337.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006758/0.6907, allocations: 447 kB / 338.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.6908, allocations: 81.11 kB / 338.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.6909, allocations: 182.4 kB / 338.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.6909, allocations: 33.7 kB / 338.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.691, allocations: 284.5 kB / 338.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.6911, allocations: 245.7 kB / 339.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.6911, allocations: 97.89 kB / 339.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.6912, allocations: 350.7 kB / 339.6 MB, free: 152 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.6913, allocations: 37.31 kB / 339.6 MB, free: 116 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.6914, allocations: 209.4 kB / 339.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.6916, allocations: 325.5 kB / 340.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6916, allocations: 0 / 340.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002519/0.6918, allocations: 304.3 kB / 340.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6919, allocations: 15.89 kB / 340.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6919, allocations: 4 kB / 340.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6919, allocations: 8 kB / 340.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.692, allocations: 68.53 kB / 340.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.692, allocations: 23.86 kB / 340.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.6921, allocations: 55.52 kB / 340.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.6922, allocations: 12 kB / 340.6 MB, free: 14.97 MB / 298.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.0001093/0.6923, allocations: 144.5 kB / 340.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.6923, allocations: 19.98 kB / 340.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.6923, allocations: 25.97 kB / 340.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6924, allocations: 0 / 340.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6924, allocations: 7.984 kB / 340.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6924, allocations: 0 / 340.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.6926, allocations: 233.4 kB / 341 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6926, allocations: 8 kB / 341 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.6927, allocations: 35.91 kB / 341.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6927, allocations: 4 kB / 341.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.6927, allocations: 8 kB / 341.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6927, allocations: 0 / 341.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6927, allocations: 4 kB / 341.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.6929, allocations: 395.5 kB / 341.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.6929, allocations: 47.56 kB / 341.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.693, allocations: 0 / 341.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.6931, allocations: 11.98 kB / 341.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.6931, allocations: 27.95 kB / 341.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6931, allocations: 8 kB / 341.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.453e-05/0.6931, allocations: 29.7 kB / 341.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6931, allocations: 0 / 341.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.6935, allocations: 191.5 kB / 341.8 MB, free: 13.74 MB / 298.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.0003045/0.6938, allocations: 176.3 kB / 342 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.6941, allocations: 452.9 kB / 342.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.6941, allocations: 0 / 342.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.6943, allocations: 422.5 kB / 342.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.6948, allocations: 205.5 kB / 343 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.6959, allocations: 1.003 MB / 344 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.696, allocations: 164.8 kB / 344.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002876/0.6962, allocations: 225.9 kB / 344.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.6965, allocations: 209.2 kB / 344.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.6965, allocations: 0 / 344.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of Templates: time 0.01207/0.7086, allocations: 10.54 MB / 355.1 MB, free: 236 kB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.614037714898586]