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.001447/0.001447, allocations: 82.16 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001507/0.001507, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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.437/1.437, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.1429/0.1429, allocations: 19.74 MB / 280.4 MB, free: 12.93 MB / 270.1 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.903e-06/1.903e-06, allocations: 0 / 417.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.168e-05, allocations: 6.219 kB / 417.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03913/0.03916, allocations: 31.67 MB / 448.7 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1794/0.2186, allocations: 7.635 MB / 456.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000485/0.219, allocations: 16.56 kB / 456.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005704/0.2196, allocations: 137 kB / 456.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007707/0.2204, allocations: 288.2 kB / 456.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01348/0.2339, allocations: 4.553 MB / 461.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008972/0.2347, allocations: 0.6449 MB / 462 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.2351, allocations: 186.8 kB / 462.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009072/0.236, allocations: 0.541 MB / 462.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.2364, allocations: 240.9 kB / 463 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.2364, allocations: 25.34 kB / 463 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.2479, allocations: 5.913 MB / 468.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.2481, allocations: 72.17 kB / 469 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.2483, allocations: 124.6 kB / 469.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008469/0.2568, allocations: 4.624 MB / 473.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2568, allocations: 3.375 kB / 473.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2568, allocations: 0 / 473.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2568, allocations: 0 / 473.7 MB, free: 12.16 MB / 366.1 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.00276/0.2596, allocations: 1.004 MB / 474.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2596, allocations: 8.25 kB / 474.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.2598, allocations: 53.53 kB / 474.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.2601, allocations: 250.6 kB / 475 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.514e-05/0.2602, allocations: 127 kB / 475.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.2603, allocations: 25.34 kB / 475.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.261, allocations: 351.5 kB / 475.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.261, allocations: 0 / 475.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.2611, allocations: 10.44 kB / 475.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.2611, allocations: 8.531 kB / 475.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.2619, allocations: 292 kB / 475.8 MB, free: 10.68 MB / 366.1 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.001206/0.2631, allocations: 0.8892 MB / 476.7 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.2638, allocations: 203.6 kB / 476.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.2641, allocations: 119.8 kB / 477 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05988/0.324, allocations: 17.58 MB / 494.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.3241, allocations: 38.48 kB / 494.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.3241, allocations: 0 / 494.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.003473/0.3276, allocations: 0.6924 MB / 495.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.3276, allocations: 59.41 kB / 495.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.3279, allocations: 252.2 kB / 495.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.3279, allocations: 25.7 kB / 495.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.3281, allocations: 196.6 kB / 495.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.3282, allocations: 73.89 kB / 495.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.3283, allocations: 41.7 kB / 496 MB, free: 10.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3284, allocations: 334.8 kB / 496.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.3288, allocations: 113.4 kB / 496.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.3292, allocations: 147.8 kB / 496.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.33, allocations: 245.4 kB / 496.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.33, allocations: 4 kB / 496.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00141/0.3314, allocations: 416.6 kB / 497.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3315, allocations: 6.188 kB / 497.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3315, allocations: 0 / 497.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.3325, allocations: 180.7 kB / 497.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.3327, allocations: 47.94 kB / 497.4 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.3338, allocations: 0.7067 MB / 498.1 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.3341, allocations: 39.14 kB / 498.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.3341, allocations: 16 kB / 498.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004313/0.3345, allocations: 192 kB / 498.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003548/0.3349, allocations: 124.4 kB / 498.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006528/0.3355, allocations: 213.3 kB / 498.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.3355, allocations: 0 / 498.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.001032/0.3366, allocations: 335.4 kB / 499 MB, free: 7.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3366, allocations: 4 kB / 499 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3366, allocations: 7.938 kB / 499 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.3368, allocations: 60.91 kB / 499.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.3371, allocations: 58.05 kB / 499.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.3394, allocations: 1.684 MB / 0.4891 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3397, allocations: 31.92 kB / 0.4891 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3397, allocations: 12 kB / 0.4891 GB, free: 5.711 MB / 382.1 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.int_Np,Pump.inletFluidState.phase) * 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 {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.3399, allocations: 199.6 kB / 0.4893 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.3399, allocations: 28.88 kB / 0.4894 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.3415, allocations: 0.6438 MB / 0.49 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3415, allocations: 4 kB / 0.49 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3415, allocations: 0 / 0.49 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3415, allocations: 7.984 kB / 0.49 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.342, allocations: 304.2 kB / 0.4903 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.342, allocations: 0 / 0.4903 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.3422, allocations: 43.06 kB / 0.4903 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006285/0.3429, allocations: 265.7 kB / 0.4906 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.3429, allocations: 11.23 kB / 0.4906 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.3441, allocations: 0.9321 MB / 0.4915 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3441, allocations: 3.984 kB / 0.4915 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.346, allocations: 0.8559 MB / 0.4923 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3462, allocations: 51.69 kB / 0.4924 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.3462, allocations: 11.94 kB / 0.4924 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.3465, allocations: 19.97 kB / 0.4924 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.3466, allocations: 31.89 kB / 0.4925 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3466, allocations: 8.062 kB / 0.4925 GB, free: 2.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.3468, allocations: 179.1 kB / 0.4926 GB, free: 2.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3468, allocations: 0 / 0.4926 GB, free: 2.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003129/0.3499, allocations: 0.9318 MB / 0.4935 GB, free: 1.133 MB / 382.1 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.004706/0.3546, allocations: 1.145 MB / 0.4947 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.3566, allocations: 0.5667 MB / 0.4952 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3566, allocations: 0 / 0.4952 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.3574, allocations: 237.4 kB / 0.4954 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.3582, allocations: 105.7 kB / 0.4955 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3598, allocations: 0.719 MB / 0.4962 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.36, allocations: 189.6 kB / 0.4964 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.3602, allocations: 66.2 kB / 0.4965 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.3603, allocations: 32.5 kB / 0.4965 GB, free: 14.16 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3603, allocations: 0 / 0.4965 GB, free: 14.16 MB / 398.1 MB Notification: Performance of Templates: time 0.05143/0.4117, allocations: 33.77 MB / 0.5295 GB, free: 12.52 MB / 430.1 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.122967634350061] Failed to read output from testmodel.py, exit status != 0: 0.4207443334162235 0.43491803100000004 0.174893248 Calling exit ...