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.001934/0.001934, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00258/0.00258, allocations: 211.9 kB / 22.99 MB, free: 4.945 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.664/1.664, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.01254/0.01254, allocations: 2.808 MB / 316 MB, free: 96 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.002087/0.002087, allocations: 67.91 kB / 439.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1108, allocations: 54.18 MB / 494.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02186/0.1327, allocations: 17.35 MB / 0.4994 GB, free: 5.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2396/0.3723, allocations: 5.263 MB / 0.5046 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.3726, allocations: 3.969 kB / 0.5046 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007144/0.3733, allocations: 208.2 kB / 0.5048 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.3767, allocations: 1.169 MB / 0.5059 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.3769, allocations: 84.58 kB / 0.506 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.3773, allocations: 310.4 kB / 0.5063 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.3774, allocations: 15.39 kB / 0.5063 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3775, allocations: 99.69 kB / 0.5064 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.3777, allocations: 102.4 kB / 0.5065 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3777, allocations: 6.969 kB / 0.5065 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5855/0.9632, allocations: 39.15 MB / 0.5447 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.9633, allocations: 34.5 kB / 0.5448 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.9637, allocations: 108 kB / 0.5449 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.9656, allocations: 0.516 MB / 0.5454 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9656, allocations: 0 / 0.5454 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.9656, allocations: 0 / 0.5454 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.9656, allocations: 0 / 0.5454 GB, free: 1.199 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.0007013/0.9663, allocations: 0.498 MB / 0.5459 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.9664, allocations: 8.031 kB / 0.5459 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008478/0.9672, allocations: 206.4 kB / 0.5461 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.9674, allocations: 131.5 kB / 0.5462 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.9674, allocations: 27.25 kB / 0.5462 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.9674, allocations: 21.75 kB / 0.5462 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.9679, allocations: 342.7 kB / 0.5466 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.9679, allocations: 4 kB / 0.5466 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.9679, allocations: 9.125 kB / 0.5466 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.968, allocations: 11.19 kB / 0.5466 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.9683, allocations: 275.8 kB / 0.5469 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.9695, allocations: 0.7897 MB / 0.5476 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.9696, allocations: 93.53 kB / 0.5477 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.9697, allocations: 77.83 kB / 0.5478 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/0.9703, allocations: 0.5006 MB / 0.5483 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.9703, allocations: 32.5 kB / 0.5483 GB, free: 14.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.9703, allocations: 4 kB / 0.5483 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003845/0.9707, allocations: 186.8 kB / 0.5485 GB, free: 14.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.9708, allocations: 79.73 kB / 0.5486 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.9709, allocations: 113 kB / 0.5487 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.9709, allocations: 29.64 kB / 0.5487 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.971, allocations: 163.4 kB / 0.5489 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.9711, allocations: 110.3 kB / 0.549 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.9712, allocations: 32.89 kB / 0.549 GB, free: 14.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9713, allocations: 329.3 kB / 0.5493 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.9714, allocations: 37.98 kB / 0.5494 GB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.9715, allocations: 78.7 kB / 0.5494 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.9717, allocations: 139.4 kB / 0.5496 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9717, allocations: 4 kB / 0.5496 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000245/0.9719, allocations: 155.7 kB / 0.5497 GB, free: 13.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.9719, allocations: 4 kB / 0.5497 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9719, allocations: 192 / 0.5497 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.972, allocations: 11.98 kB / 0.5497 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.972, allocations: 10.06 kB / 0.5497 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.972, allocations: 4.078 kB / 0.5497 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.9721, allocations: 18.91 kB / 0.5498 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.9721, allocations: 7.984 kB / 0.5498 GB, free: 13.59 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.0001435/0.9723, allocations: 134.3 kB / 0.5499 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.9723, allocations: 15.84 kB / 0.5499 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.9724, allocations: 16.08 kB / 0.5499 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.9724, allocations: 0 / 0.5499 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9724, allocations: 3.984 kB / 0.5499 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9724, allocations: 4 kB / 0.5499 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.9727, allocations: 197.3 kB / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9727, allocations: 0 / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.9727, allocations: 6.062 kB / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9727, allocations: 0 / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.9727, allocations: 4 kB / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.9727, allocations: 0 / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9727, allocations: 0 / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.9744, allocations: 324 kB / 0.5504 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.9744, allocations: 11.89 kB / 0.5505 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.9744, allocations: 4 kB / 0.5505 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.9745, allocations: 4.812 kB / 0.5505 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.9746, allocations: 5.562 kB / 0.5505 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.9746, allocations: 0 / 0.5505 GB, free: 12.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.71e-05/0.9746, allocations: 85.33 kB / 0.5505 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9746, allocations: 0 / 0.5505 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.9751, allocations: 83.09 kB / 0.5506 GB, free: 12.75 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.0004636/0.9756, allocations: 201.5 kB / 0.5508 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.9759, allocations: 211.8 kB / 0.551 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9759, allocations: 0 / 0.551 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.9761, allocations: 178.5 kB / 0.5512 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.9768, allocations: 88.14 kB / 0.5513 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.9777, allocations: 0.5643 MB / 0.5518 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.9779, allocations: 191 kB / 0.552 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.978, allocations: 23.44 kB / 0.552 GB, free: 11.37 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.978, allocations: 3.938 kB / 0.552 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Templates: time 0.00719/0.9852, allocations: 3.913 MB / 0.5559 GB, free: 7.512 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: 8.493534713983536] Failed to read output from testmodel.py, exit status != 0: 0.9940454890020192 1.012930527 0.042737102000000006 Calling exit ...