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.001838/0.001838, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001654/0.001654, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.98 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.01381/0.01381, allocations: 2.801 MB / 315.2 MB, free: 280 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.002171/0.002171, allocations: 67.89 kB / 439.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.102, allocations: 54.18 MB / 493.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02308/0.1251, allocations: 19.4 MB / 0.5008 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2298/0.3549, allocations: 6.078 MB / 0.5067 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.3551, allocations: 0.6562 kB / 0.5067 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.3557, allocations: 257 kB / 0.5069 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.3586, allocations: 1.208 MB / 0.5081 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.3588, allocations: 85.69 kB / 0.5082 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.3592, allocations: 310 kB / 0.5085 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.3593, allocations: 13.09 kB / 0.5085 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3594, allocations: 90.44 kB / 0.5086 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3595, allocations: 122.5 kB / 0.5087 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3596, allocations: 8.281 kB / 0.5087 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.349/0.7086, allocations: 38.67 MB / 0.5465 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.7086, allocations: 31.75 kB / 0.5465 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.7091, allocations: 135.4 kB / 0.5467 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.712, allocations: 0.5113 MB / 0.5472 GB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.712, allocations: 0 / 0.5472 GB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.712, allocations: 0 / 0.5472 GB, free: 376 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.712, allocations: 0 / 0.5472 GB, free: 376 kB / 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.00083/0.7128, allocations: 0.4994 MB / 0.5476 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.7129, allocations: 8.031 kB / 0.5476 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/0.7137, allocations: 210.8 kB / 0.5478 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.7139, allocations: 130.2 kB / 0.548 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.7139, allocations: 19.81 kB / 0.548 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.714, allocations: 27 kB / 0.548 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.7145, allocations: 346.1 kB / 0.5483 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.7145, allocations: 3.984 kB / 0.5484 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.7145, allocations: 10.81 kB / 0.5484 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.7145, allocations: 8 kB / 0.5484 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.7149, allocations: 274.9 kB / 0.5486 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.7181, allocations: 2.078 MB / 0.5507 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.7183, allocations: 103.4 kB / 0.5508 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.7184, allocations: 73.23 kB / 0.5508 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/0.7191, allocations: 0.5122 MB / 0.5513 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.7192, allocations: 46.48 kB / 0.5514 GB, free: 12.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.7192, allocations: 0 / 0.5514 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004518/0.7196, allocations: 182.4 kB / 0.5515 GB, free: 12.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.7197, allocations: 81.05 kB / 0.5516 GB, free: 11.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.7198, allocations: 112.3 kB / 0.5517 GB, free: 11.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.7199, allocations: 25.7 kB / 0.5518 GB, free: 11.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.72, allocations: 159.6 kB / 0.5519 GB, free: 11.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.7201, allocations: 108.1 kB / 0.552 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.7201, allocations: 40.34 kB / 0.5521 GB, free: 11.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7203, allocations: 334.4 kB / 0.5524 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.7204, allocations: 36.34 kB / 0.5524 GB, free: 11.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.7205, allocations: 81.88 kB / 0.5525 GB, free: 11.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.7207, allocations: 143.4 kB / 0.5526 GB, free: 11.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7207, allocations: 0 / 0.5526 GB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002765/0.721, allocations: 157.8 kB / 0.5528 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.721, allocations: 4 kB / 0.5528 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.721, allocations: 4 kB / 0.5528 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.721, allocations: 192 / 0.5528 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.7211, allocations: 12 kB / 0.5528 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.7211, allocations: 4 kB / 0.5528 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.7212, allocations: 23.22 kB / 0.5528 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.7212, allocations: 4 kB / 0.5528 GB, free: 10.85 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.0001378/0.7213, allocations: 129.8 kB / 0.5529 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.7214, allocations: 11.94 kB / 0.553 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.7214, allocations: 15.53 kB / 0.553 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7214, allocations: 0 / 0.553 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.7215, allocations: 0 / 0.553 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.7215, allocations: 8 kB / 0.553 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.7218, allocations: 257 kB / 0.5532 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.7218, allocations: 4 kB / 0.5532 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.7219, allocations: 0 / 0.5532 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.7219, allocations: 4 kB / 0.5532 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.7219, allocations: 4 kB / 0.5532 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7219, allocations: 0 / 0.5532 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7219, allocations: 0 / 0.5532 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.7236, allocations: 314.6 kB / 0.5535 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.7237, allocations: 19.83 kB / 0.5536 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.7237, allocations: 4 kB / 0.5536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.7238, allocations: 4 kB / 0.5536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.7238, allocations: 4 kB / 0.5536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.7238, allocations: 0 / 0.5536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.7238, allocations: 83.27 kB / 0.5536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7238, allocations: 0 / 0.5536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004566/0.7243, allocations: 91.66 kB / 0.5537 GB, free: 9.895 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.0004313/0.7247, allocations: 187 kB / 0.5539 GB, free: 9.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.7251, allocations: 209.6 kB / 0.5541 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7251, allocations: 0 / 0.5541 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.7253, allocations: 185.8 kB / 0.5543 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.726, allocations: 91.61 kB / 0.5544 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008572/0.7268, allocations: 0.5156 MB / 0.5549 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.7273, allocations: 0.8033 MB / 0.5557 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.7274, allocations: 25.12 kB / 0.5557 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.7275, allocations: 19.44 kB / 0.5557 GB, free: 7.805 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.7275, allocations: 4 kB / 0.5557 GB, free: 7.801 MB / 398.1 MB Notification: Performance of Templates: time 0.0111/0.7386, allocations: 5.199 MB / 0.5608 GB, free: 2.66 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.6078334781341255] Failed to read output from testmodel.py, exit status != 0: 0.746686700033024 0.7629265869999999 0.047750403000000004 Calling exit ...