Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008657, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.0008867/0.0008869, allocations: 177 kB / 17.56 MB, free: 6.18 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.401/1.401, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2778/0.2778, allocations: 48.79 MB / 320.8 MB, free: 11.12 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.0005588/0.0005588, allocations: 17.31 kB / 391.8 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1098, allocations: 60.27 MB / 452.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04347/0.1533, allocations: 44.07 MB / 496.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.1735, allocations: 16.72 MB / 0.5009 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006535/0.1742, allocations: 7.938 kB / 0.5009 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006989/0.1749, allocations: 159.1 kB / 0.501 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005996/0.1756, allocations: 242.6 kB / 0.5012 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.1926, allocations: 5.221 MB / 0.5063 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1938, allocations: 0.9065 MB / 0.5072 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.1942, allocations: 202.9 kB / 0.5074 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.1945, allocations: 218.9 kB / 0.5076 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.1948, allocations: 262.8 kB / 0.5079 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.1949, allocations: 16 kB / 0.5079 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.2106, allocations: 8.923 MB / 0.5166 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.2108, allocations: 63.64 kB / 0.5167 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.2112, allocations: 220.7 kB / 0.5169 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.2243, allocations: 5.231 MB / 0.522 GB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2244, allocations: 3.984 kB / 0.522 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2244, allocations: 0 / 0.522 GB, free: 6.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.2244, allocations: 4 kB / 0.522 GB, free: 6.48 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004095/0.2285, allocations: 1.224 MB / 0.5232 GB, free: 5.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2286, allocations: 12.03 kB / 0.5232 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.2288, allocations: 72.34 kB / 0.5233 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.2293, allocations: 323.3 kB / 0.5236 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.2293, allocations: 21.03 kB / 0.5236 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.2294, allocations: 35.94 kB / 0.5236 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007866/0.2302, allocations: 380.2 kB / 0.524 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2302, allocations: 7.922 kB / 0.524 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.2303, allocations: 16 kB / 0.524 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2303, allocations: 8 kB / 0.524 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.2309, allocations: 258 kB / 0.5243 GB, free: 4.031 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.00196/0.2329, allocations: 1.627 MB / 0.5259 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.2335, allocations: 222.3 kB / 0.5261 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.2337, allocations: 68.78 kB / 0.5261 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3784/0.6121, allocations: 64.58 MB / 0.5892 GB, free: 31.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.6122, allocations: 38.5 kB / 0.5892 GB, free: 31.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.174e-06/0.6122, allocations: 4 kB / 0.5892 GB, free: 31.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001314/0.6135, allocations: 470 kB / 0.5897 GB, free: 30.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.6136, allocations: 51.41 kB / 0.5897 GB, free: 30.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.6139, allocations: 365 kB / 0.5901 GB, free: 30.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.6139, allocations: 29.7 kB / 0.5901 GB, free: 30.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.614, allocations: 207.7 kB / 0.5903 GB, free: 30.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.6141, allocations: 62.66 kB / 0.5904 GB, free: 30.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.6141, allocations: 29.7 kB / 0.5904 GB, free: 30.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.6142, allocations: 349.4 kB / 0.5907 GB, free: 29.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.6143, allocations: 55.97 kB / 0.5908 GB, free: 29.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.6145, allocations: 114.6 kB / 0.5909 GB, free: 29.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.6147, allocations: 179.5 kB / 0.5911 GB, free: 29.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6147, allocations: 0 / 0.5911 GB, free: 29.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005267/0.6153, allocations: 307 kB / 0.5914 GB, free: 29.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.6153, allocations: 137.4 kB / 0.5915 GB, free: 29.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6153, allocations: 11.11 kB / 0.5915 GB, free: 29.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003695/0.6157, allocations: 73.66 kB / 0.5916 GB, free: 29.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.6159, allocations: 49.3 kB / 0.5916 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.6169, allocations: 1.899 MB / 0.5935 GB, free: 26.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.6172, allocations: 43.61 kB / 0.5935 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.6172, allocations: 12 kB / 0.5935 GB, free: 26.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.6172, allocations: 4 kB / 0.5935 GB, free: 26.87 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004366/0.6177, allocations: 241.4 kB / 0.5938 GB, free: 26.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6177, allocations: 7.984 kB / 0.5938 GB, free: 26.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.618, allocations: 73.86 kB / 0.5938 GB, free: 26.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.6181, allocations: 51.91 kB / 0.5939 GB, free: 26.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008909/0.619, allocations: 1.91 MB / 0.5958 GB, free: 24.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.6193, allocations: 31.73 kB / 0.5958 GB, free: 24.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.6193, allocations: 12.12 kB / 0.5958 GB, free: 24.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.6194, allocations: 228.9 kB / 0.596 GB, free: 24.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.6195, allocations: 31.62 kB / 0.5961 GB, free: 24.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007951/0.6203, allocations: 0.8224 MB / 0.5969 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6203, allocations: 11.98 kB / 0.5969 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6203, allocations: 1.031 kB / 0.5969 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6203, allocations: 7.984 kB / 0.5969 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.6208, allocations: 0.5548 MB / 0.5974 GB, free: 22.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6208, allocations: 0 / 0.5974 GB, free: 22.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.621, allocations: 43.97 kB / 0.5975 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.484e-05/0.6211, allocations: 29.77 kB / 0.5975 GB, free: 22.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.6211, allocations: 4 kB / 0.5975 GB, free: 22.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005966/0.6217, allocations: 1.282 MB / 0.5987 GB, free: 21.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6217, allocations: 0 / 0.5987 GB, free: 21.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/0.6225, allocations: 0.8137 MB / 0.5995 GB, free: 20.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.6226, allocations: 132.4 kB / 0.5997 GB, free: 20.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.6226, allocations: 7.375 kB / 0.5997 GB, free: 20.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.6228, allocations: 19.98 kB / 0.5997 GB, free: 20.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.6229, allocations: 11.98 kB / 0.5997 GB, free: 20.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.6229, allocations: 11.94 kB / 0.5997 GB, free: 20.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.6231, allocations: 251.2 kB / 0.6 GB, free: 19.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6231, allocations: 4 kB / 0.6 GB, free: 19.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002891/0.626, allocations: 1.344 MB / 0.6013 GB, free: 18.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00564/0.6317, allocations: 1.424 MB / 0.6027 GB, free: 17.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009919/0.6327, allocations: 0.6046 MB / 0.6032 GB, free: 16.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6327, allocations: 0 / 0.6032 GB, free: 16.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.633, allocations: 319 kB / 0.6036 GB, free: 16.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.634, allocations: 165 kB / 0.6037 GB, free: 16.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.6357, allocations: 1.45 MB / 0.6051 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.6359, allocations: 0.8362 MB / 0.6059 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.6362, allocations: 144.3 kB / 0.6061 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.6362, allocations: 31.44 kB / 0.6061 GB, free: 13.81 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6363, allocations: 0 / 0.6061 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Templates: time 0.07354/0.7098, allocations: 50.15 MB / 0.6551 GB, free: 11.63 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) Environment - environmentSimulation: