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.00122/0.00122, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001192/0.001193, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.501/1.501, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.29/0.29, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.1 MB 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.001523/0.001523, allocations: 77.42 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.12, allocations: 59.16 MB / 450.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04293/0.163, allocations: 44.07 MB / 494.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.1823, allocations: 15.49 MB / 0.4983 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004451/0.1828, allocations: 7.938 kB / 0.4983 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007311/0.1836, allocations: 198.7 kB / 0.4985 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005195/0.1841, allocations: 254.3 kB / 0.4987 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01922/0.2034, allocations: 6.589 MB / 0.5052 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.2044, allocations: 0.6647 MB / 0.5058 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.2048, allocations: 254.8 kB / 0.506 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.2051, allocations: 243 kB / 0.5063 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.2054, allocations: 254.8 kB / 0.5065 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.2055, allocations: 31.98 kB / 0.5065 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01729/0.2228, allocations: 9.001 MB / 0.5153 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.223, allocations: 75.7 kB / 0.5154 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.2233, allocations: 210.9 kB / 0.5156 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.2371, allocations: 5.236 MB / 0.5207 GB, free: 6.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2372, allocations: 0 / 0.5207 GB, free: 6.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2372, allocations: 0 / 0.5207 GB, free: 6.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2372, allocations: 3.984 kB / 0.5207 GB, free: 6.215 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.00394/0.2411, allocations: 1.294 MB / 0.522 GB, free: 4.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2412, allocations: 15.89 kB / 0.522 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.2415, allocations: 56.45 kB / 0.5221 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.242, allocations: 339.3 kB / 0.5224 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.242, allocations: 21.03 kB / 0.5224 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.2421, allocations: 40.03 kB / 0.5224 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.2428, allocations: 384.2 kB / 0.5228 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2428, allocations: 0 / 0.5228 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.2429, allocations: 16 kB / 0.5228 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2429, allocations: 8 kB / 0.5228 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.2435, allocations: 250 kB / 0.5231 GB, free: 3.703 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.001682/0.2452, allocations: 1.624 MB / 0.5247 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.2458, allocations: 210.4 kB / 0.5249 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.246, allocations: 68.78 kB / 0.5249 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3289/0.5749, allocations: 64.23 MB / 0.5876 GB, free: 31.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.5749, allocations: 30.56 kB / 0.5877 GB, free: 31.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.864e-06/0.5749, allocations: 0 / 0.5877 GB, free: 31.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00131/0.5763, allocations: 465.5 kB / 0.5881 GB, free: 31.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.5763, allocations: 52.66 kB / 0.5882 GB, free: 31.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.5766, allocations: 360.5 kB / 0.5885 GB, free: 31.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.5767, allocations: 29.7 kB / 0.5885 GB, free: 31.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.5768, allocations: 207.5 kB / 0.5887 GB, free: 30.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.5768, allocations: 64.12 kB / 0.5888 GB, free: 30.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.5769, allocations: 53.69 kB / 0.5889 GB, free: 30.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.577, allocations: 343.5 kB / 0.5892 GB, free: 30.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.5771, allocations: 60.83 kB / 0.5892 GB, free: 30.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.5772, allocations: 123.3 kB / 0.5894 GB, free: 30.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.5775, allocations: 173 kB / 0.5895 GB, free: 30.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5775, allocations: 4 kB / 0.5895 GB, free: 30.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005114/0.578, allocations: 297.3 kB / 0.5898 GB, free: 29.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.578, allocations: 8 kB / 0.5898 GB, free: 29.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.578, allocations: 3.469 kB / 0.5898 GB, free: 29.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.5785, allocations: 80.47 kB / 0.5899 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.5786, allocations: 53.75 kB / 0.5899 GB, free: 29.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.5797, allocations: 2.003 MB / 0.5919 GB, free: 27.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.5799, allocations: 27.69 kB / 0.5919 GB, free: 27.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.58, allocations: 16.06 kB / 0.5919 GB, free: 27.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001671/0.5801, allocations: 160.1 kB / 0.5921 GB, free: 27.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001122/0.5803, allocations: 106 kB / 0.5922 GB, free: 27.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002104/0.5805, allocations: 189 kB / 0.5924 GB, free: 26.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.5805, allocations: 0 / 0.5924 GB, free: 26.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004648/0.581, allocations: 293.2 kB / 0.5927 GB, free: 26.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.581, allocations: 4 kB / 0.5927 GB, free: 26.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.581, allocations: 9.422 kB / 0.5927 GB, free: 26.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/0.5813, allocations: 76.38 kB / 0.5927 GB, free: 26.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5814, allocations: 55.22 kB / 0.5928 GB, free: 26.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.5825, allocations: 1.987 MB / 0.5947 GB, free: 24.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.5826, allocations: 19.84 kB / 0.5948 GB, free: 24.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.5827, allocations: 10.5 kB / 0.5948 GB, free: 24.3 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.0001082/0.5828, allocations: 191.3 kB / 0.595 GB, free: 24.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.5828, allocations: 35.66 kB / 0.595 GB, free: 24.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/0.5837, allocations: 0.827 MB / 0.5958 GB, free: 23.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.5837, allocations: 15.97 kB / 0.5958 GB, free: 23.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5837, allocations: 4 kB / 0.5958 GB, free: 23.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5837, allocations: 1.453 kB / 0.5958 GB, free: 23.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.5841, allocations: 0.5452 MB / 0.5963 GB, free: 22.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5841, allocations: 3.938 kB / 0.5963 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.5843, allocations: 43.16 kB / 0.5964 GB, free: 22.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.39e-05/0.5844, allocations: 28.84 kB / 0.5964 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.5844, allocations: 4 kB / 0.5964 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/0.5851, allocations: 1.383 MB / 0.5978 GB, free: 21.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5851, allocations: 0 / 0.5978 GB, free: 21.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.5858, allocations: 0.8037 MB / 0.5986 GB, free: 20.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.159e-05/0.5859, allocations: 128.4 kB / 0.5987 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.5859, allocations: 8 kB / 0.5987 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.5861, allocations: 10.66 kB / 0.5987 GB, free: 20.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.5862, allocations: 15.97 kB / 0.5987 GB, free: 20.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.5862, allocations: 8 kB / 0.5987 GB, free: 20.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.5864, allocations: 255 kB / 0.599 GB, free: 19.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5864, allocations: 0 / 0.599 GB, free: 19.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003147/0.5896, allocations: 1.343 MB / 0.6003 GB, free: 18.55 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.005855/0.5954, allocations: 1.418 MB / 0.6017 GB, free: 17.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.5965, allocations: 0.6044 MB / 0.6022 GB, free: 16.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5965, allocations: 0 / 0.6022 GB, free: 16.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.5968, allocations: 312.2 kB / 0.6025 GB, free: 16.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008976/0.5977, allocations: 174.1 kB / 0.6027 GB, free: 16.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.5993, allocations: 1.14 MB / 0.6038 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.5995, allocations: 0.8363 MB / 0.6046 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.5998, allocations: 153.8 kB / 0.6048 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.5999, allocations: 31.44 kB / 0.6048 GB, free: 14.06 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5999, allocations: 0 / 0.6048 GB, free: 14.06 MB / 414.1 MB Notification: Performance of Templates: time 0.06132/0.6612, allocations: 50.43 MB / 0.6541 GB, free: 11.64 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)