Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001521/0.001521, allocations: 207.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01375/0.01375, allocations: 2.822 MB / 315.2 MB, free: 52 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 439.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09492, allocations: 54.18 MB / 493.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02293/0.1178, allocations: 17.34 MB / 0.4987 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2172/0.335, allocations: 5.268 MB / 0.5038 GB, free: 4.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.3352, allocations: 1.5 kB / 0.5038 GB, free: 4.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.3358, allocations: 207.1 kB / 0.504 GB, free: 4.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.3386, allocations: 1.171 MB / 0.5052 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.3389, allocations: 86.69 kB / 0.5053 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.3392, allocations: 302.7 kB / 0.5056 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.971e-05/0.3392, allocations: 13.69 kB / 0.5056 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.673e-05/0.3393, allocations: 104.3 kB / 0.5057 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3395, allocations: 104.5 kB / 0.5058 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3395, allocations: 8.125 kB / 0.5058 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6012/0.9407, allocations: 39.16 MB / 0.544 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.9408, allocations: 32.19 kB / 0.544 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.9411, allocations: 109.7 kB / 0.5442 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.9428, allocations: 0.5179 MB / 0.5447 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9428, allocations: 0 / 0.5447 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.9428, allocations: 4 kB / 0.5447 GB, free: 1.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.9428, allocations: 0 / 0.5447 GB, free: 1.152 MB / 382.1 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.0006516/0.9434, allocations: 0.4913 MB / 0.5451 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9435, allocations: 11.97 kB / 0.5452 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007588/0.9442, allocations: 210.6 kB / 0.5454 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.9444, allocations: 132.1 kB / 0.5455 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.9444, allocations: 16.19 kB / 0.5455 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.9444, allocations: 22.88 kB / 0.5455 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.9449, allocations: 348 kB / 0.5458 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.9449, allocations: 0 / 0.5458 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.9449, allocations: 7.062 kB / 0.5459 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.9449, allocations: 14.25 kB / 0.5459 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.9453, allocations: 279.7 kB / 0.5461 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.9464, allocations: 0.783 MB / 0.5469 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.9466, allocations: 99.2 kB / 0.547 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.9467, allocations: 80.19 kB / 0.5471 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.9473, allocations: 0.5006 MB / 0.5476 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.9473, allocations: 38.06 kB / 0.5476 GB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.9473, allocations: 0 / 0.5476 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003755/0.9477, allocations: 181.1 kB / 0.5478 GB, free: 14.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.9478, allocations: 80.27 kB / 0.5478 GB, free: 14.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.9479, allocations: 117.2 kB / 0.548 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.9479, allocations: 25.7 kB / 0.548 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.948, allocations: 163.2 kB / 0.5481 GB, free: 14.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.9481, allocations: 111.9 kB / 0.5482 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.9481, allocations: 36.08 kB / 0.5483 GB, free: 14.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9483, allocations: 326.1 kB / 0.5486 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.9484, allocations: 32.25 kB / 0.5486 GB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.9485, allocations: 80.38 kB / 0.5487 GB, free: 13.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.9486, allocations: 145.1 kB / 0.5488 GB, free: 13.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9486, allocations: 0 / 0.5488 GB, free: 13.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002411/0.9489, allocations: 157.7 kB / 0.549 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.9489, allocations: 4 kB / 0.549 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9489, allocations: 4 kB / 0.549 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.9489, allocations: 0 / 0.549 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.949, allocations: 11.98 kB / 0.549 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.949, allocations: 4.188 kB / 0.549 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.9491, allocations: 19.84 kB / 0.549 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.9491, allocations: 7.062 kB / 0.549 GB, free: 13.54 MB / 398.1 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.0001366/0.9492, allocations: 133.9 kB / 0.5492 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.9493, allocations: 11.91 kB / 0.5492 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.9493, allocations: 15.16 kB / 0.5492 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.9493, allocations: 0 / 0.5492 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.9493, allocations: 0 / 0.5492 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.9493, allocations: 7.938 kB / 0.5492 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.9496, allocations: 193.7 kB / 0.5494 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.9496, allocations: 0 / 0.5494 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.9496, allocations: 8 kB / 0.5494 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9496, allocations: 0 / 0.5494 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.9496, allocations: 8 kB / 0.5494 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9497, allocations: 0 / 0.5494 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9497, allocations: 0 / 0.5494 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.9509, allocations: 318.9 kB / 0.5497 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.951, allocations: 18.5 kB / 0.5497 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.951, allocations: 4 kB / 0.5497 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.9511, allocations: 0 / 0.5497 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.9511, allocations: 4 kB / 0.5497 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.9511, allocations: 0 / 0.5497 GB, free: 12.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.9512, allocations: 89.02 kB / 0.5498 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9512, allocations: 0 / 0.5498 GB, free: 12.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004553/0.9516, allocations: 83.41 kB / 0.5499 GB, free: 12.71 MB / 398.1 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.0004596/0.9521, allocations: 202.9 kB / 0.5501 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.9524, allocations: 209.3 kB / 0.5503 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9524, allocations: 0 / 0.5503 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.9526, allocations: 181.6 kB / 0.5505 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.9533, allocations: 94.72 kB / 0.5505 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.9541, allocations: 0.5084 MB / 0.551 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.9543, allocations: 199 kB / 0.5512 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.9544, allocations: 21.12 kB / 0.5513 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.9545, allocations: 23.44 kB / 0.5513 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.9545, allocations: 7.844 kB / 0.5513 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01102/0.9655, allocations: 5.213 MB / 0.5564 GB, free: 6.207 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.699960935860872] Failed to read output from testmodel.py, exit status != 0: 0.9729439485818148 0.991600499 0.04543479 Calling exit ...