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.001362/0.001362, allocations: 106.6 kB / 17.06 MB, free: 5.832 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.001423/0.001423, allocations: 195.9 kB / 18.01 MB, free: 4.961 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.402/1.402, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3584/0.3584, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.002285/0.002285, allocations: 67.91 kB / 450.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1593, allocations: 59.17 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.3537/0.513, allocations: 37.08 MB / 0.534 GB, free: 7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.531, allocations: 14.83 MB / 0.5485 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.5315, allocations: 4.438 kB / 0.5485 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.5321, allocations: 145.5 kB / 0.5486 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.5326, allocations: 223.2 kB / 0.5488 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02357/0.5562, allocations: 6.499 MB / 0.5552 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.5575, allocations: 0.5962 MB / 0.5557 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.5579, allocations: 213.2 kB / 0.5559 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.5583, allocations: 219.4 kB / 0.5562 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.5587, allocations: 222.7 kB / 0.5564 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.5587, allocations: 29.69 kB / 0.5564 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/0.5811, allocations: 8.905 MB / 0.5651 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.5813, allocations: 62.11 kB / 0.5652 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.5817, allocations: 201 kB / 0.5653 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0167/0.5984, allocations: 5.146 MB / 0.5704 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5984, allocations: 1.375 kB / 0.5704 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5984, allocations: 0 / 0.5704 GB, free: 10.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.5984, allocations: 3.938 kB / 0.5704 GB, free: 10.93 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.004616/0.6031, allocations: 1.264 MB / 0.5716 GB, free: 9.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6031, allocations: 13.67 kB / 0.5716 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.6034, allocations: 67.16 kB / 0.5717 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.604, allocations: 322 kB / 0.572 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.604, allocations: 20.62 kB / 0.572 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.6041, allocations: 33.62 kB / 0.572 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.6048, allocations: 321.8 kB / 0.5724 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.6048, allocations: 2.156 kB / 0.5724 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.6048, allocations: 10.38 kB / 0.5724 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.6049, allocations: 6.531 kB / 0.5724 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.6054, allocations: 208.5 kB / 0.5726 GB, free: 9.297 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.001879/0.6073, allocations: 1.493 MB / 0.574 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.6078, allocations: 182.8 kB / 0.5742 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.608, allocations: 58.42 kB / 0.5743 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1363/0.7443, allocations: 64.26 MB / 0.637 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.7444, allocations: 30.56 kB / 0.637 GB, free: 3.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.7444, allocations: 0 / 0.637 GB, free: 3.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001421/0.7459, allocations: 391.2 kB / 0.6374 GB, free: 3.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.7459, allocations: 63.34 kB / 0.6375 GB, free: 3.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.7465, allocations: 361.6 kB / 0.6378 GB, free: 2.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.7465, allocations: 29.7 kB / 0.6378 GB, free: 2.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.7467, allocations: 204.2 kB / 0.638 GB, free: 2.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.7468, allocations: 63.47 kB / 0.6381 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.7468, allocations: 37.7 kB / 0.6381 GB, free: 2.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.747, allocations: 342.8 kB / 0.6385 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.7471, allocations: 51.97 kB / 0.6385 GB, free: 2.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.7473, allocations: 99.86 kB / 0.6386 GB, free: 1.926 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.00099/0.7483, allocations: 366.5 kB / 0.639 GB, free: 1.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.7483, allocations: 1.938 kB / 0.639 GB, free: 1.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005709/0.7489, allocations: 241.9 kB / 0.6392 GB, free: 1.281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.7489, allocations: 4.219 kB / 0.6392 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.7489, allocations: 11.94 kB / 0.6392 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.7491, allocations: 24.84 kB / 0.6392 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.7493, allocations: 39.92 kB / 0.6393 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.7506, allocations: 1.383 MB / 0.6406 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.7509, allocations: 31.8 kB / 0.6407 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.7509, allocations: 8 kB / 0.6407 GB, free: 15.64 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.0001787/0.7511, allocations: 148.6 kB / 0.6408 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.7512, allocations: 39.77 kB / 0.6408 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.752, allocations: 0.6047 MB / 0.6414 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.752, allocations: 7.984 kB / 0.6414 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.752, allocations: 0 / 0.6414 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7521, allocations: 3.938 kB / 0.6414 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.7537, allocations: 1.077 MB / 0.6425 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.7538, allocations: 0 / 0.6425 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.7539, allocations: 34.11 kB / 0.6425 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.7541, allocations: 20.84 kB / 0.6425 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.7541, allocations: 8 kB / 0.6426 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.7552, allocations: 1.382 MB / 0.6439 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7552, allocations: 3.938 kB / 0.6439 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/0.7561, allocations: 0.6532 MB / 0.6445 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.7563, allocations: 128.7 kB / 0.6447 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.7564, allocations: 3.938 kB / 0.6447 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.7566, allocations: 18.44 kB / 0.6447 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.7567, allocations: 7.984 kB / 0.6447 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.7567, allocations: 11.94 kB / 0.6447 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003257/0.757, allocations: 259.2 kB / 0.645 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.757, allocations: 0 / 0.645 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006014/0.763, allocations: 1.271 MB / 0.6462 GB, free: 9.711 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.01027/0.7733, allocations: 1.417 MB / 0.6476 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008391/0.7742, allocations: 306.3 kB / 0.6479 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.7742, allocations: 0 / 0.6479 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.7746, allocations: 246.6 kB / 0.6481 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.7758, allocations: 166.4 kB / 0.6483 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.7776, allocations: 0.9597 MB / 0.6492 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.778, allocations: 0.8076 MB / 0.65 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002822/0.7783, allocations: 74.89 kB / 0.6501 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.7784, allocations: 31.44 kB / 0.6501 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.7784, allocations: 0 / 0.6501 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.07549/0.8539, allocations: 49.09 MB / 0.698 GB, free: 4.469 MB / 0.545 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)