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.0009526/0.0009526, allocations: 80.8 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.0009864/0.0009864, allocations: 171.2 kB / 24.92 MB, free: 8.73 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 1.009/1.009, allocations: 158.6 MB / 186.8 MB, free: 2.793 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.179/0.179, allocations: 36.33 MB / 275.4 MB, free: 14.45 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.403e-06/1.403e-06, allocations: 0 / 305.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.823e-05, allocations: 2.312 kB / 305.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.02559/0.02561, allocations: 31.13 MB / 336.3 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008707/0.03431, allocations: 10.23 MB / 346.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.03457, allocations: 15.88 kB / 346.6 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.03507, allocations: 226.5 kB / 346.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.0397, allocations: 2.392 MB / 349.2 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006289/0.04599, allocations: 3.279 MB / 352.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007637/0.04676, allocations: 0.887 MB / 353.4 MB, free: 324 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.04709, allocations: 281.8 kB / 353.6 MB, free: 28 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1307/0.1778, allocations: 463.6 kB / 354.1 MB, free: 24.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006166/0.1784, allocations: 309.6 kB / 354.4 MB, free: 24.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.1784, allocations: 35.22 kB / 354.4 MB, free: 24.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009508/0.1879, allocations: 7.143 MB / 361.6 MB, free: 24.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.633e-05/0.188, allocations: 100.8 kB / 361.7 MB, free: 24.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1882, allocations: 174.5 kB / 361.8 MB, free: 24.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006953/0.1952, allocations: 5.636 MB / 367.5 MB, free: 24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1952, allocations: 0 / 367.5 MB, free: 24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1952, allocations: 0 / 367.5 MB, free: 24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1952, allocations: 6.469 kB / 367.5 MB, free: 24 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.002507/0.1977, allocations: 1.298 MB / 368.8 MB, free: 23.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1977, allocations: 8.875 kB / 368.8 MB, free: 23.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005466/0.1983, allocations: 213.6 kB / 369 MB, free: 23.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1986, allocations: 277.3 kB / 369.3 MB, free: 22.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1986, allocations: 26.88 kB / 369.3 MB, free: 22.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.009e-05/0.1986, allocations: 34.38 kB / 369.3 MB, free: 22.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.199, allocations: 463.8 kB / 369.8 MB, free: 22.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1991, allocations: 3.438 kB / 369.8 MB, free: 22.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1991, allocations: 22.16 kB / 369.8 MB, free: 22.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1991, allocations: 6.844 kB / 369.8 MB, free: 22.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.1993, allocations: 231.9 kB / 370 MB, free: 22.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009031/0.2002, allocations: 1.451 MB / 371.5 MB, free: 21.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.2005, allocations: 272.1 kB / 371.8 MB, free: 21.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.2006, allocations: 111.3 kB / 371.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1112/0.3118, allocations: 58.35 MB / 430.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.3122, allocations: 303.6 kB / 430.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.3122, allocations: 0 / 430.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001777/0.314, allocations: 1.188 MB / 431.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.314, allocations: 140.5 kB / 431.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3142, allocations: 314.2 kB / 432.1 MB, free: 13.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3142, allocations: 33.33 kB / 432.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.3143, allocations: 205.2 kB / 432.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.3144, allocations: 125 kB / 432.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.3145, allocations: 78.23 kB / 432.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.3145, allocations: 358.7 kB / 432.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.3146, allocations: 106 kB / 433 MB, free: 12.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3147, allocations: 218 kB / 433.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3149, allocations: 326.9 kB / 433.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3149, allocations: 0 / 433.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003516/0.3153, allocations: 401 kB / 434 MB, free: 11.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.3153, allocations: 67.27 kB / 434 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3153, allocations: 4.25 kB / 434 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.3159, allocations: 159 kB / 434.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3161, allocations: 57.31 kB / 434.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004591/0.3165, allocations: 1.074 MB / 435.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3166, allocations: 15.38 kB / 435.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.3167, allocations: 19.8 kB / 435.3 MB, free: 10.22 MB / 378.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.0001366/0.3168, allocations: 205.3 kB / 435.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.3168, allocations: 47.39 kB / 435.6 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/0.3176, allocations: 0.9213 MB / 436.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3176, allocations: 18.81 kB / 436.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3176, allocations: 0 / 436.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3176, allocations: 6.234 kB / 436.5 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.3181, allocations: 392 kB / 436.9 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3182, allocations: 1.75 kB / 436.9 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3183, allocations: 45.98 kB / 437 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.3185, allocations: 181 kB / 437.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3185, allocations: 10.52 kB / 437.2 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004047/0.3189, allocations: 1.143 MB / 438.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3189, allocations: 0 / 438.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.3196, allocations: 0.9418 MB / 439.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.3197, allocations: 86.67 kB / 439.3 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.3198, allocations: 8 kB / 439.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.3198, allocations: 15.12 kB / 439.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3199, allocations: 19.95 kB / 439.4 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3199, allocations: 17.55 kB / 439.4 MB, free: 6.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.031e-05/0.32, allocations: 123.3 kB / 439.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.32, allocations: 0 / 439.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002037/0.322, allocations: 1.121 MB / 440.6 MB, free: 5.086 MB / 378.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.002672/0.3247, allocations: 1.559 MB / 442.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.3252, allocations: 0.5374 MB / 442.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3252, allocations: 6.797 kB / 442.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.3254, allocations: 389.7 kB / 443.1 MB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3258, allocations: 168.9 kB / 443.3 MB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3277, allocations: 1.273 MB / 444.5 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.447e-05/0.3278, allocations: 154.3 kB / 444.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.328, allocations: 93.11 kB / 444.8 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.3282, allocations: 177.3 kB / 445 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3282, allocations: 4 kB / 445 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of Templates: time 0.04489/0.3731, allocations: 45.59 MB / 490.6 MB, free: 3.285 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.894512909930199]