Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.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.00136/0.00136, allocations: 80.92 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.001183/0.001183, allocations: 172.8 kB / 24.91 MB, free: 9.148 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.1114/0.1114, allocations: 19.75 MB / 281.6 MB, free: 9.117 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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.498e-05, allocations: 2.969 kB / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.01762/0.01764, allocations: 21.44 MB / 326.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007366/0.02501, allocations: 8.41 MB / 335 MB, free: 336 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.02534, allocations: 15.88 kB / 335 MB, free: 320 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.02575, allocations: 111 kB / 335.2 MB, free: 208 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.02641, allocations: 290.1 kB / 335.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008338/0.03475, allocations: 4.58 MB / 340 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.03543, allocations: 0.6461 MB / 340.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.03572, allocations: 209.5 kB / 340.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/0.03639, allocations: 0.5107 MB / 341.4 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.03666, allocations: 235.3 kB / 341.6 MB, free: 9.719 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.03669, allocations: 24 kB / 341.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00738/0.04407, allocations: 5.911 MB / 347.5 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.04416, allocations: 63.69 kB / 347.6 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.04431, allocations: 127.7 kB / 347.7 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006569/0.05088, allocations: 4.552 MB / 352.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.05088, allocations: 0 / 352.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.05088, allocations: 0 / 352.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.05089, allocations: 0 / 352.3 MB, free: 15.03 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002035/0.05292, allocations: 0.9685 MB / 353.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.05296, allocations: 8.031 kB / 353.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.05312, allocations: 72.81 kB / 353.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.05341, allocations: 245.6 kB / 353.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.05349, allocations: 127.9 kB / 353.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.05352, allocations: 28.38 kB / 353.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.05388, allocations: 273.5 kB / 354 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.05389, allocations: 7.938 kB / 354 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.05391, allocations: 11.94 kB / 354 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.05391, allocations: 8 kB / 354 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.05407, allocations: 95.36 kB / 354.1 MB, free: 13.1 MB / 330.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.0007554/0.05482, allocations: 0.7189 MB / 354.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.05504, allocations: 98.5 kB / 354.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.05509, allocations: 40.84 kB / 355 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09914/0.1542, allocations: 58.38 MB / 413.3 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1543, allocations: 38.5 kB / 413.4 MB, free: 1.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/0.1543, allocations: 0 / 413.4 MB, free: 1.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001143/0.1554, allocations: 409.8 kB / 413.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.1554, allocations: 59.41 kB / 413.8 MB, free: 1.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1556, allocations: 250.9 kB / 414.1 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1556, allocations: 25.7 kB / 414.1 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.1557, allocations: 169 kB / 414.3 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.1557, allocations: 63.42 kB / 414.3 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.1558, allocations: 61.61 kB / 414.4 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.1559, allocations: 334.8 kB / 414.7 MB, free: 324 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.1559, allocations: 32.84 kB / 414.8 MB, free: 288 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.156, allocations: 61.5 kB / 414.8 MB, free: 216 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1561, allocations: 103.2 kB / 414.9 MB, free: 100 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1561, allocations: 0 / 414.9 MB, free: 100 kB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003319/0.1564, allocations: 213.6 kB / 415.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1564, allocations: 8 kB / 415.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1564, allocations: 0 / 415.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.1568, allocations: 124.8 kB / 415.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.1569, allocations: 31.92 kB / 415.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004102/0.1573, allocations: 0.6239 MB / 415.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1574, allocations: 23.89 kB / 415.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1574, allocations: 20.05 kB / 415.9 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.165e-05/0.1575, allocations: 108.1 kB / 416.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.764e-05/0.1576, allocations: 55.34 kB / 416.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.078e-05/0.1576, allocations: 87.38 kB / 416.2 MB, free: 14.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.1576, allocations: 0 / 416.2 MB, free: 14.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002151/0.1579, allocations: 188.9 kB / 416.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-06/0.1579, allocations: 8 kB / 416.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.1579, allocations: 0 / 416.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.158, allocations: 52.8 kB / 416.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.1581, allocations: 44.06 kB / 416.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009414/0.1591, allocations: 1.488 MB / 418 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.1591, allocations: 23.88 kB / 418 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1592, allocations: 4 kB / 418 MB, free: 12.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.inletFluidState.phase,Pump.int_Np) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,6)} Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.1592, allocations: 192.2 kB / 418.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1593, allocations: 27.92 kB / 418.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.1596, allocations: 360 kB / 418.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1596, allocations: 11.98 kB / 418.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.1596, allocations: 0 / 418.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1596, allocations: 7.984 kB / 418.6 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1599, allocations: 209.4 kB / 418.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1599, allocations: 4 kB / 418.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.764e-05/0.16, allocations: 35.91 kB / 418.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.1602, allocations: 176.5 kB / 419 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1602, allocations: 11.98 kB / 419 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003629/0.1605, allocations: 0.6832 MB / 419.7 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1605, allocations: 3.938 kB / 419.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.1609, allocations: 466 kB / 420.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.161, allocations: 47.64 kB / 420.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.161, allocations: 0 / 420.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.1611, allocations: 19.97 kB / 420.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1611, allocations: 23.97 kB / 420.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1611, allocations: 7.984 kB / 420.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.1612, allocations: 84.64 kB / 420.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1612, allocations: 4.031 kB / 420.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001842/0.163, allocations: 0.9278 MB / 421.3 MB, free: 9.496 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002532/0.1656, allocations: 1.196 MB / 422.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.166, allocations: 382.9 kB / 422.8 MB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1661, allocations: 0 / 422.8 MB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1663, allocations: 139.4 kB / 423 MB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1666, allocations: 108.5 kB / 423.1 MB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.1677, allocations: 0.7328 MB / 423.8 MB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.1677, allocations: 101 kB / 423.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1679, allocations: 71.2 kB / 424 MB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.168, allocations: 121.2 kB / 424.1 MB, free: 6.598 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.168, allocations: 0 / 424.1 MB, free: 6.598 MB / 394.7 MB Notification: Performance of Templates: time 0.1585/0.3265, allocations: 38 MB / 462.1 MB, free: 114.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.633179215714335]