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.0007709/0.0007709, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002833/0.002833, allocations: 162.2 kB / 24.7 MB, free: 9.426 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.7654/0.7654, allocations: 158.6 MB / 186.5 MB, free: 2.621 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.1617/0.1617, allocations: 36.34 MB / 275.1 MB, free: 10.86 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.132e-06/1.132e-06, allocations: 0 / 415.6 MB, free: 5.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.919e-05, allocations: 2.281 kB / 415.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.178/0.178, allocations: 46.37 MB / 462 MB, free: 7.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009261/0.1873, allocations: 15.33 MB / 477.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.1875, allocations: 12.75 kB / 477.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.188, allocations: 274.5 kB / 477.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.1915, allocations: 2.388 MB / 480 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.1958, allocations: 3.26 MB / 483.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.1963, allocations: 0.8741 MB / 484.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.1966, allocations: 243 kB / 484.3 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.1969, allocations: 471 kB / 484.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1972, allocations: 344.4 kB / 485.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.1972, allocations: 34.84 kB / 485.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006245/0.2035, allocations: 7.143 MB / 492.3 MB, free: 464 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.2035, allocations: 107.5 kB / 492.4 MB, free: 356 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2037, allocations: 171.6 kB / 492.6 MB, free: 184 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.2081, allocations: 5.737 MB / 498.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2081, allocations: 0 / 498.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2081, allocations: 0 / 498.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2081, allocations: 0 / 498.3 MB, free: 10.43 MB / 394.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.00143/0.2095, allocations: 1.315 MB / 499.6 MB, free: 9.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2095, allocations: 14.66 kB / 499.7 MB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004634/0.21, allocations: 160.5 kB / 499.8 MB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.2103, allocations: 295.8 kB / 0.4884 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2104, allocations: 25.03 kB / 0.4884 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.2104, allocations: 36.38 kB / 0.4884 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.2109, allocations: 0.5553 MB / 0.489 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.211, allocations: 384 / 0.489 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.211, allocations: 23.94 kB / 0.489 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.211, allocations: 8 kB / 0.489 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.2114, allocations: 369.7 kB / 0.4894 GB, free: 7.504 MB / 394.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.0012/0.2126, allocations: 1.671 MB / 0.491 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.2129, allocations: 314 kB / 0.4913 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.2131, allocations: 192.2 kB / 0.4915 GB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02581/0.2389, allocations: 16.92 MB / 0.508 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.2393, allocations: 362 kB / 0.5083 GB, free: 3.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.2393, allocations: 0 / 0.5083 GB, free: 3.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002176/0.2414, allocations: 1.702 MB / 0.51 GB, free: 2.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.2415, allocations: 148.4 kB / 0.5101 GB, free: 1.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.2417, allocations: 353.6 kB / 0.5105 GB, free: 1.559 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2418, allocations: 33.7 kB / 0.5105 GB, free: 1.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2419, allocations: 248.7 kB / 0.5108 GB, free: 1.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.2419, allocations: 119 kB / 0.5109 GB, free: 1.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.242, allocations: 77.97 kB / 0.5109 GB, free: 1.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.2421, allocations: 354.7 kB / 0.5113 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2422, allocations: 196.2 kB / 0.5115 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.2424, allocations: 313.2 kB / 0.5118 GB, free: 164 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.2428, allocations: 478.2 kB / 0.5122 GB, free: 15.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2428, allocations: 3.938 kB / 0.5122 GB, free: 15.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006133/0.2434, allocations: 0.6887 MB / 0.5129 GB, free: 14.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.2435, allocations: 71.38 kB / 0.513 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2435, allocations: 8.25 kB / 0.513 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.2441, allocations: 157.6 kB / 0.5131 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2442, allocations: 56.8 kB / 0.5132 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005294/0.2447, allocations: 1.128 MB / 0.5143 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/0.2448, allocations: 16.02 kB / 0.5143 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.2449, allocations: 20 kB / 0.5143 GB, free: 13.39 MB / 426.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.0001652/0.245, allocations: 249.1 kB / 0.5146 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.2451, allocations: 43.72 kB / 0.5146 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.2463, allocations: 1.699 MB / 0.5163 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.2463, allocations: 19.97 kB / 0.5163 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2463, allocations: 0 / 0.5163 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2463, allocations: 3.984 kB / 0.5163 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.2467, allocations: 0.5958 MB / 0.5169 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2467, allocations: 0 / 0.5169 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2468, allocations: 43.97 kB / 0.5169 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.2471, allocations: 254.5 kB / 0.5171 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.2471, allocations: 15.98 kB / 0.5172 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005418/0.2476, allocations: 1.355 MB / 0.5185 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2476, allocations: 0 / 0.5185 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2489, allocations: 1.863 MB / 0.5203 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.249, allocations: 111.3 kB / 0.5204 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.2491, allocations: 15.98 kB / 0.5204 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.2491, allocations: 8 kB / 0.5204 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.2492, allocations: 24.14 kB / 0.5205 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.2492, allocations: 16 kB / 0.5205 GB, free: 6.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.2494, allocations: 247.2 kB / 0.5207 GB, free: 6.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2494, allocations: 0 / 0.5207 GB, free: 6.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001794/0.2511, allocations: 1.111 MB / 0.5218 GB, free: 5.523 MB / 426.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.002469/0.2536, allocations: 1.492 MB / 0.5232 GB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006997/0.2543, allocations: 0.8171 MB / 0.524 GB, free: 3.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2543, allocations: 0 / 0.524 GB, free: 3.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.2548, allocations: 0.5717 MB / 0.5246 GB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.2552, allocations: 168.1 kB / 0.5248 GB, free: 2.395 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.2565, allocations: 1.491 MB / 0.5262 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.2567, allocations: 317.5 kB / 0.5265 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.2567, allocations: 36.48 kB / 0.5266 GB, free: 496 kB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2567, allocations: 0 / 0.5266 GB, free: 496 kB / 426.7 MB Notification: Performance of Templates: time 0.02079/0.2775, allocations: 29.13 MB / 0.555 GB, free: 3.301 MB / 458.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: 6.555943233892322] Failed to read output from testmodel.py, exit status != 0: 0.2829036582261324 0.29078063899999995 0.080800603 Calling exit ...