Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.544/1.544, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 180.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000837/0.000837, allocations: 97.55 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.769e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5354, allocations: 116.3 MB / 0.9732 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8236/1.359, allocations: 432.6 MB / 1.396 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/1.359, allocations: 102.1 kB / 1.396 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.687/4.047, allocations: 0.9659 GB / 2.362 GB, free: 0.7656 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/4.047, allocations: 0 / 2.362 GB, free: 0.7656 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000271/4.047, allocations: 75.98 kB / 2.362 GB, free: 0.6914 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.6323/4.679, allocations: 2.532 MB / 2.364 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/4.679, allocations: 9.562 kB / 2.364 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/4.681, allocations: 320.6 kB / 2.365 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/4.686, allocations: 2.415 MB / 2.367 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/4.686, allocations: 47.47 kB / 2.367 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/4.686, allocations: 103.6 kB / 2.367 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002125/4.689, allocations: 0.9809 MB / 2.368 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/4.691, allocations: 1.303 MB / 2.369 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/4.691, allocations: 4.438 kB / 2.369 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/4.691, allocations: 2.094 kB / 2.369 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-05/4.691, allocations: 45.12 kB / 2.369 GB, free: 124.1 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01026/4.702, allocations: 7.624 MB / 2.377 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/4.702, allocations: 435.6 kB / 2.377 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/4.703, allocations: 305 kB / 2.377 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/4.703, allocations: 0.7591 MB / 2.378 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/4.703, allocations: 46.47 kB / 2.378 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 2.825e-06/4.703, allocations: 0 / 2.378 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.001686/4.705, allocations: 0.7197 MB / 2.379 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/4.705, allocations: 63.31 kB / 2.379 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/4.707, allocations: 1.664 MB / 2.381 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/4.708, allocations: 29.48 kB / 2.381 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008227/4.708, allocations: 1.145 MB / 2.382 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/4.709, allocations: 207.8 kB / 2.382 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/4.709, allocations: 2.906 kB / 2.382 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/4.709, allocations: 354 kB / 2.382 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/4.709, allocations: 308 kB / 2.383 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/4.71, allocations: 0.7572 MB / 2.383 GB, free: 118 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/4.711, allocations: 446.7 kB / 2.384 GB, free: 118 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/4.711, allocations: 0 / 2.384 GB, free: 118 MB / 0.9636 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001781/4.712, allocations: 1.12 MB / 2.385 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006145/4.713, allocations: 3.152 MB / 2.388 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/4.713, allocations: 7.469 kB / 2.388 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/4.713, allocations: 16.94 kB / 2.388 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/4.714, allocations: 260.3 kB / 2.388 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/4.714, allocations: 17.83 kB / 2.388 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/4.716, allocations: 202.8 kB / 2.388 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/4.716, allocations: 53.91 kB / 2.388 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/4.716, allocations: 5.344 kB / 2.388 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/4.717, allocations: 0.8479 MB / 2.389 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/4.717, allocations: 7.812 kB / 2.389 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/4.717, allocations: 19.12 kB / 2.389 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000845/4.718, allocations: 259.6 kB / 2.39 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/4.718, allocations: 16.22 kB / 2.39 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/4.72, allocations: 172.7 kB / 2.39 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/4.72, allocations: 51.06 kB / 2.39 GB, free: 114.4 MB / 0.9636 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 () * 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.0002516/4.72, allocations: 142.6 kB / 2.39 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/4.721, allocations: 204.5 kB / 2.39 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/4.722, allocations: 0.8183 MB / 2.391 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/4.722, allocations: 7.469 kB / 2.391 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/4.722, allocations: 3.953 kB / 2.391 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008285/4.723, allocations: 0.6513 MB / 2.392 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004215/4.727, allocations: 2.403 MB / 2.394 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/4.727, allocations: 0 / 2.394 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/4.728, allocations: 153.8 kB / 2.394 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/4.728, allocations: 3.844 kB / 2.394 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/4.728, allocations: 12.7 kB / 2.394 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/4.728, allocations: 5.453 kB / 2.394 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/4.728, allocations: 2.344 kB / 2.394 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/4.73, allocations: 1.266 MB / 2.395 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/4.73, allocations: 432.6 kB / 2.396 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/4.731, allocations: 0 / 2.396 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/4.732, allocations: 153.2 kB / 2.396 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/4.732, allocations: 45.19 kB / 2.396 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/4.732, allocations: 36.33 kB / 2.396 GB, free: 113 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001738/4.734, allocations: 1.231 MB / 2.397 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.4e-07/4.734, allocations: 0 / 2.397 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003752/4.738, allocations: 1.207 MB / 2.398 GB, free: 112.7 MB / 0.9636 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 () * 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.002223/4.74, allocations: 1.222 MB / 2.4 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002007/4.742, allocations: 1.3 MB / 2.401 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/4.742, allocations: 0 / 2.401 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/4.742, allocations: 306.2 kB / 2.401 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006455/4.749, allocations: 1.269 MB / 2.402 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/4.754, allocations: 2.75 MB / 2.405 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/4.755, allocations: 1.63 MB / 2.407 GB, free: 111 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002831/4.758, allocations: 0.636 MB / 2.407 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/4.758, allocations: 122.7 kB / 2.407 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/4.758, allocations: 3.812 kB / 2.407 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.0853/4.843, allocations: 44.93 MB / 2.451 GB, free: 109.2 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)