Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.0009452/0.0009452, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00104/0.00104, allocations: 170 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9863/0.9863, allocations: 158.6 MB / 186.8 MB, free: 2.32 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.201/0.201, allocations: 36.35 MB / 275.4 MB, free: 10.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 1.156 kB / 305.2 MB, free: 13.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.318e-05, allocations: 2.312 kB / 305.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.02532/0.02535, allocations: 31.19 MB / 336.4 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00991/0.03526, allocations: 10.23 MB / 346.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.03562, allocations: 15.88 kB / 346.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.03626, allocations: 218.5 kB / 346.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007621/0.04389, allocations: 2.17 MB / 349.1 MB, free: 8.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008364/0.05225, allocations: 3.045 MB / 352.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.05344, allocations: 0.8792 MB / 353 MB, free: 4.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.05392, allocations: 269.8 kB / 353.2 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.0545, allocations: 466.8 kB / 353.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.05492, allocations: 311.1 kB / 354 MB, free: 3.109 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.05497, allocations: 36 kB / 354 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/0.0687, allocations: 7.658 MB / 361.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.06885, allocations: 103.5 kB / 361.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.06911, allocations: 171.6 kB / 362 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.08063, allocations: 5.636 MB / 367.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.08064, allocations: 0 / 367.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.08064, allocations: 0 / 367.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.08066, allocations: 7.875 kB / 367.6 MB, free: 5.484 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002857/0.08351, allocations: 1.298 MB / 368.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.08356, allocations: 8.031 kB / 368.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007204/0.08428, allocations: 228.4 kB / 369.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.08466, allocations: 271.9 kB / 369.4 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.08469, allocations: 21.03 kB / 369.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.08473, allocations: 36.38 kB / 369.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.08525, allocations: 467.4 kB / 369.9 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.08526, allocations: 8.109 kB / 369.9 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.08528, allocations: 19.94 kB / 369.9 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.08529, allocations: 11.81 kB / 370 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.08559, allocations: 226.6 kB / 370.2 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.08684, allocations: 1.444 MB / 371.6 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.08718, allocations: 261.8 kB / 371.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.08726, allocations: 112.2 kB / 372 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1068/0.1941, allocations: 58.35 MB / 430.3 MB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.1946, allocations: 304.7 kB / 430.6 MB, free: 6.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 2.505e-06/0.1946, allocations: 0 / 430.6 MB, free: 6.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.00195/0.1965, allocations: 1.183 MB / 431.8 MB, free: 4.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.1966, allocations: 148.5 kB / 432 MB, free: 4.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1968, allocations: 315.2 kB / 432.3 MB, free: 4.336 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1968, allocations: 33.7 kB / 432.3 MB, free: 4.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1969, allocations: 205.6 kB / 432.5 MB, free: 4.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.197, allocations: 119 kB / 432.6 MB, free: 3.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.1971, allocations: 77.92 kB / 432.7 MB, free: 3.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.1972, allocations: 354.7 kB / 433 MB, free: 3.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.1972, allocations: 107 kB / 433.1 MB, free: 3.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1974, allocations: 213.2 kB / 433.4 MB, free: 3.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.1976, allocations: 328.7 kB / 433.7 MB, free: 2.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1976, allocations: 0 / 433.7 MB, free: 2.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003959/0.198, allocations: 404.4 kB / 434.1 MB, free: 2.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.198, allocations: 67.39 kB / 434.1 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.198, allocations: 7.938 kB / 434.1 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006754/0.1987, allocations: 145.5 kB / 434.3 MB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1989, allocations: 71.89 kB / 434.4 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005161/0.1994, allocations: 1.085 MB / 435.4 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1995, allocations: 15.98 kB / 435.5 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.1995, allocations: 16 kB / 435.5 MB, free: 0.8789 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.1997, allocations: 200 kB / 435.7 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.1997, allocations: 48.06 kB / 435.7 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.2008, allocations: 0.9279 MB / 436.6 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.2008, allocations: 15.97 kB / 436.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2008, allocations: 3.938 kB / 436.7 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2008, allocations: 0 / 436.7 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.2012, allocations: 390.5 kB / 437 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2012, allocations: 0 / 437 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.2014, allocations: 63.95 kB / 437.1 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002934/0.2017, allocations: 180.1 kB / 437.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.2017, allocations: 11.98 kB / 437.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004724/0.2022, allocations: 1.141 MB / 438.4 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2022, allocations: 96 / 438.4 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.2029, allocations: 0.94 MB / 439.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/0.203, allocations: 83.36 kB / 439.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.2031, allocations: 16 kB / 439.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.2031, allocations: 8 kB / 439.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.2032, allocations: 23.95 kB / 439.5 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.2032, allocations: 16.06 kB / 439.5 MB, free: 12.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.221e-05/0.2033, allocations: 128.7 kB / 439.6 MB, free: 12.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2033, allocations: 0 / 439.6 MB, free: 12.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00266/0.206, allocations: 1.115 MB / 440.8 MB, free: 11.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003277/0.2092, allocations: 1.569 MB / 442.3 MB, free: 9.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005727/0.2098, allocations: 0.5338 MB / 442.9 MB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.2098, allocations: 0 / 442.9 MB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.2104, allocations: 401.8 kB / 443.3 MB, free: 8.781 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.2109, allocations: 172.8 kB / 443.4 MB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2125, allocations: 1.276 MB / 444.7 MB, free: 7.301 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.318e-05/0.2126, allocations: 150.9 kB / 444.8 MB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.2128, allocations: 82.89 kB / 444.9 MB, free: 7.051 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.2131, allocations: 181.2 kB / 445.1 MB, free: 6.875 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2131, allocations: 0 / 445.1 MB, free: 6.875 MB / 410.7 MB Notification: Performance of Templates: time 0.1887/0.4018, allocations: 45.69 MB / 490.8 MB, free: 125 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1118844212032855]