Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.001008/0.001008, allocations: 187 kB / 373 MB, free: 10.15 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.835/1.835, allocations: 205.4 MB / 0.6317 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008386/0.0008386, allocations: 86.36 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004419, allocations: 12.69 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.409, allocations: 432.5 MB / 1.403 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/1.41, allocations: 118.7 kB / 1.403 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.482/4.892, allocations: 0.9684 GB / 2.372 GB, free: 128.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.615e-06/4.892, allocations: 0 / 2.372 GB, free: 128.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000298/4.892, allocations: 76.27 kB / 2.372 GB, free: 128.9 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.007018/4.899, allocations: 2.989 MB / 2.375 GB, free: 127.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/4.899, allocations: 10.81 kB / 2.375 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009978/4.9, allocations: 328.8 kB / 2.375 GB, free: 127 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004601/4.905, allocations: 2.432 MB / 2.377 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/4.905, allocations: 133.3 kB / 2.377 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/4.905, allocations: 181.5 kB / 2.378 GB, free: 125.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/4.908, allocations: 1.574 MB / 2.379 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/4.908, allocations: 3.938 kB / 2.379 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/4.908, allocations: 62.62 kB / 2.379 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/4.908, allocations: 42.19 kB / 2.379 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/4.91, allocations: 1.115 MB / 2.38 GB, free: 124.4 MB / 0.948 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.01045/4.92, allocations: 7.938 MB / 2.388 GB, free: 119.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/4.921, allocations: 459.8 kB / 2.389 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004368/4.921, allocations: 339 kB / 2.389 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/4.922, allocations: 0.7578 MB / 2.39 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/4.922, allocations: 42.94 kB / 2.39 GB, free: 117.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.976e-06/4.922, allocations: 2.25 kB / 2.39 GB, free: 117.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002006/4.924, allocations: 1.008 MB / 2.391 GB, free: 117.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/4.924, allocations: 59.5 kB / 2.391 GB, free: 117.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/4.927, allocations: 2.242 MB / 2.393 GB, free: 116.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002069/4.927, allocations: 53.42 kB / 2.393 GB, free: 116 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/4.928, allocations: 1.14 MB / 2.394 GB, free: 115 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/4.928, allocations: 214.1 kB / 2.394 GB, free: 114.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/4.928, allocations: 23.69 kB / 2.394 GB, free: 114.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/4.928, allocations: 348.5 kB / 2.395 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/4.928, allocations: 345.5 kB / 2.395 GB, free: 114.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/4.929, allocations: 0.8144 MB / 2.396 GB, free: 113.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/4.93, allocations: 0.9409 MB / 2.397 GB, free: 112.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/4.93, allocations: 3.844 kB / 2.397 GB, free: 112.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002134/4.933, allocations: 1.262 MB / 2.398 GB, free: 112.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/4.933, allocations: 317.9 kB / 2.398 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/4.933, allocations: 11.06 kB / 2.398 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/4.933, allocations: 9.875 kB / 2.398 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009549/4.934, allocations: 264.8 kB / 2.398 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/4.934, allocations: 22.17 kB / 2.398 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/4.936, allocations: 260.3 kB / 2.399 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/4.936, allocations: 57.81 kB / 2.399 GB, free: 111.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/4.936, allocations: 7.406 kB / 2.399 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/4.937, allocations: 1.01 MB / 2.4 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/4.937, allocations: 7.781 kB / 2.4 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/4.937, allocations: 13.72 kB / 2.4 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/4.938, allocations: 257.2 kB / 2.4 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/4.938, allocations: 15.66 kB / 2.4 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/4.94, allocations: 242.5 kB / 2.4 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.972e-05/4.94, allocations: 58.06 kB / 2.4 GB, free: 110.9 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 () * 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.001338/4.942, allocations: 0.5784 MB / 2.401 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/4.942, allocations: 230.4 kB / 2.401 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/4.944, allocations: 0.9173 MB / 2.402 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/4.944, allocations: 14.06 kB / 2.402 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/4.944, allocations: 3.562 kB / 2.402 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008732/4.945, allocations: 0.7254 MB / 2.403 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/4.949, allocations: 2.626 MB / 2.405 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/4.949, allocations: 3.094 kB / 2.405 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/4.949, allocations: 148.6 kB / 2.405 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/4.95, allocations: 10 kB / 2.405 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/4.95, allocations: 18.12 kB / 2.405 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/4.95, allocations: 3.875 kB / 2.405 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/4.95, allocations: 0 / 2.405 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/4.951, allocations: 1.343 MB / 2.407 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/4.952, allocations: 452.7 kB / 2.407 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/4.952, allocations: 11.94 kB / 2.407 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/4.954, allocations: 162.4 kB / 2.407 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/4.954, allocations: 40.94 kB / 2.407 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/4.954, allocations: 40 kB / 2.407 GB, free: 106.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002026/4.956, allocations: 1.496 MB / 2.409 GB, free: 105.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/4.956, allocations: 0 / 2.409 GB, free: 105.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003374/4.959, allocations: 1.188 MB / 2.41 GB, free: 105.3 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 () * 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.002284/4.962, allocations: 1.248 MB / 2.411 GB, free: 104.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002423/4.964, allocations: 1.361 MB / 2.413 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/4.964, allocations: 5.469 kB / 2.413 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/4.965, allocations: 337.2 kB / 2.413 GB, free: 104.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007433/4.972, allocations: 1.501 MB / 2.414 GB, free: 103.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/4.978, allocations: 4.379 MB / 2.419 GB, free: 100.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008889/4.978, allocations: 1.587 MB / 2.42 GB, free: 99.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0023/4.981, allocations: 499.7 kB / 2.421 GB, free: 99.31 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/4.981, allocations: 183.1 kB / 2.421 GB, free: 99.28 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/4.981, allocations: 0 / 2.421 GB, free: 99.28 MB / 0.948 GB Notification: Performance of Templates: time 0.07353/5.055, allocations: 51.81 MB / 2.471 GB, free: 49.39 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)