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.00181/0.00181, allocations: 112.5 kB / 21.19 MB, free: 0.7812 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.001633/0.001633, allocations: 210.7 kB / 24.49 MB, free: 4.18 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.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.1499/0.1499, allocations: 26.82 MB / 341.5 MB, free: 8.199 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 75.89 kB / 478.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3178, allocations: 60.48 MB / 0.5259 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.0362/0.354, allocations: 35.25 MB / 0.5604 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.3658, allocations: 8.666 MB / 0.5688 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.3663, allocations: 15.59 kB / 0.5689 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.3668, allocations: 142.1 kB / 0.569 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009827/0.3678, allocations: 271.2 kB / 0.5692 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01459/0.3824, allocations: 4.51 MB / 0.5736 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.3835, allocations: 0.6036 MB / 0.5742 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.3839, allocations: 185.4 kB / 0.5744 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.3849, allocations: 458.8 kB / 0.5749 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.3853, allocations: 275 kB / 0.5751 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.3854, allocations: 24 kB / 0.5751 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/0.3981, allocations: 6.267 MB / 0.5813 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.3983, allocations: 83.61 kB / 0.5813 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.3985, allocations: 175.1 kB / 0.5815 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008618/0.4072, allocations: 3.667 MB / 0.5851 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4072, allocations: 0 / 0.5851 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4072, allocations: 0 / 0.5851 GB, free: 8.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.4072, allocations: 0 / 0.5851 GB, free: 8.355 MB / 430.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.002945/0.4101, allocations: 0.9975 MB / 0.5861 GB, free: 7.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4102, allocations: 8.031 kB / 0.5861 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.4104, allocations: 52.64 kB / 0.5861 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.411, allocations: 269.2 kB / 0.5864 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.4111, allocations: 72.47 kB / 0.5864 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.4111, allocations: 32.12 kB / 0.5865 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.4119, allocations: 332.3 kB / 0.5868 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.412, allocations: 0 / 0.5868 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.412, allocations: 8 kB / 0.5868 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.412, allocations: 8 kB / 0.5868 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.4128, allocations: 273.7 kB / 0.5871 GB, free: 6.238 MB / 430.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.001742/0.4146, allocations: 1.377 MB / 0.5884 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.4152, allocations: 190.6 kB / 0.5886 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.4156, allocations: 105 kB / 0.5887 GB, free: 4.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06114/0.4767, allocations: 17.51 MB / 0.6058 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4767, allocations: 34.56 kB / 0.6058 GB, free: 2.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 2.314e-06/0.4767, allocations: 0 / 0.6058 GB, free: 2.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.002752/0.4795, allocations: 0.5836 MB / 0.6064 GB, free: 2.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4795, allocations: 59.41 kB / 0.6065 GB, free: 2.168 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.4799, allocations: 280.5 kB / 0.6067 GB, free: 1.887 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.4799, allocations: 29.7 kB / 0.6068 GB, free: 1.852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.48, allocations: 176.4 kB / 0.6069 GB, free: 1.676 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.4801, allocations: 71.38 kB / 0.607 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.4802, allocations: 41.7 kB / 0.607 GB, free: 1.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4804, allocations: 346.8 kB / 0.6074 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.4807, allocations: 100.8 kB / 0.6075 GB, free: 1.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.481, allocations: 131.4 kB / 0.6076 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/0.4816, allocations: 227.2 kB / 0.6078 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4816, allocations: 0 / 0.6078 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001023/0.4827, allocations: 352.6 kB / 0.6081 GB, free: 392 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4827, allocations: 8 kB / 0.6081 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4827, allocations: 0 / 0.6081 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.4832, allocations: 104.7 kB / 0.6082 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.4835, allocations: 55.98 kB / 0.6083 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007114/0.4842, allocations: 0.6381 MB / 0.6089 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.4845, allocations: 39.7 kB / 0.609 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.4845, allocations: 15.98 kB / 0.609 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003754/0.4849, allocations: 192 kB / 0.6092 GB, free: 15.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003138/0.4852, allocations: 122.2 kB / 0.6093 GB, free: 15.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005724/0.4858, allocations: 212.2 kB / 0.6095 GB, free: 14.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.4858, allocations: 0 / 0.6095 GB, free: 14.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009367/0.4867, allocations: 344.2 kB / 0.6098 GB, free: 14.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4867, allocations: 10.66 kB / 0.6098 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.4867, allocations: 0 / 0.6098 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.4869, allocations: 56.81 kB / 0.6099 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.4872, allocations: 51.89 kB / 0.6099 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.4895, allocations: 1.717 MB / 0.6116 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.4898, allocations: 43.98 kB / 0.6116 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.4898, allocations: 7.938 kB / 0.6116 GB, free: 12.61 MB / 462.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 (16): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.4899, allocations: 200.1 kB / 0.6118 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.49, allocations: 35.77 kB / 0.6119 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.4913, allocations: 0.6053 MB / 0.6125 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.4914, allocations: 11.98 kB / 0.6125 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.4914, allocations: 0 / 0.6125 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4914, allocations: 4 kB / 0.6125 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.4919, allocations: 380.8 kB / 0.6128 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4919, allocations: 0 / 0.6128 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.4921, allocations: 35.97 kB / 0.6129 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/0.4926, allocations: 249.5 kB / 0.6131 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.4927, allocations: 8 kB / 0.6131 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.4935, allocations: 0.8572 MB / 0.614 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4935, allocations: 0 / 0.614 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.4951, allocations: 0.8308 MB / 0.6148 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.4952, allocations: 55.64 kB / 0.6148 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.4953, allocations: 4 kB / 0.6148 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.4955, allocations: 27.91 kB / 0.6148 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.4956, allocations: 19.97 kB / 0.6149 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4956, allocations: 4 kB / 0.6149 GB, free: 9.184 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.4958, allocations: 203.1 kB / 0.6151 GB, free: 8.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4958, allocations: 0 / 0.6151 GB, free: 8.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002525/0.4984, allocations: 0.9279 MB / 0.616 GB, free: 8.059 MB / 462.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.004058/0.5024, allocations: 1.024 MB / 0.617 GB, free: 7.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.504, allocations: 0.5292 MB / 0.6175 GB, free: 6.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.504, allocations: 3.938 kB / 0.6175 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.5045, allocations: 170.1 kB / 0.6177 GB, free: 6.312 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008401/0.5054, allocations: 135.8 kB / 0.6178 GB, free: 6.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.5068, allocations: 0.7835 MB / 0.6185 GB, free: 5.363 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.5073, allocations: 0.7877 MB / 0.6193 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5074, allocations: 31.42 kB / 0.6193 GB, free: 4.516 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5074, allocations: 0 / 0.6193 GB, free: 4.516 MB / 462.1 MB Notification: Performance of Templates: time 0.03218/0.5396, allocations: 20.03 MB / 0.6389 GB, free: 484 kB / 478.1 MB " [Timeout remaining time 659] 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: 10.144147225073539] Failed to read output from testmodel.py, exit status != 0: 0.5495752569986507 0.564439008 0.15398005 Calling exit ...