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.0008747/0.0008747, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001988/0.001988, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.8419/0.8419, allocations: 158.6 MB / 186.4 MB, free: 2.906 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.1645/0.1645, allocations: 36.34 MB / 275.1 MB, free: 10.52 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 1.193e-06/1.193e-06, allocations: 0 / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.7e-05, allocations: 2.312 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.02637/0.02639, allocations: 31.34 MB / 385.1 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.03703, allocations: 10.26 MB / 395.4 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.03734, allocations: 11.94 kB / 395.4 MB, free: 9.648 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.03797, allocations: 234.5 kB / 395.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.04304, allocations: 2.385 MB / 398 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006718/0.04976, allocations: 3.268 MB / 401.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.05095, allocations: 0.8792 MB / 402.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.05139, allocations: 273.2 kB / 402.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.05188, allocations: 466.8 kB / 402.9 MB, free: 2.125 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.05226, allocations: 339.1 kB / 403.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.05231, allocations: 32 kB / 403.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.06246, allocations: 7.155 MB / 410.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.06256, allocations: 103.5 kB / 410.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.06299, allocations: 171.6 kB / 410.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006964/0.06995, allocations: 5.632 MB / 416.3 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.06996, allocations: 0 / 416.3 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.06996, allocations: 0 / 416.3 MB, free: 4.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.06997, allocations: 3.938 kB / 416.3 MB, free: 4.68 MB / 346.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.002005/0.07197, allocations: 1.426 MB / 417.8 MB, free: 3.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.072, allocations: 8.031 kB / 417.8 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/0.0728, allocations: 212.2 kB / 418 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.0731, allocations: 302.6 kB / 418.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.07313, allocations: 33.03 kB / 418.3 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.07317, allocations: 36.36 kB / 418.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.07367, allocations: 0.4998 MB / 418.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.07368, allocations: 8.125 kB / 418.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.0737, allocations: 23.94 kB / 418.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.07371, allocations: 8 kB / 418.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.07404, allocations: 267 kB / 419.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.07534, allocations: 2.101 MB / 421.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.07567, allocations: 250.4 kB / 421.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.07578, allocations: 139 kB / 421.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1479/0.2236, allocations: 16.91 MB / 438.5 MB, free: 71.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.2241, allocations: 303.6 kB / 438.8 MB, free: 71.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.2241, allocations: 1.125 kB / 438.8 MB, free: 71.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002112/0.2262, allocations: 1.396 MB / 440.2 MB, free: 70.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2262, allocations: 141.6 kB / 440.3 MB, free: 70.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.2265, allocations: 393.4 kB / 440.7 MB, free: 70.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2265, allocations: 32.17 kB / 440.8 MB, free: 70.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2266, allocations: 297.9 kB / 441.1 MB, free: 70.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.2267, allocations: 122.8 kB / 441.2 MB, free: 70.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.2267, allocations: 83.72 kB / 441.3 MB, free: 70.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.2268, allocations: 0.5274 MB / 441.8 MB, free: 69.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2269, allocations: 127.1 kB / 441.9 MB, free: 69.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2271, allocations: 264.4 kB / 442.2 MB, free: 69.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.2273, allocations: 378.7 kB / 442.5 MB, free: 69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2273, allocations: 1.406 kB / 442.5 MB, free: 69 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005578/0.2279, allocations: 0.5321 MB / 443.1 MB, free: 68.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.2279, allocations: 74.62 kB / 443.1 MB, free: 68.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2279, allocations: 5.125 kB / 443.1 MB, free: 68.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006836/0.2286, allocations: 152.6 kB / 443.3 MB, free: 68.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2288, allocations: 57.47 kB / 443.4 MB, free: 68.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004298/0.2292, allocations: 1.635 MB / 445 MB, free: 67.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2293, allocations: 13.22 kB / 445 MB, free: 67.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2293, allocations: 17.14 kB / 445 MB, free: 67.12 MB / 362.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.0001331/0.2295, allocations: 258.9 kB / 445.3 MB, free: 66.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.2295, allocations: 62.17 kB / 445.3 MB, free: 66.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.2306, allocations: 1.131 MB / 446.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.2306, allocations: 19.22 kB / 446.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2306, allocations: 3.844 kB / 446.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2306, allocations: 0.7188 kB / 446.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.231, allocations: 0.4999 MB / 447 MB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.231, allocations: 0 / 447 MB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2311, allocations: 49.47 kB / 447 MB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/0.2314, allocations: 198.3 kB / 447.2 MB, free: 66.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2314, allocations: 8.875 kB / 447.2 MB, free: 66.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/0.2318, allocations: 1.703 MB / 448.9 MB, free: 64.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2318, allocations: 0 / 448.9 MB, free: 64.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/0.2326, allocations: 1.183 MB / 450.1 MB, free: 64.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.2327, allocations: 105.4 kB / 450.2 MB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.2328, allocations: 14.66 kB / 450.2 MB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.2328, allocations: 8.656 kB / 450.2 MB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.2329, allocations: 25.77 kB / 450.3 MB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.2329, allocations: 17.22 kB / 450.3 MB, free: 64.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.233, allocations: 251.6 kB / 450.5 MB, free: 64.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.233, allocations: 0 / 450.5 MB, free: 64.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001861/0.2349, allocations: 1.118 MB / 451.7 MB, free: 64.21 MB / 362.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.003083/0.238, allocations: 1.472 MB / 453.1 MB, free: 63.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006246/0.2386, allocations: 0.6064 MB / 453.7 MB, free: 63.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2386, allocations: 0 / 453.7 MB, free: 63.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.2389, allocations: 441.9 kB / 454.2 MB, free: 63.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.2394, allocations: 174.7 kB / 454.3 MB, free: 63.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.241, allocations: 1.32 MB / 455.7 MB, free: 62.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.502e-05/0.241, allocations: 159.6 kB / 455.8 MB, free: 62.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.2412, allocations: 96.08 kB / 455.9 MB, free: 62.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.2412, allocations: 42.91 kB / 455.9 MB, free: 62.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2412, allocations: 0 / 455.9 MB, free: 62.73 MB / 362.7 MB Notification: Performance of Templates: time 0.03748/0.2787, allocations: 47.63 MB / 0.4918 GB, free: 19.17 MB / 362.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.218708654399961]