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.001374/0.001374, 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.001536/0.001536, allocations: 216.4 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.01407/0.01407, allocations: 2.795 MB / 316 MB, free: 112 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.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: 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.002059/0.002059, allocations: 67.91 kB / 439.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1295, allocations: 54.18 MB / 494.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02432/0.1538, allocations: 17.34 MB / 0.4994 GB, free: 5.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3176/0.4714, allocations: 5.259 MB / 0.5046 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003244/0.4718, allocations: 4.328 kB / 0.5046 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007171/0.4725, allocations: 208.2 kB / 0.5048 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.4763, allocations: 1.165 MB / 0.5059 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.4766, allocations: 90.44 kB / 0.506 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004887/0.4771, allocations: 307.3 kB / 0.5063 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.4772, allocations: 13.89 kB / 0.5063 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.4773, allocations: 98.31 kB / 0.5064 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.4775, allocations: 101.6 kB / 0.5065 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.4775, allocations: 9.484 kB / 0.5065 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3532/0.8308, allocations: 38.68 MB / 0.5443 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.8309, allocations: 35.27 kB / 0.5443 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.8313, allocations: 102.2 kB / 0.5444 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.8338, allocations: 0.5101 MB / 0.5449 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8338, allocations: 0 / 0.5449 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8338, allocations: 0 / 0.5449 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.8338, allocations: 7.938 kB / 0.5449 GB, free: 1.582 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.0007603/0.8346, allocations: 0.4957 MB / 0.5454 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.8346, allocations: 8.031 kB / 0.5454 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000846/0.8355, allocations: 209.6 kB / 0.5456 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.8356, allocations: 127.5 kB / 0.5457 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.8356, allocations: 20.19 kB / 0.5457 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.8357, allocations: 22.81 kB / 0.5458 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.8362, allocations: 341.5 kB / 0.5461 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.8362, allocations: 0 / 0.5461 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.8362, allocations: 13.5 kB / 0.5461 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.8362, allocations: 18.02 kB / 0.5461 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.8366, allocations: 279.7 kB / 0.5464 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.839, allocations: 0.7785 MB / 0.5471 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.8392, allocations: 103.5 kB / 0.5472 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.8393, allocations: 76.14 kB / 0.5473 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/0.84, allocations: 0.5137 MB / 0.5478 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.8401, allocations: 30.56 kB / 0.5479 GB, free: 15.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.8401, allocations: 0 / 0.5479 GB, free: 15.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004761/0.8406, allocations: 191.7 kB / 0.548 GB, free: 15.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.8406, allocations: 77.11 kB / 0.5481 GB, free: 15.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.8408, allocations: 111.3 kB / 0.5482 GB, free: 14.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.8408, allocations: 25.7 kB / 0.5482 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.8409, allocations: 168.9 kB / 0.5484 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.8411, allocations: 110.1 kB / 0.5485 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.8411, allocations: 36.62 kB / 0.5485 GB, free: 14.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.8413, allocations: 326.5 kB / 0.5488 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.8414, allocations: 31.67 kB / 0.5489 GB, free: 14.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.8415, allocations: 84.23 kB / 0.549 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.8417, allocations: 133.7 kB / 0.5491 GB, free: 14.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8417, allocations: 0 / 0.5491 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002533/0.8419, allocations: 159.7 kB / 0.5492 GB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.842, allocations: 8 kB / 0.5492 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.842, allocations: 3.984 kB / 0.5493 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.842, allocations: 4 kB / 0.5493 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.8421, allocations: 11.47 kB / 0.5493 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.8421, allocations: 4 kB / 0.5493 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.8422, allocations: 19.47 kB / 0.5493 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.8422, allocations: 4 kB / 0.5493 GB, free: 14.02 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.0001614/0.8424, allocations: 148.6 kB / 0.5494 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.8424, allocations: 11.91 kB / 0.5494 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.8425, allocations: 15.77 kB / 0.5495 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8425, allocations: 0 / 0.5495 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.8425, allocations: 4 kB / 0.5495 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8425, allocations: 0 / 0.5495 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.8428, allocations: 186 kB / 0.5496 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8428, allocations: 0 / 0.5496 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.8428, allocations: 7 kB / 0.5496 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8428, allocations: 0 / 0.5496 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.8428, allocations: 2.875 kB / 0.5497 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.8428, allocations: 8 kB / 0.5497 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8428, allocations: 0 / 0.5497 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.8455, allocations: 316.2 kB / 0.55 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.8455, allocations: 15.17 kB / 0.55 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.8455, allocations: 0 / 0.55 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.8456, allocations: 4 kB / 0.55 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.8457, allocations: 3.5 kB / 0.55 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.8457, allocations: 4 kB / 0.55 GB, free: 13.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.8457, allocations: 87.2 kB / 0.5501 GB, free: 13.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8457, allocations: 0 / 0.5501 GB, free: 13.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005223/0.8463, allocations: 83.28 kB / 0.5501 GB, free: 13.18 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.0005323/0.8468, allocations: 193.9 kB / 0.5503 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.8472, allocations: 219.2 kB / 0.5505 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8472, allocations: 0 / 0.5505 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.8474, allocations: 178.2 kB / 0.5507 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.8481, allocations: 82.61 kB / 0.5508 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/0.849, allocations: 0.5689 MB / 0.5513 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.8493, allocations: 191 kB / 0.5515 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.8493, allocations: 23.44 kB / 0.5516 GB, free: 11.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.8493, allocations: 0 / 0.5516 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Templates: time 0.00784/0.8572, allocations: 3.884 MB / 0.5553 GB, free: 7.977 MB / 398.1 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.751593643799424] Failed to read output from testmodel.py, exit status != 0: 0.8662082371301949 0.88421761 0.047022729000000006 Calling exit ...