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.001266/0.001266, allocations: 98.2 kB / 16.3 MB, free: 5.988 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.0009111/0.0009112, allocations: 179.2 kB / 17.19 MB, free: 5.906 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.435/1.435, allocations: 205.4 MB / 223.3 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4542/0.4542, allocations: 48.78 MB / 320.4 MB, free: 3.824 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.0004923/0.0004926, allocations: 12 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 60.26 MB / 451.4 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.2175/0.3357, allocations: 37.11 MB / 488.5 MB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.3505, allocations: 13.45 MB / 0.4902 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.3512, allocations: 13.34 kB / 0.4902 GB, free: 17.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.3519, allocations: 160.1 kB / 0.4904 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007053/0.3527, allocations: 241.3 kB / 0.4906 GB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01661/0.3693, allocations: 5.07 MB / 0.4956 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.3702, allocations: 438 kB / 0.496 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.3706, allocations: 201.3 kB / 0.4962 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.3709, allocations: 197 kB / 0.4963 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.3711, allocations: 192.6 kB / 0.4965 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.3712, allocations: 15.91 kB / 0.4965 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01742/0.3886, allocations: 8.843 MB / 0.5052 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.3887, allocations: 62.2 kB / 0.5052 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.3889, allocations: 105.9 kB / 0.5053 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006722/0.3957, allocations: 3.481 MB / 0.5087 GB, free: 7.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3957, allocations: 0 / 0.5087 GB, free: 7.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3957, allocations: 1.438 kB / 0.5087 GB, free: 7.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3957, allocations: 0 / 0.5087 GB, free: 7.855 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.00383/0.3996, allocations: 1.229 MB / 0.5099 GB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3996, allocations: 12.03 kB / 0.51 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.3998, allocations: 67.44 kB / 0.51 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.4002, allocations: 318.2 kB / 0.5103 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4002, allocations: 28.59 kB / 0.5104 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.4003, allocations: 28 kB / 0.5104 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.4009, allocations: 384.2 kB / 0.5107 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4009, allocations: 3.906 kB / 0.5107 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.401, allocations: 16.62 kB / 0.5108 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.401, allocations: 8 kB / 0.5108 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.4015, allocations: 258 kB / 0.511 GB, free: 5.465 MB / 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.00136/0.4029, allocations: 1.62 MB / 0.5126 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.4035, allocations: 215 kB / 0.5128 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1242/0.5277, allocations: 64.6 MB / 0.5759 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.5278, allocations: 38.56 kB / 0.5759 GB, free: 11.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.5278, allocations: 0 / 0.5759 GB, free: 11.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001271/0.529, allocations: 462.8 kB / 0.5764 GB, free: 10.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.5291, allocations: 55.41 kB / 0.5764 GB, free: 10.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.5294, allocations: 357.7 kB / 0.5768 GB, free: 10.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.5295, allocations: 29.7 kB / 0.5768 GB, free: 10.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.5296, allocations: 204 kB / 0.577 GB, free: 10.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.5297, allocations: 63.05 kB / 0.577 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.5297, allocations: 4 kB / 0.577 GB, free: 10.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5298, allocations: 346.8 kB / 0.5774 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.5299, allocations: 59.97 kB / 0.5774 GB, free: 9.602 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.5301, allocations: 114 kB / 0.5775 GB, free: 9.469 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.5302, allocations: 75.8 kB / 0.5776 GB, free: 9.395 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5302, allocations: 4 kB / 0.5776 GB, free: 9.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005633/0.5308, allocations: 305.7 kB / 0.5779 GB, free: 9.082 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.5311, allocations: 0.6162 MB / 0.5785 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5311, allocations: 0.7031 kB / 0.5785 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/0.5315, allocations: 81.66 kB / 0.5786 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.5317, allocations: 47.91 kB / 0.5786 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.5331, allocations: 1.906 MB / 0.5805 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.5334, allocations: 47.52 kB / 0.5805 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.5334, allocations: 12 kB / 0.5806 GB, free: 6.164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.5334, allocations: 8.125 kB / 0.5806 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000468/0.5339, allocations: 241.3 kB / 0.5808 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.5339, allocations: 0 / 0.5808 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/0.5342, allocations: 85.78 kB / 0.5809 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.5344, allocations: 47.97 kB / 0.5809 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.5356, allocations: 1.906 MB / 0.5828 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.5358, allocations: 39.8 kB / 0.5828 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.5359, allocations: 8 kB / 0.5828 GB, free: 3.672 MB / 462.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.0001973/0.5361, allocations: 221.1 kB / 0.583 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.5361, allocations: 39.47 kB / 0.5831 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/0.5371, allocations: 0.8203 MB / 0.5839 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5372, allocations: 19.94 kB / 0.5839 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5372, allocations: 0 / 0.5839 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5372, allocations: 3.984 kB / 0.5839 GB, free: 2.551 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.5377, allocations: 0.5462 MB / 0.5844 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5377, allocations: 0 / 0.5844 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.5379, allocations: 47.91 kB / 0.5845 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.024e-05/0.538, allocations: 24.84 kB / 0.5845 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5381, allocations: 2.562 kB / 0.5845 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/0.5389, allocations: 1.29 MB / 0.5858 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5389, allocations: 4.25 kB / 0.5858 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.5398, allocations: 0.8067 MB / 0.5866 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.54, allocations: 136.3 kB / 0.5867 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.54, allocations: 4 kB / 0.5867 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.5402, allocations: 19.98 kB / 0.5867 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.5403, allocations: 16.12 kB / 0.5867 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5403, allocations: 4 kB / 0.5867 GB, free: 15.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.5405, allocations: 255.2 kB / 0.587 GB, free: 15.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5406, allocations: 0 / 0.587 GB, free: 15.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00481/0.5454, allocations: 1.343 MB / 0.5883 GB, free: 13.84 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.006416/0.5518, allocations: 1.411 MB / 0.5897 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.553, allocations: 0.6143 MB / 0.5903 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.553, allocations: 0 / 0.5903 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.5533, allocations: 307.6 kB / 0.5906 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/0.5543, allocations: 161.3 kB / 0.5907 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.5561, allocations: 1.394 MB / 0.5921 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.5564, allocations: 0.8557 MB / 0.5929 GB, free: 9.023 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000261/0.5567, allocations: 143 kB / 0.593 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.5568, allocations: 31.38 kB / 0.5931 GB, free: 8.852 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5568, allocations: 0 / 0.5931 GB, free: 8.852 MB / 478.1 MB Notification: Performance of Templates: time 0.2391/0.7959, allocations: 50.95 MB / 0.6428 GB, free: 167.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: