Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.001419/0.001419, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001582/0.001582, allocations: 222.3 kB / 23 MB, free: 4.914 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.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.01277/0.01277, allocations: 2.796 MB / 316 MB, free: 120 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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.002063/0.002063, allocations: 63.91 kB / 439.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09491, allocations: 54.19 MB / 494.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.0206/0.1155, allocations: 17.34 MB / 0.4994 GB, free: 5.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2158/0.3314, allocations: 5.26 MB / 0.5046 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.3316, allocations: 1.859 kB / 0.5046 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.3322, allocations: 205.9 kB / 0.5048 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.3354, allocations: 1.172 MB / 0.5059 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3357, allocations: 86.81 kB / 0.506 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.3362, allocations: 302.8 kB / 0.5063 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.114e-05/0.3362, allocations: 15.59 kB / 0.5063 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3364, allocations: 100.2 kB / 0.5064 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.3365, allocations: 111.2 kB / 0.5065 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3366, allocations: 8.906 kB / 0.5065 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6718/1.008, allocations: 39.16 MB / 0.5447 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/1.008, allocations: 24.47 kB / 0.5448 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003888/1.009, allocations: 111 kB / 0.5449 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00254/1.011, allocations: 0.517 MB / 0.5454 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/1.011, allocations: 0 / 0.5454 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/1.011, allocations: 7.938 kB / 0.5454 GB, free: 1.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/1.011, allocations: 0 / 0.5454 GB, free: 1.215 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.0007557/1.012, allocations: 499.2 kB / 0.5459 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.012, allocations: 8.031 kB / 0.5459 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008228/1.013, allocations: 209.3 kB / 0.5461 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.013, allocations: 131.5 kB / 0.5462 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/1.013, allocations: 19.56 kB / 0.5462 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/1.013, allocations: 23.06 kB / 0.5462 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/1.014, allocations: 349.3 kB / 0.5466 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.014, allocations: 0 / 0.5466 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/1.014, allocations: 14.38 kB / 0.5466 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/1.014, allocations: 13.02 kB / 0.5466 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/1.014, allocations: 277 kB / 0.5469 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/1.015, allocations: 0.7964 MB / 0.5476 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/1.016, allocations: 94.41 kB / 0.5477 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/1.016, allocations: 85.47 kB / 0.5478 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/1.016, allocations: 0.5016 MB / 0.5483 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.016, allocations: 30.56 kB / 0.5483 GB, free: 14.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/1.016, allocations: 0 / 0.5483 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004124/1.017, allocations: 185.2 kB / 0.5485 GB, free: 14.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/1.017, allocations: 80.39 kB / 0.5486 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/1.017, allocations: 113.1 kB / 0.5487 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.017, allocations: 33.14 kB / 0.5487 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/1.017, allocations: 158.3 kB / 0.5489 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/1.017, allocations: 101.9 kB / 0.549 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/1.017, allocations: 43.72 kB / 0.549 GB, free: 14.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/1.017, allocations: 327.3 kB / 0.5493 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.658e-05/1.017, allocations: 33.11 kB / 0.5494 GB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/1.018, allocations: 79.02 kB / 0.5494 GB, free: 13.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/1.018, allocations: 143 kB / 0.5496 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.018, allocations: 0 / 0.5496 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000233/1.018, allocations: 156.2 kB / 0.5497 GB, free: 13.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.018, allocations: 11.91 kB / 0.5497 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.018, allocations: 4.016 kB / 0.5497 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.018, allocations: 4.188 kB / 0.5497 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/1.018, allocations: 11.98 kB / 0.5497 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.018, allocations: 3.984 kB / 0.5498 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/1.018, allocations: 20.03 kB / 0.5498 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/1.018, allocations: 10.25 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.00014/1.018, allocations: 143 kB / 0.5499 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/1.018, allocations: 11.91 kB / 0.5499 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/1.018, allocations: 8.156 kB / 0.5499 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.018, allocations: 7.938 kB / 0.5499 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.018, allocations: 0 / 0.5499 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.018, allocations: 3.984 kB / 0.5499 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/1.019, allocations: 192.7 kB / 0.5501 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.019, allocations: 0 / 0.5501 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/1.019, allocations: 8 kB / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.019, allocations: 0 / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/1.019, allocations: 3.375 kB / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.019, allocations: 0 / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.019, allocations: 4 kB / 0.5501 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/1.021, allocations: 316.3 kB / 0.5504 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/1.021, allocations: 19.69 kB / 0.5505 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/1.021, allocations: 0 / 0.5505 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/1.021, allocations: 4 kB / 0.5505 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/1.021, allocations: 4 kB / 0.5505 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.021, allocations: 4 kB / 0.5505 GB, free: 12.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.718e-05/1.021, allocations: 90.95 kB / 0.5506 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/1.021, allocations: 0 / 0.5506 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005248/1.021, allocations: 83.72 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.0004861/1.022, allocations: 189.3 kB / 0.5508 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000374/1.022, allocations: 207.8 kB / 0.551 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.022, allocations: 0 / 0.551 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/1.022, allocations: 187.6 kB / 0.5512 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.024, allocations: 94.45 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.001029/1.025, allocations: 0.5586 MB / 0.5518 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/1.025, allocations: 197.9 kB / 0.552 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/1.025, allocations: 23.44 kB / 0.552 GB, free: 11.37 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/1.025, allocations: 0 / 0.552 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Templates: time 0.007968/1.033, allocations: 3.901 MB / 0.5559 GB, free: 7.527 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.385591567028314] Failed to read output from testmodel.py, exit status != 0: 1.0416521802544594 1.061619521 0.04654318 Calling exit ...