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.001895/0.001895, allocations: 181.4 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 84.39 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6485/0.6485, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 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 1.932e-05/1.946e-05, allocations: 0 / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1719, allocations: 60.25 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.192/9.364, allocations: 2.917 GB / 3.391 GB, free: 84.48 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/9.365, allocations: 73.25 kB / 3.391 GB, free: 84.46 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.582/10.95, allocations: 300.3 MB / 3.685 GB, free: 66.05 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.094e-06/10.95, allocations: 3.906 kB / 3.685 GB, free: 66.05 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.229e-05/10.95, allocations: 11.09 kB / 3.685 GB, free: 66.05 MB / 0.5108 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.008868/10.96, allocations: 1.293 MB / 3.686 GB, free: 65.47 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/10.96, allocations: 7.375 kB / 3.686 GB, free: 65.47 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/10.96, allocations: 68.73 kB / 3.686 GB, free: 65.45 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006943/10.96, allocations: 331.3 kB / 3.686 GB, free: 65.24 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/10.96, allocations: 8.719 kB / 3.686 GB, free: 65.24 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/10.96, allocations: 23.12 kB / 3.686 GB, free: 65.24 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003595/10.96, allocations: 141.4 kB / 3.686 GB, free: 65.23 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/10.96, allocations: 279.4 kB / 3.687 GB, free: 65.11 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/10.96, allocations: 5.547 kB / 3.687 GB, free: 65.11 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/10.96, allocations: 0 / 3.687 GB, free: 65.11 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/10.96, allocations: 6.562 kB / 3.687 GB, free: 65.11 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.002063/10.96, allocations: 1.406 MB / 3.688 GB, free: 64.16 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/10.96, allocations: 137.2 kB / 3.688 GB, free: 64.14 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/10.96, allocations: 43.94 kB / 3.688 GB, free: 64.13 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.127/11.09, allocations: 63.97 MB / 3.751 GB, free: 41.37 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/11.09, allocations: 34.59 kB / 3.751 GB, free: 41.33 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=14): time 5.37e-06/11.09, allocations: 0 / 3.751 GB, free: 41.33 MB / 0.5265 GB Notification: Performance of matching and sorting (n=14): time 0.00118/11.09, allocations: 206.1 kB / 3.751 GB, free: 41.27 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/11.09, allocations: 57.47 kB / 3.751 GB, free: 41.21 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005296/11.09, allocations: 245.7 kB / 3.751 GB, free: 41.11 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/11.09, allocations: 27.08 kB / 3.751 GB, free: 41.08 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/11.09, allocations: 210.6 kB / 3.751 GB, free: 40.96 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/11.09, allocations: 48.61 kB / 3.751 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-06/11.09, allocations: 0 / 3.751 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001618/11.09, allocations: 341.5 kB / 3.752 GB, free: 40.62 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/11.09, allocations: 37.31 kB / 3.752 GB, free: 40.62 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/11.09, allocations: 94.62 kB / 3.752 GB, free: 40.56 MB / 0.5265 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.0007507/11.09, allocations: 218.5 kB / 3.752 GB, free: 40.46 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/11.09, allocations: 1.438 kB / 3.752 GB, free: 40.46 MB / 0.5265 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005026/11.09, allocations: 192.3 kB / 3.752 GB, free: 40.4 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/11.09, allocations: 6.125 kB / 3.752 GB, free: 40.4 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/11.09, allocations: 2.781 kB / 3.752 GB, free: 40.4 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/11.09, allocations: 25.38 kB / 3.752 GB, free: 40.39 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/11.09, allocations: 46.58 kB / 3.752 GB, free: 40.39 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/11.09, allocations: 1.232 MB / 3.754 GB, free: 39.2 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/11.09, allocations: 26.48 kB / 3.754 GB, free: 39.19 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/11.09, allocations: 10.06 kB / 3.754 GB, free: 39.19 MB / 0.5265 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 () * 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.000187/11.09, allocations: 115.8 kB / 3.754 GB, free: 39.08 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/11.09, allocations: 30.69 kB / 3.754 GB, free: 39.07 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/11.1, allocations: 0.5699 MB / 3.754 GB, free: 38.96 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/11.1, allocations: 10.08 kB / 3.754 GB, free: 38.96 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/11.1, allocations: 6.078 kB / 3.754 GB, free: 38.96 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/11.1, allocations: 0 / 3.754 GB, free: 38.96 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/11.1, allocations: 0.9981 MB / 3.755 GB, free: 38.64 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/11.1, allocations: 1.406 kB / 3.755 GB, free: 38.64 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/11.1, allocations: 40.22 kB / 3.755 GB, free: 38.64 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.711e-05/11.1, allocations: 22.84 kB / 3.755 GB, free: 38.63 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/11.1, allocations: 1.188 kB / 3.755 GB, free: 38.63 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/11.1, allocations: 1.225 MB / 3.757 GB, free: 37.44 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/11.1, allocations: 0 / 3.757 GB, free: 37.44 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/11.1, allocations: 0.6389 MB / 3.757 GB, free: 37.23 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/11.1, allocations: 112.8 kB / 3.757 GB, free: 37.11 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/11.1, allocations: 4.656 kB / 3.757 GB, free: 37.11 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/11.1, allocations: 8.188 kB / 3.757 GB, free: 37.11 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/11.1, allocations: 22.27 kB / 3.757 GB, free: 37.11 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/11.1, allocations: 4 kB / 3.757 GB, free: 37.11 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0002409/11.1, allocations: 191 kB / 3.758 GB, free: 37.03 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.01e-07/11.1, allocations: 0 / 3.758 GB, free: 37.03 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.009215/11.11, allocations: 1.263 MB / 3.759 GB, free: 36.83 MB / 0.5265 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 () * 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.01615/11.13, allocations: 1.813 MB / 3.761 GB, free: 36.45 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0009285/11.13, allocations: 277.6 kB / 3.761 GB, free: 36.35 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/11.13, allocations: 448 / 3.761 GB, free: 36.35 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/11.13, allocations: 232.6 kB / 3.761 GB, free: 36.25 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/11.13, allocations: 118.7 kB / 3.761 GB, free: 36.24 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/11.13, allocations: 0.6854 MB / 3.762 GB, free: 35.96 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/11.13, allocations: 0.8226 MB / 3.763 GB, free: 35.25 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.0003426/11.13, allocations: 77.31 kB / 3.763 GB, free: 35.24 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.756e-05/11.13, allocations: 25 kB / 3.763 GB, free: 35.23 MB / 0.5265 GB Notification: Performance of SimCode: time 8.82e-07/11.13, allocations: 0.9688 kB / 3.763 GB, free: 35.23 MB / 0.5265 GB Notification: Performance of Templates: time 0.05892/11.19, allocations: 31.48 MB / 3.793 GB, free: 33.39 MB / 0.5265 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)