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.001274/0.001274, allocations: 176.3 kB / 17.4 MB, free: 4.426 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.505/1.505, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0008867/0.0008867, allocations: 91.84 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5092/0.5092, allocations: 48.78 MB / 369 MB, free: 47.37 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.0003951/0.0003951, allocations: 12 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.722/7.873, allocations: 2.918 GB / 3.406 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/7.873, allocations: 86.38 kB / 3.407 GB, free: 103 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.087/8.96, allocations: 304.8 MB / 3.704 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.186e-06/8.96, allocations: 0 / 3.704 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.077e-05/8.96, allocations: 15.94 kB / 3.704 GB, free: 4.004 MB / 0.5105 GB 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.008935/8.969, allocations: 1.36 MB / 3.706 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/8.969, allocations: 12.03 kB / 3.706 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/8.969, allocations: 60.45 kB / 3.706 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/8.97, allocations: 347.2 kB / 3.706 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/8.97, allocations: 20.94 kB / 3.706 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/8.97, allocations: 32.28 kB / 3.706 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/8.971, allocations: 367.6 kB / 3.706 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/8.971, allocations: 0 / 3.706 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/8.971, allocations: 12 kB / 3.706 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/8.971, allocations: 8 kB / 3.706 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/8.971, allocations: 210 kB / 3.707 GB, free: 1.465 MB / 0.5105 GB 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.3858/9.357, allocations: 1.486 MB / 3.708 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/9.358, allocations: 180.2 kB / 3.708 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/9.358, allocations: 58.61 kB / 3.708 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1158/9.474, allocations: 63.73 MB / 3.771 GB, free: 36.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/9.474, allocations: 42.12 kB / 3.771 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 3.537e-06/9.474, allocations: 0 / 3.771 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.001589/9.476, allocations: 393.1 kB / 3.771 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/9.476, allocations: 56.75 kB / 3.771 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/9.477, allocations: 366.5 kB / 3.771 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/9.477, allocations: 29.95 kB / 3.771 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/9.477, allocations: 203.5 kB / 3.772 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/9.477, allocations: 48.27 kB / 3.772 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/9.477, allocations: 7.031 kB / 3.772 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001815/9.477, allocations: 346.3 kB / 3.772 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/9.477, allocations: 46.41 kB / 3.772 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/9.478, allocations: 105.3 kB / 3.772 GB, free: 35.45 MB / 0.5261 GB 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.001022/9.479, allocations: 378.4 kB / 3.772 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/9.479, allocations: 0 / 3.772 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005234/9.479, allocations: 233.5 kB / 3.773 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/9.479, allocations: 9.531 kB / 3.773 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/9.479, allocations: 3.938 kB / 3.773 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/9.479, allocations: 29.91 kB / 3.773 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/9.48, allocations: 43.36 kB / 3.773 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/9.481, allocations: 1.284 MB / 3.774 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/9.482, allocations: 39.5 kB / 3.774 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/9.482, allocations: 7.531 kB / 3.774 GB, free: 33.95 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002813/9.482, allocations: 150.6 kB / 3.774 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/9.482, allocations: 39.8 kB / 3.774 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/9.483, allocations: 0.6014 MB / 3.775 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/9.483, allocations: 6.062 kB / 3.775 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/9.483, allocations: 0 / 3.775 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/9.483, allocations: 9.266 kB / 3.775 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/9.485, allocations: 1.068 MB / 3.776 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/9.485, allocations: 0.75 kB / 3.776 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/9.486, allocations: 38.69 kB / 3.776 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/9.486, allocations: 28.53 kB / 3.776 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/9.486, allocations: 8.719 kB / 3.776 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/9.487, allocations: 1.277 MB / 3.777 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/9.487, allocations: 3.844 kB / 3.777 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/9.488, allocations: 0.6539 MB / 3.778 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/9.488, allocations: 122.3 kB / 3.778 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/9.488, allocations: 4.75 kB / 3.778 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/9.489, allocations: 18.48 kB / 3.778 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/9.489, allocations: 11.5 kB / 3.778 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/9.489, allocations: 4.125 kB / 3.778 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003683/9.489, allocations: 259.9 kB / 3.778 GB, free: 31.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.763e-06/9.489, allocations: 1.188 kB / 3.778 GB, free: 31.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01063/9.5, allocations: 1.27 MB / 3.779 GB, free: 31.69 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01555/9.515, allocations: 1.741 MB / 3.781 GB, free: 31.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001034/9.516, allocations: 313.1 kB / 3.781 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/9.516, allocations: 4 kB / 3.782 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/9.517, allocations: 239.7 kB / 3.782 GB, free: 31.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/9.518, allocations: 174.7 kB / 3.782 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/9.521, allocations: 1.133 MB / 3.783 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/9.521, allocations: 0.8152 MB / 3.784 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003871/9.522, allocations: 72.08 kB / 3.784 GB, free: 29.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/9.522, allocations: 29.14 kB / 3.784 GB, free: 29.95 MB / 0.5261 GB Notification: Performance of SimCode: time 2.685e-06/9.522, allocations: 0.9688 kB / 3.784 GB, free: 29.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.07332/9.595, allocations: 38.03 MB / 3.821 GB, free: 28.02 MB / 0.5261 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)