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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 223.1 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 98.86 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4024/0.4024, allocations: 48.83 MB / 366.7 MB, free: 46.55 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 51.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1401, allocations: 59.15 MB / 495.8 MB, free: 136 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2181/0.3583, allocations: 38.01 MB / 0.5212 GB, free: 39.45 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.3729, allocations: 16.33 MB / 0.5372 GB, free: 28.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.3733, allocations: 9.844 kB / 0.5372 GB, free: 28.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.3737, allocations: 105.3 kB / 0.5373 GB, free: 28.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.3741, allocations: 209.8 kB / 0.5375 GB, free: 28.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01362/0.3877, allocations: 5.121 MB / 0.5425 GB, free: 26.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008369/0.3886, allocations: 0.7791 MB / 0.5433 GB, free: 25.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.3889, allocations: 185 kB / 0.5434 GB, free: 25.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.3892, allocations: 197.3 kB / 0.5436 GB, free: 25.58 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.3894, allocations: 229.5 kB / 0.5439 GB, free: 25.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.3895, allocations: 19.12 kB / 0.5439 GB, free: 25.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01655/0.4061, allocations: 8.838 MB / 0.5525 GB, free: 22.15 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.4063, allocations: 61.64 kB / 0.5526 GB, free: 22.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.4067, allocations: 186.6 kB / 0.5527 GB, free: 21.99 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.4216, allocations: 5.158 MB / 0.5578 GB, free: 18.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4217, allocations: 0 / 0.5578 GB, free: 18.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4217, allocations: 1.375 kB / 0.5578 GB, free: 18.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.4217, allocations: 3.938 kB / 0.5578 GB, free: 18.66 MB / 394.7 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.004234/0.426, allocations: 1.237 MB / 0.559 GB, free: 17.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.426, allocations: 13.09 kB / 0.559 GB, free: 17.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.4263, allocations: 59.42 kB / 0.5591 GB, free: 17.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.4266, allocations: 315.1 kB / 0.5594 GB, free: 17.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.4267, allocations: 23.58 kB / 0.5594 GB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.4267, allocations: 27.03 kB / 0.5594 GB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.4273, allocations: 329.3 kB / 0.5597 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4273, allocations: 0.9688 kB / 0.5597 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4273, allocations: 11.72 kB / 0.5597 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.4274, allocations: 10.31 kB / 0.5597 GB, free: 17.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.4278, allocations: 208.4 kB / 0.5599 GB, free: 17.07 MB / 394.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.001495/0.4293, allocations: 1.488 MB / 0.5614 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.4298, allocations: 181 kB / 0.5616 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.4299, allocations: 51 kB / 0.5616 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1293/0.5592, allocations: 63.98 MB / 0.6241 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.5593, allocations: 35.25 kB / 0.6241 GB, free: 12.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 2.635e-06/0.5593, allocations: 0 / 0.6241 GB, free: 12.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.001439/0.5607, allocations: 395.1 kB / 0.6245 GB, free: 11.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.5608, allocations: 59.28 kB / 0.6246 GB, free: 11.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.5613, allocations: 357.7 kB / 0.6249 GB, free: 11.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.5613, allocations: 37.64 kB / 0.6249 GB, free: 11.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.5615, allocations: 200 kB / 0.6251 GB, free: 11.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.5616, allocations: 51.2 kB / 0.6252 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.5616, allocations: 45.72 kB / 0.6252 GB, free: 11.03 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5618, allocations: 342.8 kB / 0.6256 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.5619, allocations: 47.97 kB / 0.6256 GB, free: 10.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.562, allocations: 98.84 kB / 0.6257 GB, free: 10.52 MB / 458.7 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.0009665/0.563, allocations: 362.3 kB / 0.626 GB, free: 10.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.563, allocations: 0 / 0.626 GB, free: 10.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005023/0.5635, allocations: 238.5 kB / 0.6263 GB, free: 9.879 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5636, allocations: 4 kB / 0.6263 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5636, allocations: 7.938 kB / 0.6263 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.5638, allocations: 24.84 kB / 0.6263 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.564, allocations: 43.92 kB / 0.6263 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.5651, allocations: 1.287 MB / 0.6276 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.5653, allocations: 39.83 kB / 0.6276 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.5654, allocations: 11.91 kB / 0.6276 GB, free: 8.332 MB / 458.7 MB 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.0001596/0.5655, allocations: 143.2 kB / 0.6278 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.5656, allocations: 35.52 kB / 0.6278 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007973/0.5664, allocations: 0.6054 MB / 0.6284 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5665, allocations: 7.984 kB / 0.6284 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5665, allocations: 4 kB / 0.6284 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5665, allocations: 0 / 0.6284 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.5679, allocations: 1.077 MB / 0.6295 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5679, allocations: 0 / 0.6295 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.5681, allocations: 32.98 kB / 0.6295 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.5682, allocations: 24.84 kB / 0.6295 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.5683, allocations: 7.938 kB / 0.6295 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.5693, allocations: 1.281 MB / 0.6308 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5693, allocations: 0 / 0.6308 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4107/0.98, allocations: 68.15 MB / 0.6973 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.9802, allocations: 124.5 kB / 0.6975 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.9802, allocations: 2.719 kB / 0.6975 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.9805, allocations: 15.94 kB / 0.6975 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.9806, allocations: 18.36 kB / 0.6975 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.9806, allocations: 3.625 kB / 0.6975 GB, free: 149 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002756/0.9809, allocations: 260.2 kB / 0.6977 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9809, allocations: 1.844 kB / 0.6977 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01441/0.9953, allocations: 4.671 MB / 0.7023 GB, free: 148.7 MB / 0.5105 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.02634/1.022, allocations: 3.349 MB / 0.7056 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006205/1.022, allocations: 297.2 kB / 0.7059 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.022, allocations: 0 / 0.7059 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/1.023, allocations: 252.1 kB / 0.7061 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/1.024, allocations: 158.8 kB / 0.7063 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/1.026, allocations: 1.572 MB / 0.7078 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/1.026, allocations: 0.8282 MB / 0.7086 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002284/1.026, allocations: 88.48 kB / 0.7087 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/1.026, allocations: 34.47 kB / 0.7087 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/1.026, allocations: 0 / 0.7087 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.4194/1.446, allocations: 215.7 MB / 0.9194 GB, free: 146.1 MB / 0.5105 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)