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.001093/0.001093, allocations: 110.3 kB / 17.28 MB, free: 6.219 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.0009987/0.0009987, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.248/1.248, allocations: 205.1 MB / 224 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.267/0.267, allocations: 48.85 MB / 320.2 MB, free: 11.27 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.001441/0.001441, allocations: 64.3 kB / 390.2 MB, free: 48.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.0958, allocations: 59.16 MB / 449.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04148/0.1373, allocations: 44.18 MB / 493.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.1544, allocations: 15.67 MB / 0.4973 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004114/0.1549, allocations: 15.94 kB / 0.4973 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.1556, allocations: 167 kB / 0.4975 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.1561, allocations: 230.6 kB / 0.4977 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01586/0.1719, allocations: 5.799 MB / 0.5033 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008875/0.1728, allocations: 0.6687 MB / 0.504 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.1732, allocations: 254.7 kB / 0.5042 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.1735, allocations: 243 kB / 0.5045 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.1738, allocations: 258.8 kB / 0.5047 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.1739, allocations: 28 kB / 0.5047 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/0.1879, allocations: 8.88 MB / 0.5134 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1881, allocations: 75.64 kB / 0.5135 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.1884, allocations: 207 kB / 0.5137 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006462/0.1948, allocations: 3.54 MB / 0.5171 GB, free: 9.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1949, allocations: 0 / 0.5171 GB, free: 9.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1949, allocations: 0 / 0.5171 GB, free: 9.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1949, allocations: 0 / 0.5171 GB, free: 9.707 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.003553/0.1985, allocations: 1.294 MB / 0.5184 GB, free: 8.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1985, allocations: 11.89 kB / 0.5184 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.1988, allocations: 68.44 kB / 0.5185 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.1992, allocations: 331.3 kB / 0.5188 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1992, allocations: 21.03 kB / 0.5188 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.1993, allocations: 43.97 kB / 0.5189 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.2, allocations: 384.2 kB / 0.5192 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2001, allocations: 3.938 kB / 0.5192 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.2001, allocations: 12 kB / 0.5192 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.2001, allocations: 8 kB / 0.5193 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.2007, allocations: 254 kB / 0.5195 GB, free: 7.184 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.00172/0.2024, allocations: 1.624 MB / 0.5211 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.2031, allocations: 206.4 kB / 0.5213 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.2032, allocations: 80.77 kB / 0.5214 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2833/0.4865, allocations: 63.96 MB / 0.5838 GB, free: 36.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.4866, allocations: 34.55 kB / 0.5838 GB, free: 36.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.394e-06/0.4866, allocations: 0 / 0.5838 GB, free: 36.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001235/0.4878, allocations: 458.5 kB / 0.5843 GB, free: 35.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.4878, allocations: 55.41 kB / 0.5843 GB, free: 35.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.4882, allocations: 363.4 kB / 0.5847 GB, free: 35.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.4882, allocations: 29.7 kB / 0.5847 GB, free: 35.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.4883, allocations: 206.9 kB / 0.5849 GB, free: 35.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.4883, allocations: 61.7 kB / 0.585 GB, free: 34.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.4884, allocations: 49.7 kB / 0.585 GB, free: 34.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.4885, allocations: 342.8 kB / 0.5853 GB, free: 34.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.4886, allocations: 64.83 kB / 0.5854 GB, free: 34.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.4887, allocations: 121 kB / 0.5855 GB, free: 34.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.489, allocations: 174.5 kB / 0.5857 GB, free: 34.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.489, allocations: 0 / 0.5857 GB, free: 34.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005017/0.4895, allocations: 299.4 kB / 0.586 GB, free: 33.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4895, allocations: 4 kB / 0.586 GB, free: 33.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4895, allocations: 4 kB / 0.586 GB, free: 33.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.4899, allocations: 74.59 kB / 0.586 GB, free: 33.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.4901, allocations: 52.47 kB / 0.5861 GB, free: 33.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.4911, allocations: 2.002 MB / 0.5881 GB, free: 31.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.4914, allocations: 36.33 kB / 0.5881 GB, free: 31.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.4914, allocations: 17.06 kB / 0.5881 GB, free: 31.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001636/0.4916, allocations: 160.1 kB / 0.5883 GB, free: 31.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001122/0.4917, allocations: 112.9 kB / 0.5884 GB, free: 31.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002046/0.4919, allocations: 178 kB / 0.5885 GB, free: 31.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.4919, allocations: 3.5 kB / 0.5885 GB, free: 31.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004597/0.4924, allocations: 298.8 kB / 0.5888 GB, free: 30.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.4924, allocations: 11.98 kB / 0.5888 GB, free: 30.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.4924, allocations: 3.938 kB / 0.5888 GB, free: 30.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.4927, allocations: 77.19 kB / 0.5889 GB, free: 30.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4928, allocations: 47.81 kB / 0.589 GB, free: 30.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009146/0.4937, allocations: 1.995 MB / 0.5909 GB, free: 28.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.494, allocations: 27.83 kB / 0.5909 GB, free: 28.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.494, allocations: 12 kB / 0.5909 GB, free: 28.47 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 8.699e-05/0.4941, allocations: 199.2 kB / 0.5911 GB, free: 28.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.4941, allocations: 35.53 kB / 0.5912 GB, free: 28.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.4949, allocations: 0.8319 MB / 0.592 GB, free: 27.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4949, allocations: 14.52 kB / 0.592 GB, free: 27.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4949, allocations: 0 / 0.592 GB, free: 27.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4949, allocations: 4.562 kB / 0.592 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.4954, allocations: 0.5422 MB / 0.5925 GB, free: 26.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4954, allocations: 3.938 kB / 0.5925 GB, free: 26.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.4956, allocations: 44.97 kB / 0.5926 GB, free: 26.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.219e-05/0.4957, allocations: 28.84 kB / 0.5926 GB, free: 26.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4957, allocations: 4 kB / 0.5926 GB, free: 26.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006095/0.4963, allocations: 1.385 MB / 0.594 GB, free: 25.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4963, allocations: 0 / 0.594 GB, free: 25.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.497, allocations: 0.8068 MB / 0.5947 GB, free: 24.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.4971, allocations: 128.5 kB / 0.5949 GB, free: 24.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.4971, allocations: 0 / 0.5949 GB, free: 24.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.4973, allocations: 27.86 kB / 0.5949 GB, free: 24.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.4974, allocations: 16.77 kB / 0.5949 GB, free: 24.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4974, allocations: 14.31 kB / 0.5949 GB, free: 24.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.4976, allocations: 251.2 kB / 0.5952 GB, free: 23.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4976, allocations: 0 / 0.5952 GB, free: 23.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003123/0.5007, allocations: 1.343 MB / 0.5965 GB, free: 22.7 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.006164/0.5069, allocations: 1.417 MB / 0.5979 GB, free: 21.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.508, allocations: 0.6191 MB / 0.5985 GB, free: 20.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5081, allocations: 0 / 0.5985 GB, free: 20.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.5084, allocations: 315.5 kB / 0.5988 GB, free: 20.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009549/0.5093, allocations: 175.2 kB / 0.5989 GB, free: 20.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.511, allocations: 1.361 MB / 0.6003 GB, free: 19.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.5112, allocations: 0.8363 MB / 0.6011 GB, free: 18.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.5113, allocations: 31.44 kB / 0.6011 GB, free: 18.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5113, allocations: 0 / 0.6011 GB, free: 18.12 MB / 414.1 MB Notification: Performance of Templates: time 0.03398/0.5453, allocations: 29.37 MB / 0.6298 GB, free: 4.723 MB / 430.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile (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)