Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.001237/0.001237, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001335/0.001335, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.051/1.051, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.0143/0.0143, allocations: 2 MB / 262.2 MB, free: 10.91 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 332.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.509e-05, allocations: 6.25 kB / 332.8 MB, free: 16.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.008246/0.008261, allocations: 9.547 MB / 342.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.0104, allocations: 3.141 MB / 345.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.01049, allocations: 0 / 345.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.01074, allocations: 107.2 kB / 345.6 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.01178, allocations: 0.6904 MB / 346.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.0119, allocations: 87.3 kB / 346.4 MB, free: 3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.01208, allocations: 329.4 kB / 346.7 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.01212, allocations: 16.92 kB / 346.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.0122, allocations: 143.6 kB / 346.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.01227, allocations: 91.75 kB / 347 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.01229, allocations: 8 kB / 347 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5499/0.5622, allocations: 21.5 MB / 368.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.5622, allocations: 31.8 kB / 368.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.5624, allocations: 87.78 kB / 368.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.5635, allocations: 326.9 kB / 368.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5635, allocations: 0 / 368.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5635, allocations: 0 / 368.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.5635, allocations: 0 / 368.9 MB, free: 14.55 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0005225/0.564, allocations: 0.5739 MB / 369.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5641, allocations: 8.031 kB / 369.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007884/0.5649, allocations: 428 kB / 369.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.565, allocations: 144.2 kB / 370 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.565, allocations: 12.88 kB / 370.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.565, allocations: 24.38 kB / 370.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.5653, allocations: 223.2 kB / 370.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5653, allocations: 0 / 370.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.5653, allocations: 8 kB / 370.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5653, allocations: 11.98 kB / 370.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.5654, allocations: 91.89 kB / 370.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.5663, allocations: 0.8359 MB / 371.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.5664, allocations: 90.08 kB / 371.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.5664, allocations: 55.41 kB / 371.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.5669, allocations: 0.6696 MB / 372.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.5669, allocations: 41.33 kB / 372.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.5669, allocations: 0 / 372.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002557/0.5672, allocations: 166.2 kB / 372.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.5672, allocations: 81.11 kB / 372.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.5673, allocations: 161.9 kB / 372.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.5673, allocations: 25.7 kB / 372.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.5674, allocations: 211.2 kB / 372.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.5675, allocations: 111 kB / 372.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.5675, allocations: 43.34 kB / 372.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5677, allocations: 0.4962 MB / 373.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.5677, allocations: 24.05 kB / 373.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.5678, allocations: 82.08 kB / 373.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.5679, allocations: 125.9 kB / 373.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5679, allocations: 4 kB / 373.6 MB, free: 9.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000175/0.5681, allocations: 157.6 kB / 373.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5681, allocations: 8.188 kB / 373.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.5681, allocations: 4 kB / 373.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5681, allocations: 0 / 373.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.5682, allocations: 8 kB / 373.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5682, allocations: 4 kB / 373.8 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.5682, allocations: 15.84 kB / 373.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.5682, allocations: 4 kB / 373.8 MB, free: 9.348 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001056/0.5683, allocations: 164.5 kB / 374 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.5684, allocations: 11.89 kB / 374 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.5684, allocations: 12.45 kB / 374 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5684, allocations: 11.94 kB / 374 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.5684, allocations: 0 / 374 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5684, allocations: 0 / 374 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.5687, allocations: 176.8 kB / 374.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5687, allocations: 0 / 374.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.5687, allocations: 4 kB / 374.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5687, allocations: 0 / 374.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.5687, allocations: 3.938 kB / 374.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5687, allocations: 4 kB / 374.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5687, allocations: 0 / 374.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.5689, allocations: 395 kB / 374.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.569, allocations: 23.83 kB / 374.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.569, allocations: 7.938 kB / 374.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.569, allocations: 0 / 374.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.5691, allocations: 4.234 kB / 374.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.5691, allocations: 4 kB / 374.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.4e-05/0.5691, allocations: 135.2 kB / 374.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5691, allocations: 0 / 374.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.5695, allocations: 83.72 kB / 374.8 MB, free: 8.266 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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000318/0.5698, allocations: 164.5 kB / 375 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.57, allocations: 192.3 kB / 375.2 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.57, allocations: 3.938 kB / 375.2 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.5701, allocations: 193 kB / 375.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.5706, allocations: 84.28 kB / 375.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/0.5715, allocations: 0.5176 MB / 376 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.207e-05/0.5716, allocations: 105.2 kB / 376.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.5717, allocations: 29.25 kB / 376.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.5719, allocations: 142.2 kB / 376.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5719, allocations: 4 kB / 376.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of Templates: time 0.007909/0.5798, allocations: 4.687 MB / 380.9 MB, free: 2.062 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9834249918349087]