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.001151/0.001151, allocations: 113.7 kB / 17.07 MB, free: 5.977 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.001164/0.001164, allocations: 198.8 kB / 18 MB, free: 5.059 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.335/1.335, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.295/0.295, allocations: 48.84 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.001658/0.001658, allocations: 75.91 kB / 450.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1163, allocations: 59.16 MB / 0.4978 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2895/0.4059, allocations: 37.09 MB / 0.534 GB, free: 7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0211/0.4271, allocations: 14.84 MB / 0.5485 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.4276, allocations: 4.469 kB / 0.5485 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.4283, allocations: 141 kB / 0.5486 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.4288, allocations: 221.7 kB / 0.5488 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02108/0.4499, allocations: 6.492 MB / 0.5552 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009672/0.4509, allocations: 0.5999 MB / 0.5557 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.4513, allocations: 214.1 kB / 0.5559 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.4517, allocations: 224.9 kB / 0.5562 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.4519, allocations: 221.8 kB / 0.5564 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.452, allocations: 25.41 kB / 0.5564 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0193/0.4713, allocations: 8.903 MB / 0.5651 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.4715, allocations: 73.84 kB / 0.5652 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.4719, allocations: 193 kB / 0.5653 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.4878, allocations: 5.132 MB / 0.5704 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4879, allocations: 1.094 kB / 0.5704 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4879, allocations: 0 / 0.5704 GB, free: 10.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4879, allocations: 0 / 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.005359/0.4933, allocations: 1.242 MB / 0.5716 GB, free: 10.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/0.4934, allocations: 13.42 kB / 0.5716 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.4937, allocations: 58.17 kB / 0.5716 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005629/0.4943, allocations: 330.5 kB / 0.572 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.4943, allocations: 19.88 kB / 0.572 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.4944, allocations: 26.34 kB / 0.572 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.4951, allocations: 325.6 kB / 0.5723 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.4951, allocations: 5.406 kB / 0.5723 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.4952, allocations: 15.5 kB / 0.5723 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4952, allocations: 6.156 kB / 0.5723 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.4957, allocations: 208.7 kB / 0.5725 GB, free: 9.324 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.002225/0.498, allocations: 1.477 MB / 0.574 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.4986, allocations: 178.5 kB / 0.5741 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.4987, allocations: 57.47 kB / 0.5742 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1297/0.6284, allocations: 64.25 MB / 0.6369 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.6285, allocations: 34.56 kB / 0.637 GB, free: 3.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/0.6285, allocations: 0 / 0.637 GB, free: 3.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001385/0.6299, allocations: 395 kB / 0.6374 GB, free: 3.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6299, allocations: 51.41 kB / 0.6374 GB, free: 3.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.6304, allocations: 369.6 kB / 0.6378 GB, free: 2.836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.6305, allocations: 25.7 kB / 0.6378 GB, free: 2.805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.6307, allocations: 204 kB / 0.638 GB, free: 2.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.6307, allocations: 55.19 kB / 0.638 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.6308, allocations: 53.64 kB / 0.6381 GB, free: 2.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.631, allocations: 342.8 kB / 0.6384 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.6311, allocations: 45.61 kB / 0.6385 GB, free: 2.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.6312, allocations: 99.66 kB / 0.6385 GB, free: 1.98 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.0009913/0.6322, allocations: 372.8 kB / 0.6389 GB, free: 1.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6322, allocations: 4 kB / 0.6389 GB, free: 1.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004695/0.6327, allocations: 226.6 kB / 0.6391 GB, free: 1.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6328, allocations: 8 kB / 0.6391 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6328, allocations: 0 / 0.6391 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.6329, allocations: 28.78 kB / 0.6392 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.6331, allocations: 51.91 kB / 0.6392 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.6343, allocations: 1.388 MB / 0.6406 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.6345, allocations: 19.75 kB / 0.6406 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.6346, allocations: 8 kB / 0.6406 GB, free: 15.7 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.0001882/0.6348, allocations: 149.7 kB / 0.6407 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.6349, allocations: 31.62 kB / 0.6408 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/0.6357, allocations: 0.6005 MB / 0.6413 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.6357, allocations: 11.98 kB / 0.6414 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6357, allocations: 0.875 kB / 0.6414 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6357, allocations: 7.922 kB / 0.6414 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.6371, allocations: 1.065 MB / 0.6424 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6372, allocations: 5.672 kB / 0.6424 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.6373, allocations: 35.98 kB / 0.6424 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.883e-05/0.6374, allocations: 28.88 kB / 0.6425 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.6375, allocations: 2.125 kB / 0.6425 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.6385, allocations: 1.379 MB / 0.6438 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6385, allocations: 0 / 0.6438 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.6393, allocations: 0.6583 MB / 0.6445 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.6395, allocations: 124.5 kB / 0.6446 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.6396, allocations: 4 kB / 0.6446 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.6398, allocations: 7.938 kB / 0.6446 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.6398, allocations: 19.97 kB / 0.6446 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.6399, allocations: 6.438 kB / 0.6446 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002847/0.6401, allocations: 259.1 kB / 0.6449 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6401, allocations: 0 / 0.6449 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005329/0.6455, allocations: 1.261 MB / 0.6461 GB, free: 9.793 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.008981/0.6545, allocations: 1.412 MB / 0.6475 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007318/0.6552, allocations: 294.3 kB / 0.6478 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6553, allocations: 0 / 0.6478 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.6556, allocations: 251.1 kB / 0.648 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.6567, allocations: 166.3 kB / 0.6482 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.6585, allocations: 0.9376 MB / 0.6491 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.6589, allocations: 0.8116 MB / 0.6499 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.6591, allocations: 74.89 kB / 0.6499 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.6592, allocations: 31.44 kB / 0.65 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.6592, allocations: 0 / 0.65 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of Templates: time 0.06477/0.724, allocations: 49.1 MB / 0.6979 GB, free: 4.574 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)