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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 186.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 223.1 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 99.3 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3709/0.3709, allocations: 48.83 MB / 366.7 MB, free: 46.57 MB / 298.7 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: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 55.92 kB / 436.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.11, allocations: 59.16 MB / 495.8 MB, free: 120 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.2206/0.3306, allocations: 44.98 MB / 0.5281 GB, free: 34.58 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.347, allocations: 16.99 MB / 0.5447 GB, free: 23.1 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.3476, allocations: 9.938 kB / 0.5447 GB, free: 23.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.3483, allocations: 162.7 kB / 0.5448 GB, free: 23.01 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005153/0.3489, allocations: 240.4 kB / 0.545 GB, free: 22.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01652/0.3654, allocations: 5.227 MB / 0.5502 GB, free: 20.56 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.3664, allocations: 0.9037 MB / 0.551 GB, free: 20.22 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.3668, allocations: 212 kB / 0.5512 GB, free: 20.14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.3671, allocations: 229.1 kB / 0.5515 GB, free: 20.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.3674, allocations: 257.5 kB / 0.5517 GB, free: 19.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.3674, allocations: 18.91 kB / 0.5517 GB, free: 19.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/0.3847, allocations: 8.93 MB / 0.5604 GB, free: 15.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3849, allocations: 67.8 kB / 0.5605 GB, free: 15.72 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.3852, allocations: 203.8 kB / 0.5607 GB, free: 15.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.3977, allocations: 5.262 MB / 0.5658 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3977, allocations: 0 / 0.5658 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3977, allocations: 0 / 0.5658 GB, free: 12.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3977, allocations: 0 / 0.5658 GB, free: 12.22 MB / 394.7 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.004761/0.4025, allocations: 1.288 MB / 0.5671 GB, free: 11.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4026, allocations: 9.625 kB / 0.5671 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.4028, allocations: 65.34 kB / 0.5672 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.4032, allocations: 336.2 kB / 0.5675 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4032, allocations: 21.41 kB / 0.5675 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.4033, allocations: 31.62 kB / 0.5675 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.4039, allocations: 390 kB / 0.5679 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.404, allocations: 4.656 kB / 0.5679 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.404, allocations: 16.12 kB / 0.5679 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.404, allocations: 6.875 kB / 0.5679 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.4046, allocations: 248 kB / 0.5682 GB, free: 10.54 MB / 394.7 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.001456/0.406, allocations: 1.633 MB / 0.5698 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.4067, allocations: 214.3 kB / 0.57 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.4068, allocations: 69.5 kB / 0.57 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1302/0.537, allocations: 63.97 MB / 0.6325 GB, free: 3.621 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.5371, allocations: 35.81 kB / 0.6325 GB, free: 3.578 MB / 458.7 MB Notification: Performance of pre-optimization done (n=17): time 2.185e-06/0.5371, allocations: 0 / 0.6325 GB, free: 3.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001455/0.5385, allocations: 465.4 kB / 0.633 GB, free: 3.098 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.5386, allocations: 55.41 kB / 0.633 GB, free: 3.031 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.539, allocations: 353.7 kB / 0.6334 GB, free: 2.676 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5391, allocations: 33.7 kB / 0.6334 GB, free: 2.637 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5393, allocations: 208 kB / 0.6336 GB, free: 2.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.5393, allocations: 63.05 kB / 0.6337 GB, free: 2.367 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.5394, allocations: 53.61 kB / 0.6337 GB, free: 2.309 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5396, allocations: 346.8 kB / 0.634 GB, free: 1.961 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.5397, allocations: 64.83 kB / 0.6341 GB, free: 1.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.5399, allocations: 114 kB / 0.6342 GB, free: 1.762 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.5402, allocations: 169.9 kB / 0.6344 GB, free: 1.574 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5402, allocations: 0 / 0.6344 GB, free: 1.574 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006627/0.5409, allocations: 304.8 kB / 0.6347 GB, free: 1.266 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5409, allocations: 4 kB / 0.6347 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5409, allocations: 4 kB / 0.6347 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004297/0.5413, allocations: 81.78 kB / 0.6348 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.5415, allocations: 43.98 kB / 0.6348 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.543, allocations: 1.9 MB / 0.6367 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.5434, allocations: 39.61 kB / 0.6367 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.5434, allocations: 12.12 kB / 0.6367 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002201/0.5436, allocations: 164.1 kB / 0.6369 GB, free: 14.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001593/0.5438, allocations: 111.5 kB / 0.637 GB, free: 14.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002661/0.5441, allocations: 174.7 kB / 0.6371 GB, free: 14.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.5441, allocations: 4 kB / 0.6371 GB, free: 14.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005927/0.5447, allocations: 306.6 kB / 0.6374 GB, free: 14.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.5447, allocations: 4 kB / 0.6374 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.5447, allocations: 0 / 0.6374 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.545, allocations: 77.66 kB / 0.6375 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.5452, allocations: 43.98 kB / 0.6376 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.5466, allocations: 1.905 MB / 0.6394 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.5469, allocations: 27.86 kB / 0.6394 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.5469, allocations: 8 kB / 0.6394 GB, free: 12 MB / 474.7 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.0001353/0.547, allocations: 200.1 kB / 0.6396 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.5471, allocations: 35.69 kB / 0.6397 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.5482, allocations: 0.8262 MB / 0.6405 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.5482, allocations: 11.98 kB / 0.6405 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5482, allocations: 0 / 0.6405 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5482, allocations: 3.938 kB / 0.6405 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.5489, allocations: 0.55 MB / 0.641 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.5489, allocations: 0 / 0.641 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.5491, allocations: 43.97 kB / 0.6411 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-05/0.5492, allocations: 28.84 kB / 0.6411 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.5492, allocations: 0 / 0.6411 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000923/0.5502, allocations: 1.295 MB / 0.6424 GB, free: 8.805 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5502, allocations: 0 / 0.6424 GB, free: 8.805 MB / 474.7 MB Error: The model contains alias variables with conflicting fixed start values. It is necessary to resolve the conflicts, because otherwise the initial system is impossible to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.424/0.9742, allocations: 68.35 MB / 0.7091 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.9743, allocations: 133 kB / 0.7092 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.9743, allocations: 7.844 kB / 0.7092 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.9745, allocations: 18.64 kB / 0.7093 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.9746, allocations: 15.89 kB / 0.7093 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.9746, allocations: 2.812 kB / 0.7093 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002402/0.9749, allocations: 259.3 kB / 0.7095 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9749, allocations: 3.969 kB / 0.7095 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01477/0.9897, allocations: 4.878 MB / 0.7143 GB, free: 150.9 MB / 0.5105 GB 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.02809/1.018, allocations: 3.353 MB / 0.7176 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001217/1.019, allocations: 0.6035 MB / 0.7182 GB, free: 150 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.019, allocations: 1.375 kB / 0.7182 GB, free: 150 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/1.019, allocations: 300.2 kB / 0.7184 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/1.021, allocations: 174.5 kB / 0.7186 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/1.023, allocations: 1.89 MB / 0.7205 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/1.023, allocations: 0.8593 MB / 0.7213 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003579/1.024, allocations: 156.8 kB / 0.7214 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.024, allocations: 38.27 kB / 0.7215 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/1.024, allocations: 0 / 0.7215 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.4095/1.433, allocations: 217.3 MB / 0.9337 GB, free: 141.6 MB / 0.5105 GB 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)