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.0009153/0.0009153, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000956/0.000956, allocations: 162.6 kB / 25.61 MB, free: 8.906 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.7977/0.7977, allocations: 158.6 MB / 187.5 MB, free: 2.324 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.1661/0.1661, allocations: 36.35 MB / 276.2 MB, free: 14.32 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.202e-06/1.202e-06, allocations: 0 / 355.1 MB, free: 62.39 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.339e-05, allocations: 6.266 kB / 355.1 MB, free: 62.39 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.01904/0.01905, allocations: 30.85 MB / 385.9 MB, free: 39.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006103/0.02515, allocations: 10.1 MB / 396 MB, free: 29.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.02536, allocations: 11.88 kB / 396 MB, free: 29.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.02578, allocations: 230.5 kB / 396.2 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.02988, allocations: 2.399 MB / 398.6 MB, free: 27.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.0341, allocations: 3.253 MB / 401.9 MB, free: 23.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.03463, allocations: 0.8719 MB / 402.8 MB, free: 23.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.0349, allocations: 281.2 kB / 403 MB, free: 22.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.0352, allocations: 466.7 kB / 403.5 MB, free: 22.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.03545, allocations: 339.1 kB / 403.8 MB, free: 21.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.03549, allocations: 40 kB / 403.9 MB, free: 21.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006354/0.04184, allocations: 7.151 MB / 411 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.04191, allocations: 99.55 kB / 411.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.04203, allocations: 187.6 kB / 411.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.0466, allocations: 5.62 MB / 416.9 MB, free: 8.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.0466, allocations: 4 kB / 416.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.0466, allocations: 0 / 416.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.04661, allocations: 0 / 416.9 MB, free: 8.82 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.001583/0.04819, allocations: 1.434 MB / 418.4 MB, free: 7.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.04822, allocations: 8.031 kB / 418.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.04872, allocations: 212.2 kB / 418.6 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.04897, allocations: 306.6 kB / 418.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.04899, allocations: 25.03 kB / 418.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.04902, allocations: 36.36 kB / 418.9 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.0495, allocations: 488.5 kB / 419.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.04951, allocations: 192 / 419.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.04953, allocations: 19.94 kB / 419.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.04954, allocations: 11.94 kB / 419.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.04977, allocations: 239.7 kB / 419.7 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008807/0.05065, allocations: 2.047 MB / 421.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.0509, allocations: 230.5 kB / 421.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.05097, allocations: 123 kB / 422.1 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02458/0.07555, allocations: 14.7 MB / 436.8 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.07587, allocations: 303.7 kB / 437.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.07588, allocations: 0 / 437.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001772/0.07765, allocations: 1.287 MB / 438.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.0777, allocations: 140.5 kB / 438.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.0779, allocations: 378.5 kB / 438.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.07792, allocations: 33.7 kB / 438.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.07806, allocations: 311.2 kB / 439.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.07812, allocations: 111 kB / 439.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.0782, allocations: 87.58 kB / 439.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.07833, allocations: 0.5273 MB / 439.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.07841, allocations: 116.2 kB / 440 MB, free: 1.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.07854, allocations: 249.5 kB / 440.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.07876, allocations: 354.5 kB / 440.6 MB, free: 468 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.07876, allocations: 0 / 440.6 MB, free: 468 kB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005019/0.07927, allocations: 0.5146 MB / 441.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.07931, allocations: 71.39 kB / 441.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.07931, allocations: 4 kB / 441.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.07991, allocations: 151.1 kB / 441.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.08005, allocations: 56.17 kB / 441.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006583/0.08071, allocations: 1.635 MB / 443 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.743e-05/0.08081, allocations: 12 kB / 443 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.08083, allocations: 16 kB / 443.1 MB, free: 13.88 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.0001471/0.08098, allocations: 259.8 kB / 443.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.08104, allocations: 63.72 kB / 443.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008487/0.08189, allocations: 1.042 MB / 444.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.0819, allocations: 19.97 kB / 444.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.0819, allocations: 0 / 444.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.08191, allocations: 0 / 444.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.08238, allocations: 450.1 kB / 444.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.08238, allocations: 3.938 kB / 444.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.0825, allocations: 43.98 kB / 444.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.08278, allocations: 180.2 kB / 445.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.0828, allocations: 12 kB / 445.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005206/0.08332, allocations: 1.694 MB / 446.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.08332, allocations: 0 / 446.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.08417, allocations: 1.083 MB / 447.9 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.986e-05/0.08427, allocations: 99.41 kB / 448 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.08431, allocations: 11.94 kB / 448 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.0844, allocations: 15.98 kB / 448 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.08444, allocations: 24.03 kB / 448 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.08446, allocations: 15.98 kB / 448.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003557/0.08482, allocations: 235 kB / 448.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08482, allocations: 0 / 448.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001819/0.08663, allocations: 1.123 MB / 449.4 MB, free: 7.305 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.002821/0.08946, allocations: 1.515 MB / 450.9 MB, free: 5.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.09, allocations: 0.556 MB / 451.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.09, allocations: 0 / 451.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.09028, allocations: 420.7 kB / 451.9 MB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.09076, allocations: 166.7 kB / 452.1 MB, free: 4.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.09219, allocations: 1.296 MB / 453.4 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.108e-05/0.09227, allocations: 158.9 kB / 453.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.0924, allocations: 84.62 kB / 453.6 MB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.09264, allocations: 218.1 kB / 453.8 MB, free: 2.762 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.09264, allocations: 0 / 453.8 MB, free: 2.762 MB / 362.7 MB Notification: Performance of Templates: time 0.042/0.1346, allocations: 46.59 MB / 0.4887 GB, free: 4.133 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: 5.314746888820082]