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.001122/0.001122, allocations: 108.8 kB / 16.92 MB, free: 5.785 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.001222/0.001222, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.34/1.34, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2694/0.2694, allocations: 48.85 MB / 319.9 MB, free: 11.11 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.001438/0.001439, allocations: 65.75 kB / 390.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 59.17 MB / 449.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04232/0.1453, allocations: 44.07 MB / 493.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.1638, allocations: 15.49 MB / 0.4969 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.1643, allocations: 7.938 kB / 0.4969 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007667/0.1652, allocations: 190.7 kB / 0.4971 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000555/0.1658, allocations: 258.3 kB / 0.4973 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01642/0.1822, allocations: 6.593 MB / 0.5037 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008755/0.1831, allocations: 0.6609 MB / 0.5044 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.1835, allocations: 254.6 kB / 0.5046 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.1838, allocations: 243.1 kB / 0.5049 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.1841, allocations: 254.8 kB / 0.5051 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.1842, allocations: 28 kB / 0.5051 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/0.1992, allocations: 8.787 MB / 0.5137 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1993, allocations: 75.64 kB / 0.5138 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.1996, allocations: 210.9 kB / 0.514 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.2119, allocations: 5.243 MB / 0.5191 GB, free: 7.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.212, allocations: 0 / 0.5191 GB, free: 7.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.212, allocations: 0 / 0.5191 GB, free: 7.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.212, allocations: 0 / 0.5191 GB, free: 7.191 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.004067/0.2161, allocations: 1.294 MB / 0.5204 GB, free: 5.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2162, allocations: 11.89 kB / 0.5204 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.2164, allocations: 64.44 kB / 0.5204 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.2169, allocations: 335.3 kB / 0.5208 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.217, allocations: 25.03 kB / 0.5208 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.217, allocations: 40.03 kB / 0.5208 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.2178, allocations: 380.2 kB / 0.5212 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.2179, allocations: 4 kB / 0.5212 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.2179, allocations: 8 kB / 0.5212 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2179, allocations: 12 kB / 0.5212 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.2185, allocations: 254 kB / 0.5215 GB, free: 4.676 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.00188/0.2204, allocations: 1.624 MB / 0.523 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.2211, allocations: 210.4 kB / 0.5232 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2213, allocations: 72.77 kB / 0.5233 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2851/0.5063, allocations: 63.97 MB / 0.5858 GB, free: 33.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5064, allocations: 32.19 kB / 0.5858 GB, free: 33.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.5064, allocations: 0 / 0.5858 GB, free: 33.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001236/0.5076, allocations: 467.5 kB / 0.5863 GB, free: 32.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.5077, allocations: 55.41 kB / 0.5863 GB, free: 32.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.508, allocations: 353.7 kB / 0.5866 GB, free: 32.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.508, allocations: 33.7 kB / 0.5867 GB, free: 32.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.5081, allocations: 206.9 kB / 0.5869 GB, free: 31.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.5082, allocations: 61.81 kB / 0.5869 GB, free: 31.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.5082, allocations: 49.7 kB / 0.587 GB, free: 31.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.5083, allocations: 342.8 kB / 0.5873 GB, free: 31.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.5084, allocations: 69.48 kB / 0.5874 GB, free: 31.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.5085, allocations: 119.7 kB / 0.5875 GB, free: 31.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.5088, allocations: 173.8 kB / 0.5877 GB, free: 31.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5088, allocations: 5.406 kB / 0.5877 GB, free: 31.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005067/0.5093, allocations: 307 kB / 0.588 GB, free: 30.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5093, allocations: 7.719 kB / 0.588 GB, free: 30.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5093, allocations: 4.812 kB / 0.588 GB, free: 30.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/0.5097, allocations: 80.06 kB / 0.588 GB, free: 30.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.5099, allocations: 43.55 kB / 0.5881 GB, free: 30.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009927/0.5109, allocations: 1.997 MB / 0.59 GB, free: 28.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.5111, allocations: 31.7 kB / 0.5901 GB, free: 28.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.5111, allocations: 15.94 kB / 0.5901 GB, free: 28.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001592/0.5112, allocations: 164.1 kB / 0.5902 GB, free: 28.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001079/0.5114, allocations: 110.1 kB / 0.5903 GB, free: 28.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002041/0.5116, allocations: 180.5 kB / 0.5905 GB, free: 28.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.5116, allocations: 0 / 0.5905 GB, free: 28.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004536/0.512, allocations: 298.7 kB / 0.5908 GB, free: 27.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.353e-06/0.5121, allocations: 4 kB / 0.5908 GB, free: 27.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.5121, allocations: 10.56 kB / 0.5908 GB, free: 27.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.5123, allocations: 74.17 kB / 0.5909 GB, free: 27.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.5125, allocations: 47.25 kB / 0.5909 GB, free: 27.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008622/0.5134, allocations: 1.994 MB / 0.5929 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.5135, allocations: 19.88 kB / 0.5929 GB, free: 25.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5136, allocations: 8 kB / 0.5929 GB, free: 25.43 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 7.319e-05/0.5136, allocations: 200 kB / 0.5931 GB, free: 25.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.5137, allocations: 35.53 kB / 0.5931 GB, free: 25.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007397/0.5144, allocations: 0.8313 MB / 0.5939 GB, free: 24.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.5145, allocations: 10.19 kB / 0.5939 GB, free: 24.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5145, allocations: 0 / 0.5939 GB, free: 24.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5145, allocations: 0 / 0.5939 GB, free: 24.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.5149, allocations: 0.5536 MB / 0.5945 GB, free: 23.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5149, allocations: 3.938 kB / 0.5945 GB, free: 23.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.5151, allocations: 45.7 kB / 0.5945 GB, free: 23.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.938e-05/0.5152, allocations: 20.84 kB / 0.5946 GB, free: 23.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.5152, allocations: 4 kB / 0.5946 GB, free: 23.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006197/0.5158, allocations: 1.381 MB / 0.5959 GB, free: 22.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5158, allocations: 0 / 0.5959 GB, free: 22.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.5165, allocations: 0.8065 MB / 0.5967 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.5166, allocations: 132.4 kB / 0.5968 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.5167, allocations: 8.047 kB / 0.5968 GB, free: 21.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.5168, allocations: 12.5 kB / 0.5968 GB, free: 21.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.5169, allocations: 19.83 kB / 0.5969 GB, free: 21.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.5169, allocations: 4 kB / 0.5969 GB, free: 21.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.5171, allocations: 259.2 kB / 0.5971 GB, free: 20.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5171, allocations: 0 / 0.5971 GB, free: 20.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002797/0.5199, allocations: 1.334 MB / 0.5984 GB, free: 19.68 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.005052/0.525, allocations: 1.425 MB / 0.5998 GB, free: 18.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009838/0.526, allocations: 0.616 MB / 0.6004 GB, free: 17.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.526, allocations: 0 / 0.6004 GB, free: 17.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.5263, allocations: 313.5 kB / 0.6007 GB, free: 17.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.5272, allocations: 166.2 kB / 0.6009 GB, free: 17.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.5287, allocations: 1.143 MB / 0.602 GB, free: 16.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.5289, allocations: 0.8402 MB / 0.6028 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.5291, allocations: 144.7 kB / 0.6029 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.5292, allocations: 27.44 kB / 0.603 GB, free: 15.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5292, allocations: 4 kB / 0.603 GB, free: 15.17 MB / 414.1 MB Notification: Performance of Templates: time 0.05824/0.5875, allocations: 50.61 MB / 0.6524 GB, free: 12.54 MB / 462.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)