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.001366/0.001366, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001595/0.001595, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.809 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.01467/0.01467, allocations: 2.817 MB / 315.2 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.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.002305/0.002305, allocations: 63.91 kB / 439.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1136, allocations: 54.18 MB / 493.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02417/0.1378, allocations: 17.35 MB / 0.4987 GB, free: 5.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2392/0.377, allocations: 5.265 MB / 0.5038 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.3772, allocations: 0 / 0.5038 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006562/0.3779, allocations: 204.2 kB / 0.504 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.3811, allocations: 1.17 MB / 0.5052 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.3815, allocations: 93.8 kB / 0.5053 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.3819, allocations: 308.1 kB / 0.5056 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.281e-05/0.382, allocations: 13.28 kB / 0.5056 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.3821, allocations: 94.53 kB / 0.5057 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3823, allocations: 107 kB / 0.5058 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3823, allocations: 7.969 kB / 0.5058 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4148/0.797, allocations: 38.67 MB / 0.5435 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.7971, allocations: 30.08 kB / 0.5436 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.7974, allocations: 111.2 kB / 0.5437 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.7992, allocations: 0.5047 MB / 0.5442 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.7992, allocations: 7.281 kB / 0.5442 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7992, allocations: 0 / 0.5442 GB, free: 1.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.7992, allocations: 0 / 0.5442 GB, free: 1.617 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.0006882/0.7999, allocations: 0.4919 MB / 0.5447 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8, allocations: 8.031 kB / 0.5447 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007665/0.8007, allocations: 210.5 kB / 0.5449 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.8009, allocations: 132 kB / 0.545 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.8009, allocations: 14.19 kB / 0.545 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.8009, allocations: 26.5 kB / 0.545 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.8014, allocations: 345.4 kB / 0.5454 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8014, allocations: 0 / 0.5454 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.8014, allocations: 10.31 kB / 0.5454 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.8014, allocations: 10.48 kB / 0.5454 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.8018, allocations: 282.7 kB / 0.5456 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.8029, allocations: 0.7937 MB / 0.5464 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.8031, allocations: 93.03 kB / 0.5465 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.8032, allocations: 79.83 kB / 0.5466 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/0.8038, allocations: 0.5036 MB / 0.5471 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.8038, allocations: 36.12 kB / 0.5471 GB, free: 15.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.8038, allocations: 0 / 0.5471 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003847/0.8042, allocations: 188.4 kB / 0.5473 GB, free: 15.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.8043, allocations: 82.83 kB / 0.5474 GB, free: 15.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.8044, allocations: 107.7 kB / 0.5475 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.8044, allocations: 29.7 kB / 0.5475 GB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.8045, allocations: 161.5 kB / 0.5477 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.8046, allocations: 106 kB / 0.5478 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.8047, allocations: 39.81 kB / 0.5478 GB, free: 14.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8048, allocations: 327.9 kB / 0.5481 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.8049, allocations: 42.98 kB / 0.5482 GB, free: 14.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.805, allocations: 83.88 kB / 0.5482 GB, free: 14.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.8052, allocations: 134.6 kB / 0.5484 GB, free: 14.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8052, allocations: 0 / 0.5484 GB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002474/0.8054, allocations: 159.3 kB / 0.5485 GB, free: 14.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.8054, allocations: 8.188 kB / 0.5485 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.8054, allocations: 4 kB / 0.5485 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.8055, allocations: 4 kB / 0.5485 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.8055, allocations: 8 kB / 0.5485 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.8055, allocations: 0 / 0.5485 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.8056, allocations: 19.03 kB / 0.5486 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.8056, allocations: 8 kB / 0.5486 GB, free: 14.05 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.000147/0.8058, allocations: 135.8 kB / 0.5487 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.8058, allocations: 15.89 kB / 0.5487 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.8059, allocations: 9.344 kB / 0.5487 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.8059, allocations: 4 kB / 0.5487 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8059, allocations: 4 kB / 0.5487 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.8059, allocations: 0 / 0.5487 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.8062, allocations: 190.3 kB / 0.5489 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8062, allocations: 192 / 0.5489 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.8062, allocations: 4 kB / 0.5489 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8062, allocations: 0 / 0.5489 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.8062, allocations: 3.984 kB / 0.5489 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8062, allocations: 3.984 kB / 0.5489 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8062, allocations: 4 kB / 0.5489 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.8077, allocations: 317.1 kB / 0.5492 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.8077, allocations: 11.89 kB / 0.5492 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.8077, allocations: 7.625 kB / 0.5492 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8078, allocations: 3.938 kB / 0.5492 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.8078, allocations: 11.98 kB / 0.5493 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.8078, allocations: 4 kB / 0.5493 GB, free: 13.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.8079, allocations: 79.28 kB / 0.5493 GB, free: 13.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.8079, allocations: 0 / 0.5493 GB, free: 13.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.8083, allocations: 83.28 kB / 0.5494 GB, free: 13.22 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.0003917/0.8087, allocations: 188.4 kB / 0.5496 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.809, allocations: 220.1 kB / 0.5498 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.809, allocations: 0 / 0.5498 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.8092, allocations: 181.1 kB / 0.55 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.8099, allocations: 85.61 kB / 0.5501 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000816/0.8107, allocations: 0.515 MB / 0.5506 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.8109, allocations: 195 kB / 0.5507 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.811, allocations: 25.14 kB / 0.5508 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.8111, allocations: 23.44 kB / 0.5508 GB, free: 11.87 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.8111, allocations: 0 / 0.5508 GB, free: 11.87 MB / 398.1 MB Notification: Performance of Templates: time 0.01119/0.8223, allocations: 5.206 MB / 0.5559 GB, free: 6.75 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: 5.732707094401121] Failed to read output from testmodel.py, exit status != 0: 0.8310526181012392 0.848968191 0.045621169 Calling exit ...