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.001962/0.001962, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002024/0.002024, allocations: 161.3 kB / 24.27 MB, free: 156 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 1.336/1.336, allocations: 158.6 MB / 186.1 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.2895/0.2895, allocations: 36.33 MB / 274.7 MB, free: 10.82 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.533e-06/1.533e-06, allocations: 0 / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.21e-05, allocations: 5.688 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.08531/0.08535, allocations: 52.16 MB / 405.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02556/0.1109, allocations: 17.15 MB / 422.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.1115, allocations: 15.88 kB / 422.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.1127, allocations: 266.2 kB / 422.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007132/0.1198, allocations: 2.385 MB / 425 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.1303, allocations: 3.256 MB / 428.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.1318, allocations: 0.8792 MB / 429.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.1323, allocations: 277.2 kB / 429.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008826/0.1332, allocations: 466.8 kB / 429.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005933/0.1338, allocations: 339.1 kB / 430.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.1339, allocations: 39.94 kB / 430.3 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1833/0.3171, allocations: 7.155 MB / 437.4 MB, free: 24.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3173, allocations: 101.4 kB / 437.5 MB, free: 24.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.3176, allocations: 172.2 kB / 437.7 MB, free: 24.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.3298, allocations: 5.743 MB / 443.4 MB, free: 24.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3298, allocations: 0 / 443.4 MB, free: 24.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3298, allocations: 0 / 443.4 MB, free: 24.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3298, allocations: 3.344 kB / 443.4 MB, free: 24.88 MB / 362.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.004884/0.3347, allocations: 1.455 MB / 444.9 MB, free: 23.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3347, allocations: 9.625 kB / 444.9 MB, free: 23.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.3358, allocations: 204.4 kB / 445.1 MB, free: 23.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.3363, allocations: 310.6 kB / 445.4 MB, free: 23.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.3364, allocations: 25 kB / 445.4 MB, free: 23.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.3364, allocations: 38.69 kB / 445.5 MB, free: 23.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.3372, allocations: 0.5664 MB / 446 MB, free: 23.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3373, allocations: 384 / 446 MB, free: 23.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.3373, allocations: 23.69 kB / 446.1 MB, free: 23.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3373, allocations: 8.906 kB / 446.1 MB, free: 23.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.338, allocations: 333.6 kB / 446.4 MB, free: 23.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.3399, allocations: 2.231 MB / 448.6 MB, free: 21.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.3404, allocations: 292.6 kB / 448.9 MB, free: 21.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3406, allocations: 162.8 kB / 449.1 MB, free: 21.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05632/0.3969, allocations: 16.91 MB / 466 MB, free: 20.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006856/0.3976, allocations: 336.6 kB / 466.3 MB, free: 19.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 3.396e-06/0.3976, allocations: 4 kB / 466.3 MB, free: 19.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003483/0.4011, allocations: 1.565 MB / 467.9 MB, free: 19.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.4011, allocations: 145.8 kB / 468 MB, free: 19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.4015, allocations: 444.4 kB / 468.4 MB, free: 18.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.4016, allocations: 37.28 kB / 468.5 MB, free: 18.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4017, allocations: 316.3 kB / 468.8 MB, free: 18.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.4018, allocations: 121.6 kB / 468.9 MB, free: 18.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4019, allocations: 91.52 kB / 469 MB, free: 18.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4021, allocations: 0.543 MB / 469.5 MB, free: 17.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.4022, allocations: 166.3 kB / 469.7 MB, free: 17.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.4025, allocations: 305.1 kB / 470 MB, free: 17.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.4029, allocations: 462.5 kB / 470.5 MB, free: 17.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4029, allocations: 0 / 470.5 MB, free: 17.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009283/0.4038, allocations: 0.627 MB / 471.1 MB, free: 17.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.4039, allocations: 70.44 kB / 471.2 MB, free: 17.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4039, allocations: 3.875 kB / 471.2 MB, free: 17.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.4051, allocations: 161.5 kB / 471.3 MB, free: 16.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.4053, allocations: 64.62 kB / 471.4 MB, free: 16.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007435/0.4061, allocations: 1.676 MB / 473.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.4063, allocations: 18.89 kB / 473.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.4064, allocations: 18.38 kB / 473.1 MB, free: 15.34 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.0002149/0.4066, allocations: 279.2 kB / 473.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.4067, allocations: 59.52 kB / 473.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.408, allocations: 1.175 MB / 474.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.4081, allocations: 19.38 kB / 474.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4081, allocations: 4.047 kB / 474.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4081, allocations: 7.984 kB / 474.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.4086, allocations: 0.5464 MB / 475.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4086, allocations: 0 / 475.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.4088, allocations: 46.17 kB / 475.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.4093, allocations: 196.4 kB / 475.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.4093, allocations: 15.3 kB / 475.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006142/0.4099, allocations: 1.726 MB / 477.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4099, allocations: 4.891 kB / 477.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4114, allocations: 1.304 MB / 478.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.4116, allocations: 107.7 kB / 478.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.274e-05/0.4116, allocations: 16.41 kB / 478.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.4118, allocations: 11.97 kB / 478.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.4119, allocations: 27.52 kB / 478.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.4119, allocations: 15.25 kB / 478.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.4121, allocations: 283.6 kB / 478.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4121, allocations: 0 / 478.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003348/0.4155, allocations: 1.119 MB / 480 MB, free: 10.27 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.006109/0.4216, allocations: 1.48 MB / 481.5 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.4226, allocations: 0.6787 MB / 482.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4226, allocations: 4 kB / 482.2 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.4231, allocations: 488.1 kB / 482.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.424, allocations: 166 kB / 482.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.4257, allocations: 1.34 MB / 484.2 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.4259, allocations: 312.1 kB / 484.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.4261, allocations: 88.88 kB / 484.6 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.4261, allocations: 28.5 kB / 484.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4261, allocations: 0 / 484.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of Templates: time 0.0772/0.5033, allocations: 41.08 MB / 0.5133 GB, free: 13.12 MB / 410.7 MB " [Timeout remaining time 659] 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: 7.777136359014548]