Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.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.001544/0.001544, 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.002247/0.002247, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.01286/0.01286, allocations: 2.797 MB / 316 MB, free: 276 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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") [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.002008/0.002008, allocations: 71.89 kB / 440 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.09061, allocations: 54.18 MB / 494.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.254/0.3446, allocations: 83.85 MB / 0.5645 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03985/0.3845, allocations: 40.87 MB / 0.6044 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.3855, allocations: 4 kB / 0.6044 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.3888, allocations: 1.243 MB / 0.6056 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01824/0.407, allocations: 6.974 MB / 0.6124 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.4079, allocations: 270.1 kB / 0.6127 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.4099, allocations: 1.342 MB / 0.614 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.4101, allocations: 59.19 kB / 0.614 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.4107, allocations: 437.8 kB / 0.6145 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.4115, allocations: 0.4897 MB / 0.6149 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.333e-05/0.4115, allocations: 40 kB / 0.615 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67/2.081, allocations: 167.9 MB / 0.779 GB, free: 62.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/2.082, allocations: 146.6 kB / 0.7791 GB, free: 62.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006887/2.082, allocations: 0.5966 MB / 0.7797 GB, free: 61.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009352/2.092, allocations: 2.781 MB / 0.7824 GB, free: 59.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/2.092, allocations: 3.984 kB / 0.7824 GB, free: 59.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/2.092, allocations: 4 kB / 0.7824 GB, free: 59.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.152e-05/2.092, allocations: 4 kB / 0.7824 GB, free: 59.9 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001317/2.093, allocations: 1.541 MB / 0.7839 GB, free: 58.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/2.093, allocations: 8.031 kB / 0.7839 GB, free: 58.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/2.097, allocations: 1.217 MB / 0.7851 GB, free: 57.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/2.097, allocations: 229.8 kB / 0.7853 GB, free: 57.55 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/2.097, allocations: 72.5 kB / 0.7854 GB, free: 57.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/2.097, allocations: 94.62 kB / 0.7855 GB, free: 57.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/2.099, allocations: 1.751 MB / 0.7872 GB, free: 56.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/2.099, allocations: 0 / 0.7872 GB, free: 56.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/2.099, allocations: 36.62 kB / 0.7872 GB, free: 56.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/2.099, allocations: 76 kB / 0.7873 GB, free: 56.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/2.101, allocations: 1.667 MB / 0.7889 GB, free: 55.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/2.105, allocations: 8.561 MB / 0.7973 GB, free: 46.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/2.106, allocations: 0.5244 MB / 0.7978 GB, free: 46.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/2.106, allocations: 0.4969 MB / 0.7983 GB, free: 46.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/2.108, allocations: 1.427 MB / 0.7997 GB, free: 45.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/2.108, allocations: 34.56 kB / 0.7997 GB, free: 45.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.784e-06/2.108, allocations: 0 / 0.7997 GB, free: 45.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002197/2.11, allocations: 1.521 MB / 0.8012 GB, free: 44.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/2.11, allocations: 85.11 kB / 0.8013 GB, free: 44.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/2.11, allocations: 137 kB / 0.8014 GB, free: 44.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/2.11, allocations: 29.64 kB / 0.8014 GB, free: 44.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/2.11, allocations: 414 kB / 0.8018 GB, free: 43.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/2.11, allocations: 0.5961 MB / 0.8024 GB, free: 43.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/2.11, allocations: 143.6 kB / 0.8026 GB, free: 43.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.294e-05/2.11, allocations: 306 kB / 0.8028 GB, free: 42.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/2.111, allocations: 348.1 kB / 0.8032 GB, free: 42.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/2.111, allocations: 498.4 kB / 0.8037 GB, free: 42.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008881/2.112, allocations: 1.028 MB / 0.8047 GB, free: 41.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/2.112, allocations: 0 / 0.8047 GB, free: 41.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001108/2.113, allocations: 1.064 MB / 0.8057 GB, free: 41.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/2.113, allocations: 8 kB / 0.8057 GB, free: 41.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/2.113, allocations: 4 kB / 0.8057 GB, free: 41.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/2.113, allocations: 4 kB / 0.8057 GB, free: 41.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/2.113, allocations: 34.45 kB / 0.8057 GB, free: 41.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/2.113, allocations: 6.719 kB / 0.8057 GB, free: 41.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/2.114, allocations: 82.27 kB / 0.8058 GB, free: 40.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/2.114, allocations: 27.11 kB / 0.8059 GB, free: 40.94 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000266/2.114, allocations: 221 kB / 0.8061 GB, free: 40.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/2.114, allocations: 59.52 kB / 0.8061 GB, free: 40.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.447e-05/2.114, allocations: 28.77 kB / 0.8061 GB, free: 40.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/2.114, allocations: 11.17 kB / 0.8062 GB, free: 40.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/2.114, allocations: 0 / 0.8062 GB, free: 40.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/2.114, allocations: 0 / 0.8062 GB, free: 40.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008653/2.115, allocations: 1.019 MB / 0.8072 GB, free: 39.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/2.115, allocations: 3.938 kB / 0.8072 GB, free: 39.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/2.115, allocations: 14.23 kB / 0.8072 GB, free: 39.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/2.115, allocations: 8 kB / 0.8072 GB, free: 39.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/2.115, allocations: 8 kB / 0.8072 GB, free: 39.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/2.115, allocations: 4 kB / 0.8072 GB, free: 39.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.115, allocations: 0 / 0.8072 GB, free: 39.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/2.116, allocations: 1.193 MB / 0.8084 GB, free: 38.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/2.116, allocations: 91.06 kB / 0.8084 GB, free: 38.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/2.116, allocations: 12.06 kB / 0.8085 GB, free: 38.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/2.116, allocations: 4 kB / 0.8085 GB, free: 38.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/2.116, allocations: 19.98 kB / 0.8085 GB, free: 38.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/2.116, allocations: 12 kB / 0.8085 GB, free: 38.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.472e-05/2.116, allocations: 95.27 kB / 0.8086 GB, free: 38.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.116, allocations: 4 kB / 0.8086 GB, free: 38.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008082/2.117, allocations: 382.9 kB / 0.8089 GB, free: 37.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0008319/2.118, allocations: 0.5409 MB / 0.8095 GB, free: 37.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001179/2.119, allocations: 1.563 MB / 0.811 GB, free: 35.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/2.119, allocations: 0 / 0.811 GB, free: 35.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007837/2.12, allocations: 1.645 MB / 0.8126 GB, free: 33.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/2.122, allocations: 485.3 kB / 0.8131 GB, free: 33.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/2.125, allocations: 2.286 MB / 0.8153 GB, free: 30.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/2.126, allocations: 1.289 MB / 0.8166 GB, free: 29.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/2.126, allocations: 90.42 kB / 0.8166 GB, free: 29.45 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/2.126, allocations: 0 / 0.8166 GB, free: 29.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.02035/2.146, allocations: 18.56 MB / 0.8348 GB, free: 11.19 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.225032238056883] Failed to read output from testmodel.py, exit status != 0: 2.1530453849118203 2.165634386 0.07070593900000001 Calling exit ...