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.000658/0.000658, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008394/0.001497, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006979/0.0006979, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009038/0.001602, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9086/0.9086, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07914/0.9877, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08531/0.08531, allocations: 19.75 MB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01857/0.1039, allocations: 7.557 MB / 271.3 MB, free: 3.477 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(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.433e-06/1.433e-06, allocations: 0 / 272.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.708e-05, allocations: 5.828 kB / 272.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.1307/0.1307, allocations: 31.43 MB / 304 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008334/0.139, allocations: 10.3 MB / 314.3 MB, free: 4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.1392, allocations: 7.938 kB / 314.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.1397, allocations: 238.5 kB / 314.6 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.1445, allocations: 2.176 MB / 316.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004913/0.1494, allocations: 3.022 MB / 319.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.1501, allocations: 0.8986 MB / 320.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.1504, allocations: 281.6 kB / 320.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.1508, allocations: 0.4993 MB / 321.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1511, allocations: 307.1 kB / 321.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.1512, allocations: 36 kB / 321.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00814/0.1593, allocations: 7.682 MB / 329.4 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.1594, allocations: 83.61 kB / 329.5 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1595, allocations: 151.7 kB / 329.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004416/0.1639, allocations: 4.398 MB / 334.1 MB, free: 200 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.1639, allocations: 4 kB / 334.1 MB, free: 196 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1639, allocations: 0 / 334.1 MB, free: 196 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.164, allocations: 0 / 334.1 MB, free: 196 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002009/0.166, allocations: 1.76 MB / 335.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.166, allocations: 8.922 kB / 335.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005262/0.1665, allocations: 232.4 kB / 336.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1668, allocations: 275.8 kB / 336.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1668, allocations: 25.38 kB / 336.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.1669, allocations: 36.38 kB / 336.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.1673, allocations: 478 kB / 336.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1673, allocations: 4.188 kB / 336.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.1673, allocations: 25.17 kB / 336.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1673, allocations: 8 kB / 336.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.1676, allocations: 238.6 kB / 337.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1686, allocations: 1.456 MB / 338.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1689, allocations: 272.4 kB / 338.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.169, allocations: 120.2 kB / 339 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09304/0.262, allocations: 58.45 MB / 397.4 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.2624, allocations: 312.7 kB / 397.7 MB, free: 184 kB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.2624, allocations: 0 / 397.7 MB, free: 184 kB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001876/0.2643, allocations: 1.221 MB / 398.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2643, allocations: 118.7 kB / 399.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.2645, allocations: 303.3 kB / 399.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.2646, allocations: 33.7 kB / 399.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.2646, allocations: 217.5 kB / 399.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.2647, allocations: 130.9 kB / 399.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.2648, allocations: 69.98 kB / 399.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.2649, allocations: 354.7 kB / 400.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.2649, allocations: 115 kB / 400.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.2651, allocations: 221.9 kB / 400.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.2653, allocations: 344.6 kB / 400.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2653, allocations: 0 / 400.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003683/0.2657, allocations: 412.4 kB / 401.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.2657, allocations: 67.39 kB / 401.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2657, allocations: 4 kB / 401.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.2663, allocations: 154.6 kB / 401.4 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2665, allocations: 71.89 kB / 401.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004595/0.2669, allocations: 1.081 MB / 402.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.267, allocations: 15.98 kB / 402.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.2671, allocations: 17.81 kB / 402.6 MB, free: 10.89 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.0001368/0.2672, allocations: 200 kB / 402.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.2672, allocations: 43.97 kB / 402.9 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007228/0.268, allocations: 0.9433 MB / 403.8 MB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.268, allocations: 19.97 kB / 403.8 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.268, allocations: 0 / 403.8 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.268, allocations: 3.984 kB / 403.8 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.2683, allocations: 394.5 kB / 404.2 MB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2683, allocations: 0 / 404.2 MB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.2684, allocations: 61.08 kB / 404.3 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.2685, allocations: 83.31 kB / 404.4 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.2688, allocations: 184.1 kB / 404.5 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.2688, allocations: 19.94 kB / 404.6 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004187/0.2692, allocations: 1.135 MB / 405.7 MB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2692, allocations: 7.938 kB / 405.7 MB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/0.2699, allocations: 0.9638 MB / 406.7 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.27, allocations: 15.94 kB / 406.7 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.27, allocations: 12 kB / 406.7 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.2701, allocations: 19.95 kB / 406.7 MB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2701, allocations: 8 kB / 406.7 MB, free: 6.594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.829e-05/0.2702, allocations: 124.7 kB / 406.8 MB, free: 6.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2702, allocations: 0 / 406.8 MB, free: 6.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002059/0.2723, allocations: 1.127 MB / 408 MB, free: 5.336 MB / 394.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.00291/0.2752, allocations: 1.589 MB / 409.5 MB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005095/0.2757, allocations: 0.5511 MB / 410.1 MB, free: 3.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.2757, allocations: 4.5 kB / 410.1 MB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.2759, allocations: 403.7 kB / 410.5 MB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.2764, allocations: 211.1 kB / 410.7 MB, free: 2.512 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.2811, allocations: 1.29 MB / 412 MB, free: 1.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.568e-05/0.2812, allocations: 158.7 kB / 412.1 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.2814, allocations: 88.12 kB / 412.2 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.2816, allocations: 189.2 kB / 412.4 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2816, allocations: 0 / 412.4 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of Templates: time 0.1448/0.4264, allocations: 46.15 MB / 458.6 MB, free: 107.2 MB / 410.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: 4.429088920354843]