Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.0009431/0.0009431, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009193/0.0009193, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9882/0.9882, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.007805/0.007805, allocations: 1.992 MB / 263 MB, free: 10.9 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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 333.6 MB, free: 1.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.625e-05, allocations: 6.312 kB / 333.6 MB, free: 1.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.00729/0.007306, allocations: 9.547 MB / 343.2 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.009145, allocations: 3.145 MB / 346.3 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.009212, allocations: 0 / 346.3 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.009428, allocations: 99.27 kB / 346.4 MB, free: 4.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.0106, allocations: 0.6904 MB / 347.1 MB, free: 4.121 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.01079, allocations: 95.23 kB / 347.2 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.01104, allocations: 329.4 kB / 347.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.01108, allocations: 12.94 kB / 347.5 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.01119, allocations: 143.6 kB / 347.7 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.01127, allocations: 87.7 kB / 347.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.01128, allocations: 4 kB / 347.7 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5278/0.5391, allocations: 21.51 MB / 369.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.5391, allocations: 35.75 kB / 369.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.5393, allocations: 87.78 kB / 369.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.54, allocations: 334.9 kB / 369.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.54, allocations: 0 / 369.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.54, allocations: 0 / 369.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.54, allocations: 0 / 369.7 MB, free: 15.53 MB / 346.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.0004191/0.5404, allocations: 0.5699 MB / 370.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.5405, allocations: 12.03 kB / 370.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.541, allocations: 428.1 kB / 370.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.776e-05/0.5411, allocations: 132.2 kB / 370.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5411, allocations: 20.88 kB / 370.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.5411, allocations: 20.38 kB / 370.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.5413, allocations: 223.2 kB / 371.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5413, allocations: 0 / 371.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.5414, allocations: 8 kB / 371.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.5414, allocations: 11.98 kB / 371.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.5414, allocations: 91.89 kB / 371.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.5421, allocations: 0.8472 MB / 372 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.5422, allocations: 93.95 kB / 372.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.5422, allocations: 51.45 kB / 372.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.5426, allocations: 0.6701 MB / 372.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.5426, allocations: 37.39 kB / 372.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.011e-06/0.5426, allocations: 0 / 372.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002005/0.5428, allocations: 162.3 kB / 373 MB, free: 12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.5428, allocations: 81.17 kB / 373.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.5429, allocations: 165.9 kB / 373.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.5429, allocations: 25.7 kB / 373.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.543, allocations: 207.2 kB / 373.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.543, allocations: 111 kB / 373.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.5431, allocations: 47.33 kB / 373.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5432, allocations: 0.4923 MB / 374.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.5432, allocations: 19.98 kB / 374.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.5433, allocations: 89.89 kB / 374.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.5e-05/0.5433, allocations: 129.9 kB / 374.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.5433, allocations: 0 / 374.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000127/0.5435, allocations: 161.6 kB / 374.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5435, allocations: 4 kB / 374.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5435, allocations: 0 / 374.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.5435, allocations: 4 kB / 374.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.5435, allocations: 11.98 kB / 374.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.5435, allocations: 4.188 kB / 374.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.5436, allocations: 23.78 kB / 374.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.5436, allocations: 4 kB / 374.6 MB, free: 10.32 MB / 346.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 7.128e-05/0.5437, allocations: 156.6 kB / 374.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.5437, allocations: 15.89 kB / 374.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.5437, allocations: 8.656 kB / 374.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5437, allocations: 7.984 kB / 374.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.5437, allocations: 0 / 374.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5437, allocations: 7.984 kB / 374.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.5439, allocations: 157.1 kB / 375 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5439, allocations: 7.984 kB / 375 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-06/0.5439, allocations: 4 kB / 375 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.5439, allocations: 4 kB / 375 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.5439, allocations: 3.938 kB / 375 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.5439, allocations: 0 / 375 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5439, allocations: 0 / 375 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.5441, allocations: 402.9 kB / 375.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.5441, allocations: 15.84 kB / 375.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.5441, allocations: 7.938 kB / 375.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.469e-05/0.5442, allocations: 0 / 375.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.5442, allocations: 11.92 kB / 375.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.5442, allocations: 4 kB / 375.4 MB, free: 9.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.982e-05/0.5442, allocations: 127.2 kB / 375.5 MB, free: 9.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5442, allocations: 0 / 375.5 MB, free: 9.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.5444, allocations: 83.72 kB / 375.6 MB, free: 9.254 MB / 346.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.0002555/0.5447, allocations: 167.8 kB / 375.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.5449, allocations: 196.5 kB / 376 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.5449, allocations: 4.062 kB / 376 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.545, allocations: 177.1 kB / 376.1 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.5454, allocations: 88.03 kB / 376.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.546, allocations: 0.506 MB / 376.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.5461, allocations: 105.2 kB / 376.8 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.5462, allocations: 25.14 kB / 376.9 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.5463, allocations: 146.1 kB / 377 MB, free: 7.766 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5463, allocations: 0 / 377 MB, free: 7.766 MB / 346.7 MB Notification: Performance of Templates: time 0.006172/0.5525, allocations: 4.79 MB / 381.8 MB, free: 2.969 MB / 346.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.06067266408354]