Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 113.7 kB / 17.74 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2719/0.2719, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.91 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.3132/0.433, allocations: 37.08 MB / 0.5346 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4523, allocations: 14.83 MB / 0.5491 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.4528, allocations: 13.31 kB / 0.5491 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.4536, allocations: 140.6 kB / 0.5493 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006886/0.4543, allocations: 225.8 kB / 0.5495 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02192/0.4762, allocations: 6.495 MB / 0.5558 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.4773, allocations: 0.5946 MB / 0.5564 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/0.4777, allocations: 213.4 kB / 0.5566 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.4781, allocations: 224.2 kB / 0.5568 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.4784, allocations: 219.7 kB / 0.557 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.4785, allocations: 24.25 kB / 0.5571 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02158/0.5001, allocations: 8.912 MB / 0.5658 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.5003, allocations: 68.95 kB / 0.5658 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.5007, allocations: 193.9 kB / 0.566 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01916/0.5199, allocations: 5.132 MB / 0.571 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.52, allocations: 0 / 0.571 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.52, allocations: 1.281 kB / 0.571 GB, free: 10.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.52, allocations: 3.984 kB / 0.571 GB, free: 10.96 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.007067/0.5271, allocations: 1.233 MB / 0.5722 GB, free: 10.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.5272, allocations: 13.58 kB / 0.5722 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.5275, allocations: 63.39 kB / 0.5723 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.5281, allocations: 326.4 kB / 0.5726 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.5281, allocations: 23.3 kB / 0.5726 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.5282, allocations: 25.88 kB / 0.5727 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.5289, allocations: 332.4 kB / 0.573 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5289, allocations: 5.547 kB / 0.573 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.529, allocations: 11.53 kB / 0.573 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.529, allocations: 6.938 kB / 0.573 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/0.5295, allocations: 208.1 kB / 0.5732 GB, free: 9.363 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.002022/0.5315, allocations: 1.476 MB / 0.5746 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.5321, allocations: 178.6 kB / 0.5748 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.5322, allocations: 58.86 kB / 0.5749 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1345/0.6667, allocations: 64.25 MB / 0.6376 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6668, allocations: 42.5 kB / 0.6376 GB, free: 3.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.6668, allocations: 0 / 0.6376 GB, free: 3.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001355/0.6682, allocations: 387.1 kB / 0.638 GB, free: 3.316 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.6682, allocations: 63.34 kB / 0.6381 GB, free: 3.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.6687, allocations: 361.7 kB / 0.6384 GB, free: 2.883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.6687, allocations: 25.7 kB / 0.6384 GB, free: 2.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.6689, allocations: 204 kB / 0.6386 GB, free: 2.648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.6689, allocations: 51.27 kB / 0.6387 GB, free: 2.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.669, allocations: 41.64 kB / 0.6387 GB, free: 2.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6692, allocations: 346.8 kB / 0.6391 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.6693, allocations: 47.91 kB / 0.6391 GB, free: 2.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.6694, allocations: 103.9 kB / 0.6392 GB, free: 2.031 MB / 494.1 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.0009934/0.6704, allocations: 372.8 kB / 0.6396 GB, free: 1.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.6704, allocations: 3.938 kB / 0.6396 GB, free: 1.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004934/0.6709, allocations: 226.5 kB / 0.6398 GB, free: 1.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.671, allocations: 4 kB / 0.6398 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.671, allocations: 11.92 kB / 0.6398 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.6711, allocations: 25.08 kB / 0.6398 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.6713, allocations: 43.97 kB / 0.6399 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.6726, allocations: 1.388 MB / 0.6412 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.6728, allocations: 27.69 kB / 0.6412 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.6729, allocations: 8.875 kB / 0.6412 GB, free: 15.74 MB / 0.4981 GB 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.0001845/0.6731, allocations: 149.8 kB / 0.6414 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.6732, allocations: 31.62 kB / 0.6414 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/0.674, allocations: 0.6046 MB / 0.642 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.674, allocations: 15.92 kB / 0.642 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.674, allocations: 0 / 0.642 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.674, allocations: 3.938 kB / 0.642 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.6754, allocations: 1.074 MB / 0.6431 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.6754, allocations: 2.188 kB / 0.6431 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.6756, allocations: 39.92 kB / 0.6431 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-05/0.6757, allocations: 20.84 kB / 0.6431 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.6757, allocations: 4 kB / 0.6431 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009768/0.6767, allocations: 1.375 MB / 0.6445 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.6767, allocations: 4.094 kB / 0.6445 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.6775, allocations: 0.6492 MB / 0.6451 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.6777, allocations: 120.5 kB / 0.6452 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.6777, allocations: 11.94 kB / 0.6453 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.6779, allocations: 14.31 kB / 0.6453 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.678, allocations: 11.98 kB / 0.6453 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.678, allocations: 4 kB / 0.6453 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000261/0.6782, allocations: 259.2 kB / 0.6455 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6783, allocations: 3.938 kB / 0.6455 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005089/0.6833, allocations: 1.257 MB / 0.6468 GB, free: 9.844 MB / 0.4981 GB 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.009205/0.6926, allocations: 1.403 MB / 0.6481 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008104/0.6934, allocations: 310.4 kB / 0.6484 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6935, allocations: 0 / 0.6484 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.6938, allocations: 243.2 kB / 0.6487 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.695, allocations: 178.6 kB / 0.6488 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.6967, allocations: 0.9611 MB / 0.6498 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.6972, allocations: 0.8076 MB / 0.6506 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.6973, allocations: 31.44 kB / 0.6506 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of SimCode: time 1.313e-06/0.6973, allocations: 0 / 0.6506 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.04394/0.7412, allocations: 27.74 MB / 0.6777 GB, free: 10.05 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)