Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.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.0008062/0.0008062, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.004149/0.004149, allocations: 156.5 kB / 24.7 MB, free: 9.434 MB / 18.57 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.8565/0.8565, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.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.09409/0.09409, allocations: 19.72 MB / 281.2 MB, free: 9.473 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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 417.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.543e-05, allocations: 2.281 kB / 417.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.0262/0.02623, allocations: 33.94 MB / 451.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.0377, allocations: 13.06 MB / 464.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.03803, allocations: 11.88 kB / 464.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.03852, allocations: 143 kB / 465 MB, free: 3.355 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.03886, allocations: 238.2 kB / 465.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01574/0.05459, allocations: 6.545 MB / 471.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.05526, allocations: 0.6256 MB / 472.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.05556, allocations: 178.3 kB / 472.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.05592, allocations: 319.1 kB / 472.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.05615, allocations: 191.3 kB / 473 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.05618, allocations: 24 kB / 473.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/0.06804, allocations: 8.563 MB / 481.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.06813, allocations: 67.69 kB / 481.7 MB, free: 2.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.06827, allocations: 131.6 kB / 481.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008818/0.07708, allocations: 6.595 MB / 488.4 MB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.07709, allocations: 4 kB / 488.4 MB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.07709, allocations: 4 kB / 488.4 MB, free: 11.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.0771, allocations: 0 / 488.4 MB, free: 11.86 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002137/0.07923, allocations: 1.187 MB / 489.6 MB, free: 10.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.07927, allocations: 8.031 kB / 489.6 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.07943, allocations: 60.67 kB / 489.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.07988, allocations: 269.6 kB / 490 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.0799, allocations: 25.02 kB / 490 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.07994, allocations: 32.33 kB / 490 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.08035, allocations: 349.5 kB / 490.3 MB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.08037, allocations: 3.938 kB / 490.4 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.08039, allocations: 12 kB / 490.4 MB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.08039, allocations: 4 kB / 490.4 MB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.08067, allocations: 213.8 kB / 490.6 MB, free: 9.625 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.001039/0.08171, allocations: 1.107 MB / 491.7 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.08203, allocations: 174.6 kB / 491.9 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.72e-05/0.0821, allocations: 56.84 kB / 491.9 MB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05386/0.136, allocations: 35.09 MB / 0.5147 GB, free: 5.078 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.136, allocations: 34.55 kB / 0.5147 GB, free: 5.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.384e-06/0.136, allocations: 3.938 kB / 0.5147 GB, free: 5.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008157/0.1368, allocations: 318 kB / 0.515 GB, free: 4.715 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1368, allocations: 55.41 kB / 0.515 GB, free: 4.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1371, allocations: 292.5 kB / 0.5153 GB, free: 4.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1371, allocations: 29.7 kB / 0.5154 GB, free: 4.316 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1372, allocations: 208.1 kB / 0.5156 GB, free: 4.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.1372, allocations: 59.48 kB / 0.5156 GB, free: 4.047 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.1373, allocations: 41.7 kB / 0.5156 GB, free: 4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.1373, allocations: 342.8 kB / 0.516 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.1374, allocations: 43.97 kB / 0.516 GB, free: 3.613 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.1375, allocations: 106.7 kB / 0.5161 GB, free: 3.48 MB / 426.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.1381, allocations: 289.1 kB / 0.5164 GB, free: 3.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1381, allocations: 0 / 0.5164 GB, free: 3.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002465/0.1383, allocations: 222.1 kB / 0.5166 GB, free: 2.949 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1383, allocations: 11.98 kB / 0.5166 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1383, allocations: 0 / 0.5166 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.566e-05/0.1384, allocations: 25.08 kB / 0.5166 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1385, allocations: 51.91 kB / 0.5167 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006682/0.1392, allocations: 1.253 MB / 0.5179 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.1393, allocations: 19.88 kB / 0.5179 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1393, allocations: 8.156 kB / 0.5179 GB, free: 1.477 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1394, allocations: 145 kB / 0.5181 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1395, allocations: 39.75 kB / 0.5181 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.14, allocations: 0.6211 MB / 0.5187 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.14, allocations: 15.86 kB / 0.5187 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.14, allocations: 4 kB / 0.5187 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.14, allocations: 0 / 0.5187 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/0.1409, allocations: 0.997 MB / 0.5197 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1409, allocations: 0 / 0.5197 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.76e-05/0.141, allocations: 35.97 kB / 0.5197 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.138e-05/0.141, allocations: 20.86 kB / 0.5198 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.141, allocations: 3.984 kB / 0.5198 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005385/0.1416, allocations: 1.257 MB / 0.521 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1416, allocations: 0 / 0.521 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.142, allocations: 0.6709 MB / 0.5217 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.1421, allocations: 43.67 kB / 0.5217 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1421, allocations: 8 kB / 0.5217 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.1422, allocations: 3.984 kB / 0.5217 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1422, allocations: 15.98 kB / 0.5217 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1422, allocations: 4 kB / 0.5217 GB, free: 13.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1424, allocations: 211.2 kB / 0.5219 GB, free: 13.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1424, allocations: 3.938 kB / 0.5219 GB, free: 13.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002753/0.1451, allocations: 1.282 MB / 0.5232 GB, free: 11.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003447/0.1486, allocations: 1.614 MB / 0.5248 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.1489, allocations: 294.5 kB / 0.525 GB, free: 9.996 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1489, allocations: 0 / 0.525 GB, free: 9.996 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1491, allocations: 223.1 kB / 0.5253 GB, free: 9.766 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.1495, allocations: 127.4 kB / 0.5254 GB, free: 9.645 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.1504, allocations: 0.886 MB / 0.5262 GB, free: 8.719 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.1506, allocations: 208.1 kB / 0.5264 GB, free: 8.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.1506, allocations: 28.5 kB / 0.5265 GB, free: 8.469 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1506, allocations: 0 / 0.5265 GB, free: 8.469 MB / 442.7 MB Notification: Performance of Templates: time 0.02436/0.175, allocations: 27.78 MB / 0.5536 GB, free: 12.66 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.402838626876473] Failed to read output from testmodel.py, exit status != 0: 0.18079960253089666 0.188333833 0.109439193 Calling exit ...