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.0009998/0.0009999, allocations: 97.91 kB / 16.61 MB, free: 6.812 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.0009847/0.0009848, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.306/1.306, allocations: 205.1 MB / 223.4 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.2776/0.2776, allocations: 48.85 MB / 319.6 MB, free: 11.26 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.001448/0.001448, allocations: 63.95 kB / 389.5 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.1004, allocations: 59.17 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04228/0.1428, allocations: 44.18 MB / 492.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.1607, allocations: 15.68 MB / 0.4967 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005902/0.1614, allocations: 7.938 kB / 0.4967 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.1621, allocations: 171 kB / 0.4968 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.1626, allocations: 226.6 kB / 0.497 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01632/0.1789, allocations: 5.795 MB / 0.5027 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009748/0.1799, allocations: 0.6647 MB / 0.5034 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.1804, allocations: 250.8 kB / 0.5036 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.1809, allocations: 250.9 kB / 0.5038 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.1813, allocations: 258.8 kB / 0.5041 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.1813, allocations: 28 kB / 0.5041 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/0.1969, allocations: 8.88 MB / 0.5128 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.1971, allocations: 79.62 kB / 0.5129 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.1974, allocations: 203 kB / 0.513 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.2113, allocations: 5.271 MB / 0.5182 GB, free: 7.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2114, allocations: 0 / 0.5182 GB, free: 7.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2114, allocations: 0 / 0.5182 GB, free: 7.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.2114, allocations: 0 / 0.5182 GB, free: 7.969 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.004116/0.2156, allocations: 1.302 MB / 0.5195 GB, free: 6.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.2156, allocations: 11.89 kB / 0.5195 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.216, allocations: 60.45 kB / 0.5195 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.2165, allocations: 331.3 kB / 0.5198 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.2166, allocations: 25.03 kB / 0.5199 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.2166, allocations: 36.03 kB / 0.5199 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008656/0.2175, allocations: 380.2 kB / 0.5203 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.2176, allocations: 7.938 kB / 0.5203 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.2176, allocations: 11.98 kB / 0.5203 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2176, allocations: 11.94 kB / 0.5203 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.2183, allocations: 254 kB / 0.5205 GB, free: 5.445 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.001882/0.2202, allocations: 1.624 MB / 0.5221 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.2208, allocations: 210.5 kB / 0.5223 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.221, allocations: 80.7 kB / 0.5224 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2932/0.5142, allocations: 63.94 MB / 0.5848 GB, free: 34.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.5143, allocations: 37.39 kB / 0.5849 GB, free: 34.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 3.316e-06/0.5143, allocations: 0 / 0.5849 GB, free: 34.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001315/0.5156, allocations: 460.6 kB / 0.5853 GB, free: 33.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.5156, allocations: 55.41 kB / 0.5854 GB, free: 33.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.516, allocations: 355.9 kB / 0.5857 GB, free: 33.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.516, allocations: 37.7 kB / 0.5858 GB, free: 33.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5161, allocations: 208.2 kB / 0.586 GB, free: 32.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.5162, allocations: 62.11 kB / 0.586 GB, free: 32.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.5163, allocations: 49.7 kB / 0.5861 GB, free: 32.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.5163, allocations: 342.8 kB / 0.5864 GB, free: 32.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.5165, allocations: 68.67 kB / 0.5865 GB, free: 32.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.5166, allocations: 118.8 kB / 0.5866 GB, free: 32.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.5169, allocations: 176.6 kB / 0.5867 GB, free: 32.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5169, allocations: 4 kB / 0.5867 GB, free: 32.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005563/0.5174, allocations: 300.4 kB / 0.587 GB, free: 31.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5175, allocations: 8 kB / 0.587 GB, free: 31.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.5175, allocations: 7.188 kB / 0.587 GB, free: 31.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004095/0.5179, allocations: 73.66 kB / 0.5871 GB, free: 31.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.5181, allocations: 48.69 kB / 0.5872 GB, free: 31.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.5193, allocations: 2 MB / 0.5891 GB, free: 29.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.5195, allocations: 39.7 kB / 0.5891 GB, free: 29.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.5196, allocations: 19.92 kB / 0.5892 GB, free: 29.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001656/0.5197, allocations: 157.1 kB / 0.5893 GB, free: 29.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001168/0.5199, allocations: 113.2 kB / 0.5894 GB, free: 29.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002178/0.5201, allocations: 181.1 kB / 0.5896 GB, free: 29.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.5201, allocations: 0 / 0.5896 GB, free: 29.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004896/0.5206, allocations: 294.2 kB / 0.5899 GB, free: 28.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.5206, allocations: 12.19 kB / 0.5899 GB, free: 28.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5206, allocations: 6.359 kB / 0.5899 GB, free: 28.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.5209, allocations: 77.66 kB / 0.59 GB, free: 28.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.521, allocations: 49.03 kB / 0.59 GB, free: 28.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009265/0.522, allocations: 1.993 MB / 0.592 GB, free: 26.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.5222, allocations: 27.83 kB / 0.592 GB, free: 26.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.5222, allocations: 13.03 kB / 0.592 GB, free: 26.41 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.514e-05/0.5223, allocations: 195.6 kB / 0.5922 GB, free: 26.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.5224, allocations: 39.53 kB / 0.5922 GB, free: 26.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007882/0.5232, allocations: 0.8281 MB / 0.593 GB, free: 25.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5232, allocations: 7.984 kB / 0.593 GB, free: 25.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.5232, allocations: 0 / 0.593 GB, free: 25.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5232, allocations: 3.984 kB / 0.593 GB, free: 25.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.5237, allocations: 0.5479 MB / 0.5936 GB, free: 24.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5237, allocations: 3.938 kB / 0.5936 GB, free: 24.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.5239, allocations: 41.94 kB / 0.5936 GB, free: 24.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.632e-05/0.524, allocations: 28.84 kB / 0.5936 GB, free: 24.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.524, allocations: 4.75 kB / 0.5937 GB, free: 24.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006733/0.5247, allocations: 1.377 MB / 0.595 GB, free: 23.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5247, allocations: 4.031 kB / 0.595 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.5255, allocations: 0.8088 MB / 0.5958 GB, free: 22.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.5256, allocations: 132.4 kB / 0.5959 GB, free: 22.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.5256, allocations: 3.938 kB / 0.5959 GB, free: 22.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.5259, allocations: 19.92 kB / 0.5959 GB, free: 22.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.5259, allocations: 15.98 kB / 0.596 GB, free: 22.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.526, allocations: 12.33 kB / 0.596 GB, free: 22.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.5262, allocations: 259.2 kB / 0.5962 GB, free: 21.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5262, allocations: 6.25 kB / 0.5962 GB, free: 21.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00408/0.5303, allocations: 1.34 MB / 0.5975 GB, free: 20.64 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.006394/0.5367, allocations: 1.416 MB / 0.5989 GB, free: 19.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.5379, allocations: 0.6155 MB / 0.5995 GB, free: 18.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5379, allocations: 0 / 0.5995 GB, free: 18.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.5382, allocations: 315.6 kB / 0.5998 GB, free: 18.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.5393, allocations: 176 kB / 0.6 GB, free: 18.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.541, allocations: 1.334 MB / 0.6013 GB, free: 16.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.5413, allocations: 0.837 MB / 0.6021 GB, free: 16.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.5415, allocations: 144.7 kB / 0.6022 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.5416, allocations: 32.28 kB / 0.6023 GB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5416, allocations: 0 / 0.6023 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Templates: time 0.05917/0.6008, allocations: 50.56 MB / 0.6516 GB, free: 13.36 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)