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.0007489/0.0007489, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.002816/0.002816, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8693/0.8693, allocations: 177.1 MB / 205 MB, free: 5.73 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.1037/0.1037, allocations: 19.73 MB / 281.2 MB, free: 9.461 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.733e-06/1.733e-06, allocations: 0 / 417.8 MB, free: 7.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.182e-05, allocations: 6.781 kB / 417.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.02516/0.02519, allocations: 31.69 MB / 449.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006849/0.03204, allocations: 7.637 MB / 457.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.03225, allocations: 15.88 kB / 457.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.03268, allocations: 135 kB / 457.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00059/0.03327, allocations: 286.2 kB / 457.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009575/0.04284, allocations: 4.549 MB / 462.1 MB, free: 6.234 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.04334, allocations: 0.6461 MB / 462.8 MB, free: 5.586 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.04359, allocations: 185.5 kB / 462.9 MB, free: 5.402 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005878/0.04417, allocations: 0.5417 MB / 463.5 MB, free: 4.859 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.0444, allocations: 239.4 kB / 463.7 MB, free: 4.625 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.04443, allocations: 28 kB / 463.7 MB, free: 4.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006092/0.05052, allocations: 5.923 MB / 469.7 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.05058, allocations: 67.62 kB / 469.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.05068, allocations: 131.7 kB / 469.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004402/0.05508, allocations: 4.619 MB / 474.5 MB, free: 9.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.05508, allocations: 0 / 474.5 MB, free: 9.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.05508, allocations: 4 kB / 474.5 MB, free: 9.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.05509, allocations: 0 / 474.5 MB, free: 9.84 MB / 378.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.001523/0.05661, allocations: 1.009 MB / 475.5 MB, free: 8.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.05665, allocations: 8.031 kB / 475.5 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.05679, allocations: 52.69 kB / 475.6 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.05715, allocations: 245.7 kB / 475.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.05727, allocations: 131.9 kB / 475.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.05731, allocations: 24.38 kB / 475.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.0578, allocations: 344.9 kB / 476.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.05781, allocations: 3.938 kB / 476.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.05784, allocations: 12 kB / 476.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.05784, allocations: 11.98 kB / 476.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.05831, allocations: 285.7 kB / 476.6 MB, free: 7.637 MB / 378.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.0009493/0.05926, allocations: 0.887 MB / 477.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.05967, allocations: 206.8 kB / 477.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.05986, allocations: 120.7 kB / 477.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02806/0.08792, allocations: 17.58 MB / 495.4 MB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.08794, allocations: 34.56 kB / 495.4 MB, free: 4.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.08794, allocations: 0 / 495.4 MB, free: 4.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001652/0.0896, allocations: 0.6827 MB / 496.1 MB, free: 4.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.08963, allocations: 59.34 kB / 496.1 MB, free: 3.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.0898, allocations: 256.2 kB / 496.4 MB, free: 3.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.08982, allocations: 33.7 kB / 496.4 MB, free: 3.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.08991, allocations: 188.6 kB / 496.6 MB, free: 3.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.08995, allocations: 71.36 kB / 496.7 MB, free: 3.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.09002, allocations: 57.64 kB / 496.7 MB, free: 3.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.0901, allocations: 330.8 kB / 497.1 MB, free: 3.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.09029, allocations: 120.6 kB / 497.2 MB, free: 2.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.09048, allocations: 147.2 kB / 497.3 MB, free: 2.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.09084, allocations: 247.2 kB / 497.6 MB, free: 2.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.09085, allocations: 0 / 497.6 MB, free: 2.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006552/0.0915, allocations: 413 kB / 498 MB, free: 2.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.09152, allocations: 8 kB / 498 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.09152, allocations: 3.984 kB / 498 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.09202, allocations: 176.8 kB / 498.2 MB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.09212, allocations: 43.89 kB / 498.2 MB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005463/0.09267, allocations: 0.7161 MB / 498.9 MB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.09279, allocations: 35.91 kB / 498.9 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.09282, allocations: 11.98 kB / 499 MB, free: 1.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002048/0.09302, allocations: 192.1 kB / 499.1 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001616/0.09318, allocations: 119.4 kB / 499.3 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002904/0.09347, allocations: 211.2 kB / 499.5 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.09347, allocations: 0 / 499.5 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004672/0.09394, allocations: 345.1 kB / 499.8 MB, free: 180 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.09395, allocations: 4 kB / 499.8 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/0.09395, allocations: 0 / 499.8 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.09407, allocations: 64.91 kB / 499.9 MB, free: 108 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.09419, allocations: 51.89 kB / 499.9 MB, free: 56 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.09566, allocations: 1.688 MB / 0.4899 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.09576, allocations: 27.92 kB / 0.4899 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.09577, allocations: 12 kB / 0.4899 GB, free: 14.22 MB / 410.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.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 8.579e-05/0.09586, allocations: 196.2 kB / 0.4901 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.09589, allocations: 27.81 kB / 0.4901 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007413/0.09663, allocations: 0.6413 MB / 0.4907 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.09664, allocations: 3.984 kB / 0.4907 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.09664, allocations: 4 kB / 0.4907 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.09665, allocations: 0 / 0.4907 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.09689, allocations: 309.6 kB / 0.491 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.09689, allocations: 4 kB / 0.491 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.09701, allocations: 43.95 kB / 0.4911 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003024/0.09731, allocations: 273.7 kB / 0.4913 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.09733, allocations: 7.938 kB / 0.4914 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000593/0.09792, allocations: 0.9352 MB / 0.4923 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09792, allocations: 0 / 0.4923 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/0.09882, allocations: 0.8569 MB / 0.4931 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.09888, allocations: 59.58 kB / 0.4932 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.0989, allocations: 4 kB / 0.4932 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.09902, allocations: 27.97 kB / 0.4932 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.09909, allocations: 23.95 kB / 0.4932 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.0991, allocations: 4 kB / 0.4932 GB, free: 10.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.09919, allocations: 183.1 kB / 0.4934 GB, free: 10.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09919, allocations: 4.062 kB / 0.4934 GB, free: 10.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001746/0.1009, allocations: 0.9356 MB / 0.4943 GB, free: 9.609 MB / 410.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.002327/0.1033, allocations: 1.13 MB / 0.4954 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.1042, allocations: 0.5684 MB / 0.496 GB, free: 7.883 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1042, allocations: 4 kB / 0.496 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.1045, allocations: 233.6 kB / 0.4962 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.105, allocations: 110.2 kB / 0.4963 GB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1062, allocations: 0.7497 MB / 0.497 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.1063, allocations: 185.6 kB / 0.4972 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.1063, allocations: 24.5 kB / 0.4972 GB, free: 6.543 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1063, allocations: 0 / 0.4972 GB, free: 6.543 MB / 410.7 MB Notification: Performance of Templates: time 0.01778/0.1241, allocations: 20.11 MB / 0.5169 GB, free: 2.418 MB / 426.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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.265465845353901] Failed to read output from testmodel.py, exit status != 0: 0.13026568945497274 0.139459209 0.082622017 Calling exit ...