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.001615/0.001615, allocations: 101.6 kB / 17.59 MB, free: 5.426 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.002512/0.002512, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.478/1.478, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3208/0.3208, allocations: 48.85 MB / 320.6 MB, free: 11.1 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.001718/0.001718, allocations: 65.31 kB / 390.8 MB, free: 48.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1088, allocations: 59.16 MB / 449.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04738/0.1562, allocations: 37.1 MB / 487 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02684/0.1831, allocations: 14.83 MB / 0.4901 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004995/0.1836, allocations: 7.938 kB / 0.4901 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006828/0.1844, allocations: 139 kB / 0.4902 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.1851, allocations: 222.4 kB / 0.4904 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02577/0.2108, allocations: 6.488 MB / 0.4968 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009851/0.2119, allocations: 0.5871 MB / 0.4973 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.2123, allocations: 221.5 kB / 0.4976 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.2126, allocations: 211.2 kB / 0.4978 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.2129, allocations: 226.9 kB / 0.498 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.213, allocations: 28 kB / 0.498 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.2307, allocations: 8.701 MB / 0.5065 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.2309, allocations: 71.64 kB / 0.5066 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.2312, allocations: 191.1 kB / 0.5067 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.2438, allocations: 5.142 MB / 0.5118 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2438, allocations: 0 / 0.5118 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2438, allocations: 0 / 0.5118 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2438, allocations: 0 / 0.5118 GB, free: 15.39 MB / 414.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.003238/0.2471, allocations: 1.239 MB / 0.513 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.2472, allocations: 11.89 kB / 0.513 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.2474, allocations: 56.45 kB / 0.513 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.2479, allocations: 327.3 kB / 0.5134 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2479, allocations: 24.94 kB / 0.5134 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.248, allocations: 40.02 kB / 0.5134 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.2486, allocations: 322.2 kB / 0.5137 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2486, allocations: 0 / 0.5137 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.2487, allocations: 12 kB / 0.5137 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2487, allocations: 8 kB / 0.5137 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.2492, allocations: 210 kB / 0.5139 GB, free: 13.05 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.001831/0.251, allocations: 1.478 MB / 0.5154 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.2516, allocations: 186.6 kB / 0.5156 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.2517, allocations: 56.78 kB / 0.5156 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3318/0.5835, allocations: 63.96 MB / 0.5781 GB, free: 42.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5836, allocations: 34.56 kB / 0.5781 GB, free: 42.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.785e-06/0.5836, allocations: 0 / 0.5781 GB, free: 42.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001252/0.5849, allocations: 397.2 kB / 0.5785 GB, free: 41.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.5849, allocations: 51.41 kB / 0.5785 GB, free: 41.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.5853, allocations: 367.6 kB / 0.5789 GB, free: 41.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.5854, allocations: 29.7 kB / 0.5789 GB, free: 41.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5855, allocations: 201 kB / 0.5791 GB, free: 40.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.5855, allocations: 55.11 kB / 0.5792 GB, free: 40.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.5856, allocations: 41.7 kB / 0.5792 GB, free: 40.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.5857, allocations: 342.8 kB / 0.5795 GB, free: 40.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.5858, allocations: 49.66 kB / 0.5796 GB, free: 40.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.5859, allocations: 102.7 kB / 0.5797 GB, free: 40.38 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.0009105/0.5869, allocations: 373.8 kB / 0.58 GB, free: 39.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.5869, allocations: 0 / 0.58 GB, free: 39.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004141/0.5873, allocations: 234.4 kB / 0.5803 GB, free: 39.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5873, allocations: 8 kB / 0.5803 GB, free: 39.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5873, allocations: 0 / 0.5803 GB, free: 39.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.5875, allocations: 32.34 kB / 0.5803 GB, free: 39.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.5877, allocations: 39.98 kB / 0.5803 GB, free: 39.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000784/0.5885, allocations: 1.384 MB / 0.5817 GB, free: 38.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.5887, allocations: 31.67 kB / 0.5817 GB, free: 38.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.5887, allocations: 4 kB / 0.5817 GB, free: 38.13 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.0001561/0.5889, allocations: 151.9 kB / 0.5819 GB, free: 37.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.5889, allocations: 31.62 kB / 0.5819 GB, free: 37.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.5896, allocations: 0.6064 MB / 0.5825 GB, free: 37.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.5897, allocations: 7.984 kB / 0.5825 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5897, allocations: 0 / 0.5825 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.5897, allocations: 4.266 kB / 0.5825 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5908, allocations: 1.081 MB / 0.5836 GB, free: 36.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5908, allocations: 4 kB / 0.5836 GB, free: 36.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.591, allocations: 33.98 kB / 0.5836 GB, free: 36.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.69e-05/0.5911, allocations: 24.84 kB / 0.5836 GB, free: 36.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.5911, allocations: 4 kB / 0.5836 GB, free: 36.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007108/0.5918, allocations: 1.379 MB / 0.585 GB, free: 34.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5918, allocations: 0 / 0.585 GB, free: 34.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.5925, allocations: 0.6534 MB / 0.5856 GB, free: 33.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5926, allocations: 128.5 kB / 0.5857 GB, free: 33.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.5926, allocations: 4 kB / 0.5857 GB, free: 33.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.5928, allocations: 4 kB / 0.5857 GB, free: 33.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.5929, allocations: 11.98 kB / 0.5857 GB, free: 33.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5929, allocations: 8 kB / 0.5858 GB, free: 33.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.5931, allocations: 259.2 kB / 0.586 GB, free: 33.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5931, allocations: 0 / 0.586 GB, free: 33.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003381/0.5965, allocations: 1.261 MB / 0.5872 GB, free: 32.36 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.006674/0.6032, allocations: 1.414 MB / 0.5886 GB, free: 31.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006143/0.6038, allocations: 308.9 kB / 0.5889 GB, free: 30.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6038, allocations: 448 / 0.5889 GB, free: 30.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.6041, allocations: 249.8 kB / 0.5891 GB, free: 30.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.6052, allocations: 179.3 kB / 0.5893 GB, free: 30.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.6067, allocations: 0.9757 MB / 0.5903 GB, free: 29.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.6069, allocations: 0.8114 MB / 0.5911 GB, free: 28.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.607, allocations: 31.38 kB / 0.5911 GB, free: 28.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.607, allocations: 4 kB / 0.5911 GB, free: 28.53 MB / 414.1 MB Notification: Performance of Templates: time 0.03697/0.644, allocations: 27.81 MB / 0.6183 GB, free: 0.7188 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)