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.001014/0.001014, allocations: 112.2 kB / 17.29 MB, free: 6.207 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.00101/0.00101, allocations: 193.3 kB / 18.21 MB, free: 5.285 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.24/1.24, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2597/0.2597, allocations: 48.84 MB / 320.2 MB, free: 11.26 MB / 270.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: 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.001325/0.001326, allocations: 65.44 kB / 390.2 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.09103, allocations: 59.16 MB / 449.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03414/0.1252, allocations: 37.22 MB / 486.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.1427, allocations: 15.01 MB / 0.4898 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.1431, allocations: 11.88 kB / 0.4899 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.1437, allocations: 115.3 kB / 0.49 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.1441, allocations: 206.7 kB / 0.4902 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01557/0.1597, allocations: 5.71 MB / 0.4957 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.1605, allocations: 0.587 MB / 0.4963 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.1609, allocations: 217.6 kB / 0.4965 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.1612, allocations: 215.1 kB / 0.4967 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.1614, allocations: 222.9 kB / 0.4969 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.1615, allocations: 28 kB / 0.497 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0138/0.1753, allocations: 8.798 MB / 0.5056 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1754, allocations: 67.64 kB / 0.5056 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.1757, allocations: 202.9 kB / 0.5058 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006022/0.1818, allocations: 3.458 MB / 0.5092 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1818, allocations: 0 / 0.5092 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1818, allocations: 0 / 0.5092 GB, free: 1.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1818, allocations: 3.938 kB / 0.5092 GB, free: 1.84 MB / 398.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.002863/0.1847, allocations: 1.23 MB / 0.5104 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1847, allocations: 15.88 kB / 0.5104 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.185, allocations: 60.45 kB / 0.5105 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.1854, allocations: 319.3 kB / 0.5108 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1854, allocations: 20.94 kB / 0.5108 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.1854, allocations: 36.03 kB / 0.5108 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.1861, allocations: 322.3 kB / 0.5111 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1861, allocations: 0 / 0.5111 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.1861, allocations: 15.94 kB / 0.5112 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1861, allocations: 11.94 kB / 0.5112 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.1866, allocations: 206 kB / 0.5114 GB, free: 15.51 MB / 414.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.001618/0.1882, allocations: 1.477 MB / 0.5128 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.1887, allocations: 182.6 kB / 0.513 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1888, allocations: 60.84 kB / 0.513 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2765/0.4654, allocations: 63.97 MB / 0.5755 GB, free: 44.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.4654, allocations: 34.56 kB / 0.5755 GB, free: 44.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/0.4654, allocations: 0 / 0.5755 GB, free: 44.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001038/0.4665, allocations: 396.2 kB / 0.5759 GB, free: 44.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.4665, allocations: 55.41 kB / 0.576 GB, free: 44.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.4668, allocations: 359.6 kB / 0.5763 GB, free: 43.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.4668, allocations: 25.7 kB / 0.5763 GB, free: 43.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.4669, allocations: 207.9 kB / 0.5765 GB, free: 43.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.4669, allocations: 53.7 kB / 0.5766 GB, free: 43.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.467, allocations: 47.3 kB / 0.5766 GB, free: 43.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.4671, allocations: 346.8 kB / 0.577 GB, free: 43.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.4672, allocations: 39.98 kB / 0.577 GB, free: 43.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.4673, allocations: 101.4 kB / 0.5771 GB, free: 42.99 MB / 414.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.0007843/0.468, allocations: 374.7 kB / 0.5775 GB, free: 42.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4681, allocations: 0 / 0.5775 GB, free: 42.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003302/0.4684, allocations: 234.9 kB / 0.5777 GB, free: 42.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4684, allocations: 8 kB / 0.5777 GB, free: 42.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4684, allocations: 0 / 0.5777 GB, free: 42.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.4686, allocations: 20.84 kB / 0.5777 GB, free: 42.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.4687, allocations: 51 kB / 0.5778 GB, free: 42.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006963/0.4694, allocations: 1.388 MB / 0.5791 GB, free: 40.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.4696, allocations: 32.78 kB / 0.5791 GB, free: 40.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.4697, allocations: 4 kB / 0.5791 GB, free: 40.73 MB / 414.1 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.0001135/0.4698, allocations: 148.5 kB / 0.5793 GB, free: 40.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.4698, allocations: 35.69 kB / 0.5793 GB, free: 40.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.4704, allocations: 0.6089 MB / 0.5799 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4704, allocations: 7.984 kB / 0.5799 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.4704, allocations: 0 / 0.5799 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4704, allocations: 4 kB / 0.5799 GB, free: 39.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.4713, allocations: 1.082 MB / 0.581 GB, free: 38.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4714, allocations: 0 / 0.581 GB, free: 38.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.4715, allocations: 30.61 kB / 0.581 GB, free: 38.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.663e-05/0.4716, allocations: 28.88 kB / 0.581 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4716, allocations: 0 / 0.581 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005718/0.4722, allocations: 1.378 MB / 0.5824 GB, free: 37.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4722, allocations: 0 / 0.5824 GB, free: 37.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.4728, allocations: 0.6536 MB / 0.583 GB, free: 36.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.4728, allocations: 128.5 kB / 0.5831 GB, free: 36.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4729, allocations: 6 kB / 0.5832 GB, free: 36.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.4731, allocations: 8 kB / 0.5832 GB, free: 36.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.4731, allocations: 18.78 kB / 0.5832 GB, free: 36.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4731, allocations: 8 kB / 0.5832 GB, free: 36.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.4733, allocations: 255.2 kB / 0.5834 GB, free: 36.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4733, allocations: 0 / 0.5834 GB, free: 36.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003487/0.4768, allocations: 1.268 MB / 0.5847 GB, free: 34.96 MB / 414.1 MB 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.006363/0.4832, allocations: 1.412 MB / 0.586 GB, free: 33.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.4839, allocations: 315.5 kB / 0.5863 GB, free: 33.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4839, allocations: 448 / 0.5863 GB, free: 33.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.4841, allocations: 250.1 kB / 0.5866 GB, free: 33.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.4854, allocations: 165.1 kB / 0.5867 GB, free: 32.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.4871, allocations: 1.132 MB / 0.5878 GB, free: 31.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.4873, allocations: 0.8076 MB / 0.5886 GB, free: 31.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.4874, allocations: 32.94 kB / 0.5887 GB, free: 30.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4874, allocations: 7.938 kB / 0.5887 GB, free: 30.97 MB / 414.1 MB Notification: Performance of Templates: time 0.03818/0.5256, allocations: 27.78 MB / 0.6158 GB, free: 3.176 MB / 414.1 MB 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)