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.001076/0.001077, allocations: 90 kB / 16.31 MB, free: 6.461 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.001454/0.001454, allocations: 180.6 kB / 17.21 MB, free: 6.328 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.618/1.618, allocations: 205.4 MB / 223.4 MB, free: 5.816 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5173/0.5173, allocations: 48.77 MB / 320.4 MB, free: 3.805 MB / 254.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.0008443/0.0008444, allocations: 16 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1567, allocations: 60.26 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.2872/0.4439, allocations: 41.01 MB / 492.4 MB, free: 23.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.461, allocations: 14.5 MB / 0.4951 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.4617, allocations: 9.375 kB / 0.4951 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.4624, allocations: 155.3 kB / 0.4952 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.4631, allocations: 256.4 kB / 0.4955 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01715/0.4802, allocations: 5.028 MB / 0.5004 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.4814, allocations: 0.782 MB / 0.5011 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003765/0.4818, allocations: 199.6 kB / 0.5013 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.4821, allocations: 216.5 kB / 0.5015 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.4824, allocations: 238.1 kB / 0.5018 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.4824, allocations: 16.12 kB / 0.5018 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01821/0.5006, allocations: 8.647 MB / 0.5102 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.5009, allocations: 58.7 kB / 0.5103 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.5012, allocations: 101.4 kB / 0.5104 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00944/0.5107, allocations: 3.49 MB / 0.5138 GB, free: 2.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.5107, allocations: 0 / 0.5138 GB, free: 2.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.5108, allocations: 0 / 0.5138 GB, free: 2.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.5108, allocations: 0 / 0.5138 GB, free: 2.746 MB / 382.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.004858/0.5156, allocations: 1.236 MB / 0.515 GB, free: 1.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5157, allocations: 8.031 kB / 0.515 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.5159, allocations: 63.52 kB / 0.5151 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.5163, allocations: 322.1 kB / 0.5154 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.5163, allocations: 28.66 kB / 0.5154 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.5164, allocations: 28 kB / 0.5154 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.517, allocations: 380.2 kB / 0.5158 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.5171, allocations: 11.84 kB / 0.5158 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.5171, allocations: 16 kB / 0.5158 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.5171, allocations: 4 kB / 0.5158 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.5176, allocations: 254 kB / 0.5161 GB, free: 312 kB / 382.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.001766/0.5194, allocations: 1.629 MB / 0.5176 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.52, allocations: 210.4 kB / 0.5178 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.5202, allocations: 68.83 kB / 0.5179 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.119/0.6392, allocations: 64.6 MB / 0.581 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.6393, allocations: 38.5 kB / 0.581 GB, free: 5.984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.765e-06/0.6393, allocations: 0 / 0.581 GB, free: 5.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001555/0.6409, allocations: 474.8 kB / 0.5815 GB, free: 5.492 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.6409, allocations: 51.41 kB / 0.5815 GB, free: 5.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.6413, allocations: 349.7 kB / 0.5819 GB, free: 5.078 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.6414, allocations: 29.7 kB / 0.5819 GB, free: 5.043 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.6415, allocations: 204 kB / 0.5821 GB, free: 4.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.6416, allocations: 78.97 kB / 0.5822 GB, free: 4.762 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.6416, allocations: 4 kB / 0.5822 GB, free: 4.758 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6418, allocations: 342.8 kB / 0.5825 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.6419, allocations: 59.98 kB / 0.5825 GB, free: 4.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.6421, allocations: 118 kB / 0.5827 GB, free: 4.219 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.6422, allocations: 79.78 kB / 0.5827 GB, free: 4.141 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6423, allocations: 0 / 0.5827 GB, free: 4.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005881/0.6429, allocations: 305.1 kB / 0.583 GB, free: 3.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/0.643, allocations: 138.2 kB / 0.5832 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.643, allocations: 0 / 0.5832 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.6434, allocations: 77.67 kB / 0.5832 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.6436, allocations: 51.91 kB / 0.5833 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.6451, allocations: 1.9 MB / 0.5851 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.6454, allocations: 39.67 kB / 0.5852 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.6455, allocations: 16.12 kB / 0.5852 GB, free: 1.422 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.6455, allocations: 4 kB / 0.5852 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000489/0.646, allocations: 237.3 kB / 0.5854 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.646, allocations: 4.188 kB / 0.5854 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/0.6463, allocations: 85.59 kB / 0.5855 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.6465, allocations: 49.53 kB / 0.5856 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.6479, allocations: 1.897 MB / 0.5874 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.6482, allocations: 39.8 kB / 0.5874 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.6482, allocations: 11.98 kB / 0.5875 GB, free: 14.94 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000272/0.6485, allocations: 225 kB / 0.5877 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.6486, allocations: 37.34 kB / 0.5877 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.6496, allocations: 0.8245 MB / 0.5885 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.6497, allocations: 15.94 kB / 0.5885 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6497, allocations: 0 / 0.5885 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6497, allocations: 0 / 0.5885 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.6503, allocations: 0.5462 MB / 0.5891 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6503, allocations: 0 / 0.5891 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.6506, allocations: 43.92 kB / 0.5891 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.6507, allocations: 24.84 kB / 0.5891 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.6507, allocations: 8 kB / 0.5891 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.6517, allocations: 1.294 MB / 0.5904 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6517, allocations: 0 / 0.5904 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/0.6527, allocations: 0.8027 MB / 0.5912 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.6529, allocations: 128.4 kB / 0.5913 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.653, allocations: 8 kB / 0.5913 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.6532, allocations: 20.05 kB / 0.5913 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.6532, allocations: 15.97 kB / 0.5913 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.6533, allocations: 4 kB / 0.5913 GB, free: 10.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002938/0.6536, allocations: 255.1 kB / 0.5916 GB, free: 10.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6536, allocations: 4 kB / 0.5916 GB, free: 10.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00575/0.6593, allocations: 1.343 MB / 0.5929 GB, free: 9.113 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/0.6694, allocations: 1.415 MB / 0.5943 GB, free: 7.691 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.6708, allocations: 0.6064 MB / 0.5949 GB, free: 7.059 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6708, allocations: 7.938 kB / 0.5949 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.6713, allocations: 295.8 kB / 0.5952 GB, free: 6.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.6726, allocations: 174.5 kB / 0.5953 GB, free: 6.582 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.675, allocations: 1.396 MB / 0.5967 GB, free: 5.168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.6754, allocations: 0.8402 MB / 0.5975 GB, free: 4.301 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003241/0.6757, allocations: 145.5 kB / 0.5977 GB, free: 4.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.6758, allocations: 35.44 kB / 0.5977 GB, free: 4.125 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6758, allocations: 0 / 0.5977 GB, free: 4.125 MB / 478.1 MB Notification: Performance of Templates: time 0.2787/0.9545, allocations: 50.95 MB / 0.6474 GB, free: 166.9 MB / 0.4981 GB 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: