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.396/2.396, allocations: 284.8 MB / 297.3 MB, free: 6.312 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.001597/0.001597, allocations: 176.7 kB / 365.7 MB, free: 2.602 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 1.978/1.978, allocations: 205.2 MB / 0.6241 GB, free: 8.184 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.001026/0.001026, allocations: 96.78 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.341e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7795, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/2.062, allocations: 432.1 MB / 1.392 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/2.062, allocations: 99.69 kB / 1.392 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.649/7.711, allocations: 0.9712 GB / 2.363 GB, free: 119.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.003e-06/7.711, allocations: 0 / 2.363 GB, free: 119.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004953/7.711, allocations: 74.22 kB / 2.363 GB, free: 119.2 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.00895/7.72, allocations: 2.534 MB / 2.366 GB, free: 118.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/7.72, allocations: 10.19 kB / 2.366 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/7.722, allocations: 327.3 kB / 2.366 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009583/7.732, allocations: 2.409 MB / 2.368 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/7.732, allocations: 129.5 kB / 2.369 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000598/7.733, allocations: 173.9 kB / 2.369 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005265/7.738, allocations: 1.516 MB / 2.37 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.755e-05/7.738, allocations: 5.688 kB / 2.37 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/7.739, allocations: 66.16 kB / 2.37 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.242e-05/7.739, allocations: 41.45 kB / 2.37 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/7.742, allocations: 1.052 MB / 2.371 GB, free: 117.6 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.01983/7.762, allocations: 7.978 MB / 2.379 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/7.763, allocations: 441.5 kB / 2.38 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/7.764, allocations: 316.9 kB / 2.38 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007432/7.765, allocations: 0.7531 MB / 2.381 GB, free: 113.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/7.765, allocations: 42.5 kB / 2.381 GB, free: 113.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.689e-06/7.765, allocations: 0 / 2.381 GB, free: 113.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002629/7.768, allocations: 0.7417 MB / 2.381 GB, free: 112.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/7.768, allocations: 58.7 kB / 2.381 GB, free: 112.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005345/7.773, allocations: 2.014 MB / 2.383 GB, free: 112.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004111/7.774, allocations: 51.8 kB / 2.383 GB, free: 112.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/7.775, allocations: 1.149 MB / 2.385 GB, free: 112.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/7.775, allocations: 218.1 kB / 2.385 GB, free: 112.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/7.775, allocations: 24.59 kB / 2.385 GB, free: 112.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001104/7.775, allocations: 343.1 kB / 2.385 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008613/7.776, allocations: 317.8 kB / 2.385 GB, free: 111.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/7.777, allocations: 0.7866 MB / 2.386 GB, free: 111.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/7.779, allocations: 453.3 kB / 2.387 GB, free: 111.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/7.779, allocations: 3.719 kB / 2.387 GB, free: 111.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003301/7.782, allocations: 1.199 MB / 2.388 GB, free: 111.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007158/7.783, allocations: 3.206 MB / 2.391 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/7.783, allocations: 11.14 kB / 2.391 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.479e-05/7.783, allocations: 15.94 kB / 2.391 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/7.785, allocations: 252.9 kB / 2.391 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.243e-05/7.785, allocations: 21.78 kB / 2.391 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/7.789, allocations: 271 kB / 2.391 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/7.789, allocations: 58.86 kB / 2.392 GB, free: 107.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/7.789, allocations: 4.75 kB / 2.392 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002868/7.792, allocations: 0.9527 MB / 2.392 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/7.792, allocations: 8.406 kB / 2.392 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/7.792, allocations: 16.06 kB / 2.392 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/7.794, allocations: 252 kB / 2.393 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/7.794, allocations: 18.56 kB / 2.393 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/7.798, allocations: 247.7 kB / 2.393 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/7.798, allocations: 50.12 kB / 2.393 GB, free: 107.6 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.0004612/7.799, allocations: 171.5 kB / 2.393 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/7.799, allocations: 241.1 kB / 2.393 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/7.802, allocations: 0.8836 MB / 2.394 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/7.802, allocations: 10.61 kB / 2.394 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/7.802, allocations: 0 / 2.394 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001578/7.804, allocations: 0.6859 MB / 2.395 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008624/7.813, allocations: 2.614 MB / 2.398 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/7.813, allocations: 2.531 kB / 2.398 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/7.814, allocations: 150.4 kB / 2.398 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/7.814, allocations: 3.406 kB / 2.398 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/7.814, allocations: 19.91 kB / 2.398 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/7.814, allocations: 6.531 kB / 2.398 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/7.814, allocations: 1.188 kB / 2.398 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/7.818, allocations: 1.34 MB / 2.399 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/7.82, allocations: 459.5 kB / 2.399 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/7.821, allocations: 19.19 kB / 2.399 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00363/7.824, allocations: 159.6 kB / 2.4 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/7.825, allocations: 42.44 kB / 2.4 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/7.825, allocations: 38.91 kB / 2.4 GB, free: 106.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005207/7.83, allocations: 1.525 MB / 2.401 GB, free: 105.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.052e-06/7.83, allocations: 0 / 2.401 GB, free: 105.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006977/7.837, allocations: 1.209 MB / 2.402 GB, free: 105.8 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.003699/7.841, allocations: 1.236 MB / 2.404 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004433/7.845, allocations: 1.378 MB / 2.405 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/7.846, allocations: 4.344 kB / 2.405 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/7.846, allocations: 316.6 kB / 2.405 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01435/7.861, allocations: 1.508 MB / 2.407 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008918/7.87, allocations: 2.855 MB / 2.409 GB, free: 104.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/7.871, allocations: 1.633 MB / 2.411 GB, free: 103.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005979/7.877, allocations: 0.7103 MB / 2.412 GB, free: 103.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/7.878, allocations: 132.3 kB / 2.412 GB, free: 103.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.555e-06/7.878, allocations: 3.062 kB / 2.412 GB, free: 103.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1373/8.015, allocations: 57.09 MB / 2.468 GB, free: 101 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)