Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.615/1.615, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001532, allocations: 183.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008052/0.0008055, allocations: 97.02 kB / 0.7808 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 12.53 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7627/0.7631, allocations: 120.3 MB / 1.026 GB, free: 55.97 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9879/1.751, allocations: 422.6 MB / 1.439 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/1.751, allocations: 107 kB / 1.439 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.726/4.477, allocations: 0.9862 GB / 2.425 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.543e-06/4.477, allocations: 4 kB / 2.425 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003372/4.478, allocations: 79.97 kB / 2.425 GB, free: 9.117 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006556/4.484, allocations: 3.008 MB / 2.428 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/4.484, allocations: 11.97 kB / 2.428 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/4.485, allocations: 317.3 kB / 2.429 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/4.49, allocations: 2.468 MB / 2.431 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/4.49, allocations: 135.3 kB / 2.431 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/4.491, allocations: 168.4 kB / 2.431 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/4.493, allocations: 1.573 MB / 2.433 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/4.493, allocations: 11.88 kB / 2.433 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/4.493, allocations: 60 kB / 2.433 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/4.493, allocations: 44 kB / 2.433 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/4.495, allocations: 1.108 MB / 2.434 GB, free: 12 kB / 0.9636 GB 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.01198/4.507, allocations: 7.954 MB / 2.442 GB, free: 7.547 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/4.508, allocations: 462.6 kB / 2.442 GB, free: 7.082 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/4.508, allocations: 338.9 kB / 2.443 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/4.509, allocations: 0.7563 MB / 2.443 GB, free: 5.824 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/4.509, allocations: 39.12 kB / 2.443 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=60): time 3.116e-06/4.509, allocations: 0 / 2.443 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60): time 0.002151/4.511, allocations: 1.008 MB / 2.444 GB, free: 4.762 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/4.511, allocations: 63.91 kB / 2.444 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/4.515, allocations: 2.28 MB / 2.447 GB, free: 2.398 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/4.515, allocations: 53.7 kB / 2.447 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/4.516, allocations: 1.131 MB / 2.448 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/4.517, allocations: 216.9 kB / 2.448 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/4.517, allocations: 20 kB / 2.448 GB, free: 0.9648 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001379/4.517, allocations: 357.8 kB / 2.448 GB, free: 0.6094 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/4.517, allocations: 342.5 kB / 2.449 GB, free: 280 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/4.518, allocations: 0.8118 MB / 2.449 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/4.52, allocations: 0.9489 MB / 2.45 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/4.52, allocations: 4 kB / 2.45 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002258/4.522, allocations: 1.257 MB / 2.452 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002122/4.522, allocations: 316 kB / 2.452 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/4.522, allocations: 8 kB / 2.452 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/4.522, allocations: 19.98 kB / 2.452 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009619/4.523, allocations: 255.6 kB / 2.452 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.349e-05/4.523, allocations: 23.88 kB / 2.452 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/4.525, allocations: 270 kB / 2.452 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/4.525, allocations: 55.98 kB / 2.453 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/4.525, allocations: 4 kB / 2.453 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001644/4.527, allocations: 1.007 MB / 2.454 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/4.527, allocations: 8 kB / 2.454 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/4.527, allocations: 12 kB / 2.454 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/4.528, allocations: 259.9 kB / 2.454 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/4.528, allocations: 16 kB / 2.454 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/4.53, allocations: 234.7 kB / 2.454 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/4.53, allocations: 51.98 kB / 2.454 GB, free: 10.32 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001092/4.531, allocations: 0.5828 MB / 2.455 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/4.531, allocations: 237 kB / 2.455 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/4.533, allocations: 0.9224 MB / 2.456 GB, free: 8.555 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/4.533, allocations: 12 kB / 2.456 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/4.533, allocations: 0 / 2.456 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/4.534, allocations: 0.722 MB / 2.456 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/4.539, allocations: 2.647 MB / 2.459 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/4.539, allocations: 96 / 2.459 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/4.54, allocations: 147.8 kB / 2.459 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/4.54, allocations: 7.938 kB / 2.459 GB, free: 4.926 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/4.54, allocations: 23.98 kB / 2.459 GB, free: 4.902 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/4.54, allocations: 4 kB / 2.459 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/4.54, allocations: 0 / 2.459 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/4.542, allocations: 1.346 MB / 2.461 GB, free: 3.523 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009745/4.543, allocations: 454.1 kB / 2.461 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/4.543, allocations: 19.98 kB / 2.461 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/4.544, allocations: 155.6 kB / 2.461 GB, free: 2.887 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/4.544, allocations: 48.48 kB / 2.461 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/4.545, allocations: 31.98 kB / 2.461 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002468/4.547, allocations: 1.526 MB / 2.463 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.9e-07/4.547, allocations: 0 / 2.463 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003746/4.551, allocations: 1.193 MB / 2.464 GB, free: 84 kB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4382/4.989, allocations: 1.23 MB / 2.465 GB, free: 119.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002717/4.992, allocations: 1.365 MB / 2.466 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/4.992, allocations: 1.469 kB / 2.466 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004924/4.992, allocations: 338.6 kB / 2.467 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0071/4.999, allocations: 1.47 MB / 2.468 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/5.005, allocations: 4.427 MB / 2.473 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009378/5.006, allocations: 1.588 MB / 2.474 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002214/5.008, allocations: 0.4893 MB / 2.475 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/5.008, allocations: 181.9 kB / 2.475 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of SimCode: time 8.62e-07/5.008, allocations: 0 / 2.475 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.07558/5.084, allocations: 51.57 MB / 2.525 GB, free: 114.9 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)