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.002096/0.002096, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008355/0.0008355, allocations: 93.77 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5565/0.5565, allocations: 48.77 MB / 367.9 MB, free: 47.42 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.0003549/0.000355, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 60.25 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.192/8.349, allocations: 2.918 GB / 3.405 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/8.35, allocations: 82.83 kB / 3.405 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.146/9.496, allocations: 304.8 MB / 3.703 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.727e-06/9.496, allocations: 0 / 3.703 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.596e-05/9.496, allocations: 15.94 kB / 3.703 GB, free: 9.301 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.00907/9.505, allocations: 1.356 MB / 3.704 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/9.505, allocations: 8.031 kB / 3.704 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/9.506, allocations: 60.03 kB / 3.704 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/9.506, allocations: 339.3 kB / 3.704 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/9.506, allocations: 16.91 kB / 3.704 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/9.506, allocations: 31.95 kB / 3.704 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007944/9.507, allocations: 355.9 kB / 3.705 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/9.507, allocations: 4 kB / 3.705 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/9.507, allocations: 15.98 kB / 3.705 GB, free: 7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/9.507, allocations: 8 kB / 3.705 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/9.508, allocations: 218 kB / 3.705 GB, free: 6.777 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.001996/9.51, allocations: 1.489 MB / 3.706 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/9.51, allocations: 178.6 kB / 3.707 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5985/10.11, allocations: 63.72 MB / 3.769 GB, free: 40.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/10.11, allocations: 36.91 kB / 3.769 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 3.446e-06/10.11, allocations: 0 / 3.769 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.001458/10.11, allocations: 404.5 kB / 3.769 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/10.11, allocations: 54.97 kB / 3.769 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005576/10.11, allocations: 318.7 kB / 3.77 GB, free: 40.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/10.11, allocations: 28.58 kB / 3.77 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/10.11, allocations: 202.5 kB / 3.77 GB, free: 40.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/10.11, allocations: 52.72 kB / 3.77 GB, free: 40.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/10.11, allocations: 5.531 kB / 3.77 GB, free: 40.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002035/10.11, allocations: 345.6 kB / 3.77 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/10.11, allocations: 51.78 kB / 3.77 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/10.11, allocations: 96.97 kB / 3.77 GB, free: 39.91 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.0008226/10.11, allocations: 243.4 kB / 3.771 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/10.11, allocations: 0.9844 kB / 3.771 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005116/10.11, allocations: 232.9 kB / 3.771 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/10.11, allocations: 6.031 kB / 3.771 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/10.11, allocations: 0 / 3.771 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/10.11, allocations: 28.23 kB / 3.771 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/10.11, allocations: 52.05 kB / 3.771 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/10.12, allocations: 1.295 MB / 3.772 GB, free: 38.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/10.12, allocations: 40.64 kB / 3.772 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/10.12, allocations: 9.938 kB / 3.772 GB, free: 38.48 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.0002269/10.12, allocations: 136 kB / 3.772 GB, free: 38.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/10.12, allocations: 40.91 kB / 3.772 GB, free: 38.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/10.12, allocations: 0.6137 MB / 3.773 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/10.12, allocations: 7.547 kB / 3.773 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/10.12, allocations: 0.875 kB / 3.773 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/10.12, allocations: 0.5938 kB / 3.773 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/10.12, allocations: 1.082 MB / 3.774 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/10.12, allocations: 3.891 kB / 3.774 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/10.12, allocations: 30.03 kB / 3.774 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/10.12, allocations: 28.66 kB / 3.774 GB, free: 37.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/10.12, allocations: 4.125 kB / 3.774 GB, free: 37.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/10.12, allocations: 1.283 MB / 3.775 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/10.12, allocations: 0 / 3.775 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009019/10.12, allocations: 0.6715 MB / 3.776 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/10.12, allocations: 127.9 kB / 3.776 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/10.12, allocations: 4.938 kB / 3.776 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/10.12, allocations: 17.33 kB / 3.776 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/10.12, allocations: 16.94 kB / 3.776 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/10.12, allocations: 6.5 kB / 3.776 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003338/10.12, allocations: 254.4 kB / 3.776 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/10.12, allocations: 4 kB / 3.776 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01023/10.13, allocations: 1.275 MB / 3.778 GB, free: 36.23 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.0152/10.15, allocations: 1.721 MB / 3.779 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00117/10.15, allocations: 302.6 kB / 3.78 GB, free: 35.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/10.15, allocations: 448 / 3.78 GB, free: 35.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005064/10.15, allocations: 254.6 kB / 3.78 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/10.15, allocations: 168.5 kB / 3.78 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/10.15, allocations: 1.137 MB / 3.781 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/10.15, allocations: 0.8228 MB / 3.782 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000386/10.15, allocations: 80.61 kB / 3.782 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/10.15, allocations: 30.53 kB / 3.782 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/10.15, allocations: 0 / 3.782 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.0656/10.22, allocations: 35.56 MB / 3.817 GB, free: 32.64 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)