Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.474/2.474, allocations: 285 MB / 292.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 176.9 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.2 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 94.06 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.029e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7951, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/2.077, allocations: 431.5 MB / 1.385 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/2.078, allocations: 98.75 kB / 1.385 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.494/7.572, allocations: 0.9659 GB / 2.351 GB, free: 115.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.415e-06/7.572, allocations: 0 / 2.351 GB, free: 115.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000575/7.572, allocations: 76.61 kB / 2.351 GB, free: 115.7 MB / 0.948 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.009114/7.581, allocations: 2.537 MB / 2.353 GB, free: 114.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/7.581, allocations: 11.62 kB / 2.353 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/7.583, allocations: 326.3 kB / 2.354 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008976/7.592, allocations: 2.407 MB / 2.356 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/7.593, allocations: 47.34 kB / 2.356 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005356/7.593, allocations: 102.3 kB / 2.356 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003373/7.596, allocations: 0.986 MB / 2.357 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/7.601, allocations: 1.306 MB / 2.358 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.686e-05/7.601, allocations: 5.594 kB / 2.358 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/7.601, allocations: 3.719 kB / 2.358 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.767e-05/7.601, allocations: 41.09 kB / 2.358 GB, free: 114.1 MB / 0.948 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.01808/7.619, allocations: 7.627 MB / 2.366 GB, free: 110.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/7.62, allocations: 439.1 kB / 2.366 GB, free: 110.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/7.621, allocations: 311.8 kB / 2.367 GB, free: 110.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007318/7.622, allocations: 0.754 MB / 2.367 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/7.622, allocations: 40.94 kB / 2.367 GB, free: 109.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.689e-06/7.622, allocations: 2.969 kB / 2.367 GB, free: 109.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002777/7.625, allocations: 0.715 MB / 2.368 GB, free: 109.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/7.625, allocations: 63.19 kB / 2.368 GB, free: 109.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/7.629, allocations: 1.666 MB / 2.37 GB, free: 109.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000434/7.63, allocations: 26.45 kB / 2.37 GB, free: 109.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/7.631, allocations: 1.155 MB / 2.371 GB, free: 108.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/7.632, allocations: 201.5 kB / 2.371 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/7.632, allocations: 0 / 2.371 GB, free: 108.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001404/7.632, allocations: 357.8 kB / 2.371 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/7.633, allocations: 301.2 kB / 2.372 GB, free: 108.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/7.634, allocations: 0.7581 MB / 2.372 GB, free: 108 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/7.636, allocations: 447.6 kB / 2.373 GB, free: 108 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/7.636, allocations: 8.094 kB / 2.373 GB, free: 108 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003637/7.639, allocations: 1.118 MB / 2.374 GB, free: 107.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007493/7.64, allocations: 3.163 MB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/7.64, allocations: 7.531 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.547e-05/7.64, allocations: 14.91 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/7.643, allocations: 260.2 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/7.643, allocations: 15.62 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/7.646, allocations: 203.2 kB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/7.647, allocations: 55.42 kB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/7.647, allocations: 4.594 kB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002496/7.649, allocations: 0.8518 MB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/7.649, allocations: 11.67 kB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/7.649, allocations: 14.47 kB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/7.651, allocations: 253.1 kB / 2.379 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/7.651, allocations: 16.84 kB / 2.379 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/7.654, allocations: 174.9 kB / 2.379 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/7.655, allocations: 52.5 kB / 2.379 GB, free: 104.3 MB / 0.948 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.0004193/7.655, allocations: 135.6 kB / 2.379 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008176/7.656, allocations: 203.1 kB / 2.379 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/7.659, allocations: 0.8309 MB / 2.38 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/7.659, allocations: 11.25 kB / 2.38 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/7.659, allocations: 0 / 2.38 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/7.66, allocations: 0.6482 MB / 2.381 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006986/7.667, allocations: 2.398 MB / 2.383 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/7.667, allocations: 3.688 kB / 2.383 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/7.669, allocations: 151.5 kB / 2.383 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/7.669, allocations: 3.812 kB / 2.383 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/7.669, allocations: 7.031 kB / 2.383 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/7.669, allocations: 4.031 kB / 2.383 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/7.669, allocations: 7.359 kB / 2.383 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/7.672, allocations: 1.263 MB / 2.384 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/7.674, allocations: 433.8 kB / 2.385 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006042/7.674, allocations: 2.406 kB / 2.385 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/7.677, allocations: 153.4 kB / 2.385 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/7.678, allocations: 50.83 kB / 2.385 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/7.678, allocations: 40.38 kB / 2.385 GB, free: 102.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003259/7.681, allocations: 1.225 MB / 2.386 GB, free: 102.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.112e-06/7.681, allocations: 0 / 2.386 GB, free: 102.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00701/7.688, allocations: 1.211 MB / 2.387 GB, free: 102.6 MB / 0.948 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.003435/7.692, allocations: 1.218 MB / 2.389 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003761/7.695, allocations: 1.296 MB / 2.39 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/7.695, allocations: 1.094 kB / 2.39 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/7.696, allocations: 297.3 kB / 2.39 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01226/7.708, allocations: 1.28 MB / 2.391 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/7.718, allocations: 2.758 MB / 2.394 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/7.72, allocations: 1.634 MB / 2.396 GB, free: 100.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005546/7.726, allocations: 0.6398 MB / 2.396 GB, free: 100.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/7.727, allocations: 122.1 kB / 2.396 GB, free: 100.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.532e-06/7.727, allocations: 0 / 2.396 GB, free: 100.7 MB / 0.948 GB Notification: Performance of Templates: time 0.1214/7.848, allocations: 44.91 MB / 2.44 GB, free: 98.49 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)