Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001336/0.001336, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001523/0.001523, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.01255/0.01255, allocations: 2.8 MB / 316 MB, free: 324 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.002051/0.002051, allocations: 75.88 kB / 440 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09374, allocations: 54.17 MB / 494.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02198/0.1157, allocations: 19.39 MB / 0.5015 GB, free: 3.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1964/0.3121, allocations: 6.081 MB / 0.5074 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.3123, allocations: 1.344 kB / 0.5074 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005872/0.3129, allocations: 262.2 kB / 0.5077 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.3156, allocations: 1.201 MB / 0.5089 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.3158, allocations: 90.66 kB / 0.509 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.3161, allocations: 306.6 kB / 0.5092 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.228e-05/0.3162, allocations: 13.09 kB / 0.5093 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3163, allocations: 97.44 kB / 0.5093 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3165, allocations: 116.2 kB / 0.5095 GB, free: 4.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3165, allocations: 9.594 kB / 0.5095 GB, free: 4.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3426/0.659, allocations: 38.68 MB / 0.5472 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.6591, allocations: 29.92 kB / 0.5473 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.6594, allocations: 134.3 kB / 0.5474 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.6615, allocations: 0.51 MB / 0.5479 GB, free: 324 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6615, allocations: 0 / 0.5479 GB, free: 324 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6615, allocations: 0 / 0.5479 GB, free: 324 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.6615, allocations: 4 kB / 0.5479 GB, free: 320 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.0006817/0.6622, allocations: 0.4985 MB / 0.5484 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.6622, allocations: 15.97 kB / 0.5484 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/0.663, allocations: 204.9 kB / 0.5486 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.6631, allocations: 134.2 kB / 0.5487 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.6631, allocations: 16.44 kB / 0.5487 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.6631, allocations: 23 kB / 0.5488 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.6636, allocations: 350.5 kB / 0.5491 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6636, allocations: 0 / 0.5491 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.6636, allocations: 11.06 kB / 0.5491 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.6637, allocations: 7.984 kB / 0.5491 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.664, allocations: 279.3 kB / 0.5494 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.6658, allocations: 2.082 MB / 0.5514 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.666, allocations: 93.55 kB / 0.5515 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.6661, allocations: 79.98 kB / 0.5516 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.6666, allocations: 0.5161 MB / 0.5521 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.6667, allocations: 30.56 kB / 0.5521 GB, free: 12.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.6667, allocations: 0 / 0.5521 GB, free: 12.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003633/0.667, allocations: 191.2 kB / 0.5523 GB, free: 12.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.6671, allocations: 85.11 kB / 0.5524 GB, free: 11.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.6672, allocations: 105.4 kB / 0.5525 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.6672, allocations: 33.52 kB / 0.5525 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.6673, allocations: 155 kB / 0.5527 GB, free: 11.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.78e-05/0.6674, allocations: 109.2 kB / 0.5528 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.6674, allocations: 42.16 kB / 0.5528 GB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6676, allocations: 328.5 kB / 0.5531 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.6676, allocations: 38.55 kB / 0.5531 GB, free: 11.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.6677, allocations: 80.27 kB / 0.5532 GB, free: 11.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.6679, allocations: 141.3 kB / 0.5534 GB, free: 10.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6679, allocations: 0 / 0.5534 GB, free: 10.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006318/0.6685, allocations: 152.8 kB / 0.5535 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6685, allocations: 11.91 kB / 0.5535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6685, allocations: 3.984 kB / 0.5535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6686, allocations: 4 kB / 0.5535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.6686, allocations: 8 kB / 0.5535 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6686, allocations: 7.938 kB / 0.5535 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.6687, allocations: 25.97 kB / 0.5536 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.6687, allocations: 4 kB / 0.5536 GB, free: 10.79 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.0001179/0.6688, allocations: 127.6 kB / 0.5537 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.6689, allocations: 11.89 kB / 0.5537 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.6689, allocations: 19.52 kB / 0.5537 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6689, allocations: 4 kB / 0.5537 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6689, allocations: 0 / 0.5537 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6689, allocations: 0 / 0.5537 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.6693, allocations: 257.3 kB / 0.554 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6693, allocations: 0 / 0.554 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.6693, allocations: 8 kB / 0.554 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6693, allocations: 0 / 0.554 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.6693, allocations: 4 kB / 0.554 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6693, allocations: 0 / 0.554 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6693, allocations: 0 / 0.554 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.6706, allocations: 314.2 kB / 0.5543 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.6707, allocations: 19.83 kB / 0.5543 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.6707, allocations: 4 kB / 0.5543 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.6708, allocations: 4 kB / 0.5543 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.6708, allocations: 4 kB / 0.5543 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.6708, allocations: 4 kB / 0.5543 GB, free: 10.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.6708, allocations: 79.28 kB / 0.5544 GB, free: 9.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6708, allocations: 0 / 0.5544 GB, free: 9.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.6713, allocations: 95.64 kB / 0.5545 GB, free: 9.863 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.0004169/0.6717, allocations: 183 kB / 0.5547 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.672, allocations: 209.6 kB / 0.5549 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.672, allocations: 0 / 0.5549 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.6722, allocations: 181.4 kB / 0.555 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.6729, allocations: 92 kB / 0.5551 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.6738, allocations: 0.5639 MB / 0.5557 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.6742, allocations: 0.8033 MB / 0.5565 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.6743, allocations: 23.44 kB / 0.5565 GB, free: 7.746 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6743, allocations: 0 / 0.5565 GB, free: 7.746 MB / 398.1 MB Notification: Performance of Templates: time 0.006575/0.6808, allocations: 3.706 MB / 0.5601 GB, free: 4.059 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.899927111109719] Failed to read output from testmodel.py, exit status != 0: 0.6887184740044177 0.705947405 0.041016251000000004 Calling exit ...