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.001532/0.001532, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001648/0.001648, allocations: 157.7 kB / 24.27 MB, free: 148 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.432/1.432, allocations: 158.6 MB / 186.1 MB, free: 2.883 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.3038/0.3038, allocations: 36.35 MB / 274.7 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 179] 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 2.305e-06/2.305e-06, allocations: 0 / 353 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.012e-05, allocations: 2.312 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.06417/0.0642, allocations: 46.39 MB / 399.4 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.08847, allocations: 15.31 MB / 414.7 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.08896, allocations: 15.88 kB / 414.8 MB, free: 5.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009806/0.08994, allocations: 274.2 kB / 415 MB, free: 5.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007149/0.09709, allocations: 2.388 MB / 417.4 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.1076, allocations: 3.256 MB / 420.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.109, allocations: 0.8831 MB / 421.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.1096, allocations: 249.2 kB / 421.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009264/0.1106, allocations: 466.8 kB / 422.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006768/0.1112, allocations: 343.1 kB / 422.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-05/0.1113, allocations: 32 kB / 422.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01771/0.129, allocations: 7.155 MB / 429.8 MB, free: 6.789 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.1292, allocations: 99.61 kB / 429.9 MB, free: 6.691 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.1297, allocations: 175.6 kB / 430 MB, free: 6.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.1441, allocations: 5.741 MB / 435.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1441, allocations: 0 / 435.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1441, allocations: 0 / 435.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.1442, allocations: 0 / 435.8 MB, free: 0.7656 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.1378/0.282, allocations: 1.322 MB / 437.1 MB, free: 92.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.282, allocations: 9.781 kB / 437.1 MB, free: 92.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.2832, allocations: 209.4 kB / 437.3 MB, free: 92.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.2839, allocations: 301.5 kB / 437.6 MB, free: 92.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.2839, allocations: 28.97 kB / 437.6 MB, free: 92.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.284, allocations: 36.23 kB / 437.7 MB, free: 92.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/0.2848, allocations: 0.558 MB / 438.2 MB, free: 91.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.2849, allocations: 3.375 kB / 438.2 MB, free: 91.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.2849, allocations: 13.78 kB / 438.3 MB, free: 91.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2849, allocations: 7.531 kB / 438.3 MB, free: 91.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.2856, allocations: 376.3 kB / 438.6 MB, free: 91.66 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2875, allocations: 1.673 MB / 440.3 MB, free: 90.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.2881, allocations: 313.1 kB / 440.6 MB, free: 90.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.2884, allocations: 194.2 kB / 440.8 MB, free: 90.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.054/0.3423, allocations: 16.92 MB / 457.7 MB, free: 77.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006538/0.343, allocations: 358 kB / 458.1 MB, free: 77.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.343, allocations: 0 / 458.1 MB, free: 77.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003524/0.3465, allocations: 1.729 MB / 459.8 MB, free: 75.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3466, allocations: 144.5 kB / 459.9 MB, free: 75.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.3469, allocations: 357.6 kB / 460.3 MB, free: 74.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.3469, allocations: 33.7 kB / 460.3 MB, free: 74.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.347, allocations: 252.6 kB / 460.6 MB, free: 74.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/0.3471, allocations: 118.4 kB / 460.7 MB, free: 74.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3472, allocations: 77.95 kB / 460.8 MB, free: 74.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.3473, allocations: 354.7 kB / 461.1 MB, free: 74.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3475, allocations: 200.2 kB / 461.3 MB, free: 73.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.3477, allocations: 305.2 kB / 461.6 MB, free: 73.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.3481, allocations: 482.1 kB / 462.1 MB, free: 73.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3481, allocations: 4 kB / 462.1 MB, free: 73.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001003/0.3491, allocations: 0.7046 MB / 462.8 MB, free: 72.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.3492, allocations: 67.39 kB / 462.9 MB, free: 72.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3492, allocations: 6.938 kB / 462.9 MB, free: 72.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.3504, allocations: 165.4 kB / 463 MB, free: 72.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3507, allocations: 59.91 kB / 463.1 MB, free: 72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006967/0.3514, allocations: 1.132 MB / 464.2 MB, free: 70.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.3516, allocations: 19.94 kB / 464.2 MB, free: 70.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.3517, allocations: 15.98 kB / 464.2 MB, free: 70.78 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.000223/0.3519, allocations: 248.2 kB / 464.5 MB, free: 70.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.352, allocations: 55.72 kB / 464.5 MB, free: 70.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.3536, allocations: 1.689 MB / 466.2 MB, free: 68.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.3537, allocations: 15.97 kB / 466.2 MB, free: 68.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3537, allocations: 0 / 466.2 MB, free: 68.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3537, allocations: 7.938 kB / 466.3 MB, free: 68.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.3542, allocations: 0.6002 MB / 466.9 MB, free: 68.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3542, allocations: 0 / 466.9 MB, free: 68.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3544, allocations: 39.92 kB / 466.9 MB, free: 68.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/0.3549, allocations: 265.6 kB / 467.2 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.355, allocations: 8 kB / 467.2 MB, free: 67.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006945/0.3556, allocations: 1.359 MB / 468.5 MB, free: 66.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3556, allocations: 0 / 468.5 MB, free: 66.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3573, allocations: 1.889 MB / 470.4 MB, free: 64.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.3575, allocations: 107.3 kB / 470.5 MB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.3576, allocations: 12 kB / 470.5 MB, free: 64.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3578, allocations: 8 kB / 470.5 MB, free: 64.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.3579, allocations: 23.95 kB / 470.6 MB, free: 64.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.3579, allocations: 19.98 kB / 470.6 MB, free: 64.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.3581, allocations: 247.1 kB / 470.8 MB, free: 64.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3581, allocations: 0 / 470.8 MB, free: 64.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002622/0.3607, allocations: 1.123 MB / 471.9 MB, free: 62.9 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.004503/0.3652, allocations: 1.467 MB / 473.4 MB, free: 61.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.3663, allocations: 0.8204 MB / 474.2 MB, free: 60.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3663, allocations: 0 / 474.2 MB, free: 60.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.3669, allocations: 0.5751 MB / 474.8 MB, free: 60.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000915/0.3678, allocations: 178.5 kB / 475 MB, free: 59.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3694, allocations: 1.488 MB / 476.5 MB, free: 58.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.3696, allocations: 321.4 kB / 476.8 MB, free: 58.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.3698, allocations: 94.02 kB / 476.9 MB, free: 57.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.3699, allocations: 36.48 kB / 476.9 MB, free: 57.92 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3699, allocations: 0 / 476.9 MB, free: 57.92 MB / 362.7 MB Notification: Performance of Templates: time 0.0419/0.4118, allocations: 40.37 MB / 0.5052 GB, free: 17.53 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.858399578020908]