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.0009643/0.0009643, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009852/0.0009852, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 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.07/1.07, allocations: 177.1 MB / 203.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.009044/0.009044, allocations: 1.996 MB / 262.3 MB, free: 11.09 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 332.4 MB, free: 17.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.556e-05, allocations: 4.141 kB / 332.4 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.231/0.231, allocations: 85.37 MB / 417.8 MB, free: 16.44 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02857/0.2596, allocations: 41.61 MB / 459.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.261, allocations: 6.125 kB / 459.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.2636, allocations: 1.023 MB / 460.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01739/0.281, allocations: 7.035 MB / 467.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.2823, allocations: 280.4 kB / 467.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.284, allocations: 1.43 MB / 469.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2841, allocations: 50.62 kB / 469.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.2848, allocations: 0.6164 MB / 469.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.2853, allocations: 396.9 kB / 470.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.523e-05/0.2854, allocations: 36.69 kB / 470.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.42/1.706, allocations: 278.8 MB / 0.7314 GB, free: 3.047 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/1.706, allocations: 152.9 kB / 0.7316 GB, free: 3.012 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008878/1.707, allocations: 410.3 kB / 0.732 GB, free: 2.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008308/1.715, allocations: 2.503 MB / 0.7344 GB, free: 1.246 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.715, allocations: 0 / 0.7344 GB, free: 1.246 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.715, allocations: 0 / 0.7344 GB, free: 1.246 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/1.715, allocations: 0 / 0.7344 GB, free: 1.246 MB / 458.7 MB 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.1093/1.824, allocations: 1.653 MB / 0.736 GB, free: 218.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.824, allocations: 10.03 kB / 0.736 GB, free: 218.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/1.829, allocations: 2.705 MB / 0.7387 GB, free: 217.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/1.829, allocations: 236.1 kB / 0.7389 GB, free: 217.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/1.829, allocations: 73.09 kB / 0.739 GB, free: 217.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.829, allocations: 90.25 kB / 0.7391 GB, free: 217.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.831, allocations: 0.9386 MB / 0.74 GB, free: 216.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/1.831, allocations: 2.969 kB / 0.74 GB, free: 216.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/1.831, allocations: 38.88 kB / 0.74 GB, free: 216.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-05/1.831, allocations: 70.09 kB / 0.7401 GB, free: 216.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009218/1.832, allocations: 0.6109 MB / 0.7407 GB, free: 216.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/1.834, allocations: 3.26 MB / 0.7439 GB, free: 214.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/1.835, allocations: 371.7 kB / 0.7442 GB, free: 214.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/1.835, allocations: 321.2 kB / 0.7445 GB, free: 214.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009976/1.836, allocations: 1.456 MB / 0.746 GB, free: 212.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/1.836, allocations: 41.33 kB / 0.746 GB, free: 212.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=182): time 2.495e-06/1.836, allocations: 0 / 0.746 GB, free: 212.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=182): time 0.0009908/1.837, allocations: 1.239 MB / 0.7472 GB, free: 211.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/1.837, allocations: 81.11 kB / 0.7473 GB, free: 211.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/1.837, allocations: 201.7 kB / 0.7475 GB, free: 211.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/1.837, allocations: 25.7 kB / 0.7475 GB, free: 211.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/1.837, allocations: 456.7 kB / 0.7479 GB, free: 210.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/1.837, allocations: 0.5959 MB / 0.7485 GB, free: 210.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.838, allocations: 155.3 kB / 0.7487 GB, free: 210 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.045e-05/1.838, allocations: 487.8 kB / 0.7491 GB, free: 209.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/1.838, allocations: 189.7 kB / 0.7493 GB, free: 209.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/1.838, allocations: 402.8 kB / 0.7497 GB, free: 208.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/1.838, allocations: 0.7352 MB / 0.7504 GB, free: 208.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.838, allocations: 0 / 0.7504 GB, free: 208.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0006765/1.839, allocations: 0.899 MB / 0.7513 GB, free: 207.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.839, allocations: 8 kB / 0.7513 GB, free: 207.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.839, allocations: 4 kB / 0.7513 GB, free: 207.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.839, allocations: 4 kB / 0.7513 GB, free: 207.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/1.839, allocations: 31.92 kB / 0.7513 GB, free: 207.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.839, allocations: 4.234 kB / 0.7513 GB, free: 207.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/1.839, allocations: 93.3 kB / 0.7514 GB, free: 207.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.839, allocations: 20 kB / 0.7514 GB, free: 207 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001451/1.84, allocations: 185.7 kB / 0.7516 GB, free: 206.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/1.84, allocations: 59.58 kB / 0.7517 GB, free: 206.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/1.84, allocations: 35.7 kB / 0.7517 GB, free: 206.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.84, allocations: 7.984 kB / 0.7517 GB, free: 206.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.84, allocations: 0 / 0.7517 GB, free: 206.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.84, allocations: 7.875 kB / 0.7517 GB, free: 206.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/1.84, allocations: 0.7307 MB / 0.7524 GB, free: 206 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.84, allocations: 0 / 0.7524 GB, free: 206 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/1.84, allocations: 15.94 kB / 0.7525 GB, free: 206 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.84, allocations: 3.172 kB / 0.7525 GB, free: 206 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/1.84, allocations: 12 kB / 0.7525 GB, free: 206 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.84, allocations: 0 / 0.7525 GB, free: 206 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.84, allocations: 1.188 kB / 0.7525 GB, free: 206 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/1.841, allocations: 1.163 MB / 0.7536 GB, free: 204.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/1.841, allocations: 79.19 kB / 0.7537 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/1.841, allocations: 0 / 0.7537 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/1.841, allocations: 4 kB / 0.7537 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/1.841, allocations: 19.98 kB / 0.7537 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/1.841, allocations: 19.98 kB / 0.7537 GB, free: 204.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.965e-05/1.841, allocations: 135.1 kB / 0.7539 GB, free: 204.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.841, allocations: 3.938 kB / 0.7539 GB, free: 204.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005929/1.842, allocations: 385.9 kB / 0.7542 GB, free: 204.2 MB / 458.7 MB 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.0007695/1.843, allocations: 0.558 MB / 0.7548 GB, free: 203.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007433/1.843, allocations: 1.348 MB / 0.7561 GB, free: 202.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.843, allocations: 0 / 0.7561 GB, free: 202.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000531/1.844, allocations: 1.577 MB / 0.7576 GB, free: 200.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.845, allocations: 486.8 kB / 0.7581 GB, free: 200 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/1.847, allocations: 2.004 MB / 0.7601 GB, free: 197.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/1.847, allocations: 311 kB / 0.7603 GB, free: 197.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000465/1.848, allocations: 183.9 kB / 0.7605 GB, free: 197.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/1.848, allocations: 83.45 kB / 0.7606 GB, free: 197.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.272e-06/1.848, allocations: 0 / 0.7606 GB, free: 197.4 MB / 458.7 MB Notification: Performance of Templates: time 0.02504/1.873, allocations: 27.09 MB / 0.7871 GB, free: 171.6 MB / 458.7 MB " [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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.324919988866895]