Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 93.8 kB / 16.3 MB, free: 5.996 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.0009391/0.0009392, allocations: 184 kB / 17.2 MB, free: 5.914 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.608/1.608, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4489/0.4489, allocations: 48.78 MB / 320.4 MB, free: 3.812 MB / 254.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.0005235/0.0005235, allocations: 12 kB / 391.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1343, allocations: 60.25 MB / 451.4 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.2803/0.4147, allocations: 59.44 MB / 0.4989 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.429, allocations: 10.35 MB / 0.509 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.4303, allocations: 20.06 kB / 0.509 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.4317, allocations: 334 kB / 0.5093 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.4332, allocations: 0.4988 MB / 0.5098 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01625/0.4494, allocations: 4.366 MB / 0.5141 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.452, allocations: 0.8924 MB / 0.5149 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009777/0.453, allocations: 466 kB / 0.5154 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.4541, allocations: 431.6 kB / 0.5158 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000782/0.4549, allocations: 466.7 kB / 0.5162 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/0.4551, allocations: 37.38 kB / 0.5163 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.4708, allocations: 6.301 MB / 0.5224 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.4711, allocations: 135.4 kB / 0.5225 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.4716, allocations: 173.3 kB / 0.5227 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.4782, allocations: 2.863 MB / 0.5255 GB, free: 6.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4783, allocations: 0 / 0.5255 GB, free: 6.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4783, allocations: 0 / 0.5255 GB, free: 6.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.4783, allocations: 8 kB / 0.5255 GB, free: 6.645 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.005936/0.4842, allocations: 1.66 MB / 0.5271 GB, free: 4.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4843, allocations: 8.031 kB / 0.5271 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005059/0.4848, allocations: 126.9 kB / 0.5273 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/0.4857, allocations: 0.5296 MB / 0.5278 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.4857, allocations: 45.31 kB / 0.5278 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/0.4858, allocations: 51.94 kB / 0.5279 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.4877, allocations: 0.8411 MB / 0.5287 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4878, allocations: 0 / 0.5287 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.4878, allocations: 24 kB / 0.5287 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.4879, allocations: 12 kB / 0.5287 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.4898, allocations: 0.8625 MB / 0.5296 GB, free: 2.355 MB / 398.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.003813/0.4936, allocations: 3.546 MB / 0.533 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4947, allocations: 433.3 kB / 0.5334 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06579/0.5605, allocations: 32.3 MB / 0.565 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.5606, allocations: 30.56 kB / 0.565 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006593/0.5613, allocations: 103.5 kB / 0.5651 GB, free: 9.777 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.5613, allocations: 0 / 0.5651 GB, free: 9.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.008404/0.5697, allocations: 1.844 MB / 0.5669 GB, free: 7.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5698, allocations: 55.41 kB / 0.567 GB, free: 7.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.5705, allocations: 0.6178 MB / 0.5676 GB, free: 7.211 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.5705, allocations: 33.7 kB / 0.5676 GB, free: 7.172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.5708, allocations: 336.1 kB / 0.5679 GB, free: 6.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/0.5709, allocations: 106.5 kB / 0.568 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.5709, allocations: 4 kB / 0.568 GB, free: 6.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5711, allocations: 322 kB / 0.5683 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.5715, allocations: 160.5 kB / 0.5685 GB, free: 6.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.5719, allocations: 214.3 kB / 0.5687 GB, free: 6.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.5723, allocations: 171.9 kB / 0.5689 GB, free: 5.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5724, allocations: 3.938 kB / 0.5689 GB, free: 5.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001367/0.5737, allocations: 0.6337 MB / 0.5695 GB, free: 5.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002946/0.574, allocations: 0.5295 MB / 0.57 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.574, allocations: 4.938 kB / 0.57 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00714/0.5812, allocations: 1.115 MB / 0.5711 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.5815, allocations: 63.89 kB / 0.5712 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.5831, allocations: 0.9502 MB / 0.5721 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.5838, allocations: 55.86 kB / 0.5721 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.5839, allocations: 19.98 kB / 0.5722 GB, free: 2.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.5839, allocations: 8 kB / 0.5722 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.585, allocations: 467.4 kB / 0.5726 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.585, allocations: 4 kB / 0.5726 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.5853, allocations: 64.8 kB / 0.5727 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.5857, allocations: 104 kB / 0.5728 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5872, allocations: 1.462 MB / 0.5742 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.5878, allocations: 51.91 kB / 0.5743 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.5878, allocations: 19.98 kB / 0.5743 GB, free: 104 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 18} Notification: Performance of prepare postOptimizeDAE: time 0.0003328/0.5882, allocations: 252.1 kB / 0.5745 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.5883, allocations: 75.06 kB / 0.5746 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.5909, allocations: 2.055 MB / 0.5766 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.5909, allocations: 19.97 kB / 0.5766 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5909, allocations: 0 / 0.5766 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.591, allocations: 11.92 kB / 0.5766 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.592, allocations: 0.9427 MB / 0.5775 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.592, allocations: 0 / 0.5775 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.5922, allocations: 47.91 kB / 0.5776 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/0.5974, allocations: 2.757 MB / 0.5803 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.5975, allocations: 19.98 kB / 0.5803 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.5996, allocations: 2.058 MB / 0.5823 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5997, allocations: 3.953 kB / 0.5823 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.6018, allocations: 1.767 MB / 0.584 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.6021, allocations: 187.6 kB / 0.5842 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.6022, allocations: 12 kB / 0.5842 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.6026, allocations: 55.77 kB / 0.5843 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.6027, allocations: 40.38 kB / 0.5843 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.6027, allocations: 12 kB / 0.5843 GB, free: 5.664 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004864/0.6032, allocations: 439 kB / 0.5847 GB, free: 5.238 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6032, allocations: 0 / 0.5847 GB, free: 5.238 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002967/0.6062, allocations: 1.097 MB / 0.5858 GB, free: 4.141 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.003484/0.6097, allocations: 0.9983 MB / 0.5868 GB, free: 3.137 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.6121, allocations: 0.9388 MB / 0.5877 GB, free: 2.188 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6121, allocations: 0 / 0.5877 GB, free: 2.188 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009204/0.613, allocations: 0.492 MB / 0.5882 GB, free: 1.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.6151, allocations: 414.6 kB / 0.5886 GB, free: 1.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.6175, allocations: 1.907 MB / 0.5904 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.618, allocations: 1.01 MB / 0.5914 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005131/0.6185, allocations: 264.9 kB / 0.5917 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.6186, allocations: 47.42 kB / 0.5917 GB, free: 14.02 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6186, allocations: 0 / 0.5917 GB, free: 14.02 MB / 478.1 MB Notification: Performance of Templates: time 0.05745/0.6761, allocations: 43.28 MB / 0.634 GB, free: 2.734 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) Environment - environmentSimulation: