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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.271/1.271, allocations: 205.1 MB / 223.1 MB, free: 8.465 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.001029/0.001029, allocations: 110.9 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3711/0.3711, allocations: 48.83 MB / 366.7 MB, free: 46.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 55.92 kB / 436.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09678, allocations: 59.15 MB / 495.8 MB, free: 124 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.2285/0.3253, allocations: 71.9 MB / 0.5544 GB, free: 15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.3385, allocations: 12.72 MB / 0.5668 GB, free: 6.141 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009646/0.3395, allocations: 25.12 kB / 0.5668 GB, free: 6.129 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.3405, allocations: 341.5 kB / 0.5671 GB, free: 5.941 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.3417, allocations: 497.6 kB / 0.5676 GB, free: 5.633 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01285/0.3545, allocations: 4.524 MB / 0.572 GB, free: 2.512 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.3566, allocations: 1.831 MB / 0.5738 GB, free: 1.508 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.3573, allocations: 0.4956 MB / 0.5743 GB, free: 1.184 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.358, allocations: 493.8 kB / 0.5748 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.3586, allocations: 0.585 MB / 0.5753 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.3587, allocations: 42.59 kB / 0.5754 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/0.3707, allocations: 6.416 MB / 0.5816 GB, free: 13.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.371, allocations: 145.1 kB / 0.5818 GB, free: 13.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008678/0.3719, allocations: 419.7 kB / 0.5822 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.3827, allocations: 4.329 MB / 0.5864 GB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.3827, allocations: 0 / 0.5864 GB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3827, allocations: 0 / 0.5864 GB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.158e-05/0.3828, allocations: 0 / 0.5864 GB, free: 10.23 MB / 410.7 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.00634/0.3891, allocations: 1.811 MB / 0.5882 GB, free: 8.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3892, allocations: 8.031 kB / 0.5882 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.3898, allocations: 131.9 kB / 0.5883 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009112/0.3907, allocations: 0.5423 MB / 0.5888 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.3907, allocations: 41.62 kB / 0.5889 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/0.3908, allocations: 52.56 kB / 0.5889 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.3927, allocations: 0.8372 MB / 0.5897 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3928, allocations: 6.844 kB / 0.5898 GB, free: 7.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/0.3928, allocations: 24 kB / 0.5898 GB, free: 7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3929, allocations: 12 kB / 0.5898 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.395, allocations: 0.8352 MB / 0.5906 GB, free: 6.148 MB / 410.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.003996/0.399, allocations: 3.519 MB / 0.594 GB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.4001, allocations: 406.5 kB / 0.5944 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.4005, allocations: 200.7 kB / 0.5946 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06764/0.4682, allocations: 32 MB / 0.6259 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4682, allocations: 38.56 kB / 0.6259 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005965/0.4688, allocations: 95.47 kB / 0.626 GB, free: 13.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.4688, allocations: 0 / 0.626 GB, free: 13.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.008699/0.4775, allocations: 1.797 MB / 0.6277 GB, free: 11.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.4776, allocations: 55.41 kB / 0.6278 GB, free: 11.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.4783, allocations: 0.6217 MB / 0.6284 GB, free: 11.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.4784, allocations: 37.7 kB / 0.6284 GB, free: 11.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.4786, allocations: 344 kB / 0.6288 GB, free: 10.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/0.4787, allocations: 106.5 kB / 0.6289 GB, free: 10.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.4789, allocations: 81.89 kB / 0.6289 GB, free: 10.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.479, allocations: 321.9 kB / 0.6293 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.4795, allocations: 162.1 kB / 0.6294 GB, free: 10.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.4799, allocations: 207.3 kB / 0.6296 GB, free: 9.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008443/0.4808, allocations: 376.9 kB / 0.63 GB, free: 9.551 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4808, allocations: 3.938 kB / 0.63 GB, free: 9.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001439/0.4822, allocations: 0.626 MB / 0.6306 GB, free: 8.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4823, allocations: 8 kB / 0.6306 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4823, allocations: 0 / 0.6306 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007989/0.4903, allocations: 1.187 MB / 0.6318 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.4905, allocations: 47.95 kB / 0.6318 GB, free: 7.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.4923, allocations: 0.9688 MB / 0.6327 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.4929, allocations: 39.81 kB / 0.6328 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.493, allocations: 19.98 kB / 0.6328 GB, free: 6.613 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005162/0.4935, allocations: 268.7 kB / 0.6331 GB, free: 6.348 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004198/0.4939, allocations: 224.9 kB / 0.6333 GB, free: 6.098 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007825/0.4947, allocations: 377.4 kB / 0.6336 GB, free: 5.699 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.4947, allocations: 0 / 0.6336 GB, free: 5.699 MB / 458.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.001312/0.496, allocations: 0.5325 MB / 0.6341 GB, free: 5.156 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4961, allocations: 4 kB / 0.6342 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4961, allocations: 5.078 kB / 0.6342 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.4964, allocations: 64.8 kB / 0.6342 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.4968, allocations: 99.78 kB / 0.6343 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4982, allocations: 1.452 MB / 0.6357 GB, free: 3.402 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.4988, allocations: 55.86 kB / 0.6358 GB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.4989, allocations: 15.94 kB / 0.6358 GB, free: 3.332 MB / 458.7 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.499, allocations: 206.1 kB / 0.636 GB, free: 3.125 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.4992, allocations: 83.06 kB / 0.6361 GB, free: 3.043 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.5019, allocations: 2.025 MB / 0.6381 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.5019, allocations: 23.91 kB / 0.6381 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.5019, allocations: 0 / 0.6381 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.502, allocations: 3.984 kB / 0.6381 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.503, allocations: 0.9388 MB / 0.639 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.503, allocations: 0 / 0.639 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.5032, allocations: 42.33 kB / 0.639 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005828/0.5091, allocations: 2.764 MB / 0.6417 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.5091, allocations: 8 kB / 0.6417 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.5115, allocations: 2.068 MB / 0.6438 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5115, allocations: 4 kB / 0.6438 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/0.5153, allocations: 3.032 MB / 0.6467 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.5156, allocations: 179.6 kB / 0.6469 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5157, allocations: 12 kB / 0.6469 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.5162, allocations: 47.81 kB / 0.647 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.5163, allocations: 36.31 kB / 0.647 GB, free: 7.695 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.5163, allocations: 16 kB / 0.647 GB, free: 7.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005159/0.5168, allocations: 447 kB / 0.6474 GB, free: 7.246 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5168, allocations: 0 / 0.6474 GB, free: 7.246 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003483/0.5203, allocations: 1.124 MB / 0.6485 GB, free: 6.121 MB / 474.7 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004616/0.525, allocations: 1.015 MB / 0.6495 GB, free: 5.105 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.5277, allocations: 0.9112 MB / 0.6504 GB, free: 4.184 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5278, allocations: 0 / 0.6504 GB, free: 4.184 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.5288, allocations: 496.3 kB / 0.6509 GB, free: 3.695 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.5312, allocations: 410.9 kB / 0.6513 GB, free: 3.301 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.5342, allocations: 2.488 MB / 0.6537 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.5348, allocations: 1.026 MB / 0.6547 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005826/0.5354, allocations: 273.3 kB / 0.655 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.5354, allocations: 39.44 kB / 0.655 GB, free: 15.41 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5355, allocations: 0 / 0.655 GB, free: 15.41 MB / 490.7 MB Notification: Performance of Templates: time 0.2214/0.7568, allocations: 43.69 MB / 0.6977 GB, free: 161.7 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile (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)