Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 181.7 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.4 MB / 0.5785 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008525, allocations: 78.95 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004197, allocations: 12.31 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9076/1.138, allocations: 424.9 MB / 1.316 GB, free: 7.758 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.138, allocations: 104.8 kB / 1.316 GB, free: 7.699 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.116/4.254, allocations: 0.9418 GB / 2.258 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.924e-06/4.254, allocations: 1.5 kB / 2.258 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004796/4.255, allocations: 81.95 kB / 2.258 GB, free: 111.8 MB / 0.8855 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.008036/4.263, allocations: 2.986 MB / 2.261 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/4.263, allocations: 7.5 kB / 2.261 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/4.264, allocations: 322.2 kB / 2.261 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00549/4.27, allocations: 2.444 MB / 2.264 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/4.27, allocations: 135.6 kB / 2.264 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004442/4.27, allocations: 172.7 kB / 2.264 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/4.273, allocations: 1.557 MB / 2.266 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-05/4.273, allocations: 3.938 kB / 2.266 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/4.274, allocations: 61.34 kB / 2.266 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/4.274, allocations: 43.03 kB / 2.266 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/4.276, allocations: 1.108 MB / 2.267 GB, free: 109.3 MB / 0.8855 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.01088/4.287, allocations: 7.912 MB / 2.274 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/4.287, allocations: 458.2 kB / 2.275 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/4.288, allocations: 329.8 kB / 2.275 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/4.288, allocations: 0.7544 MB / 2.276 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/4.288, allocations: 41.84 kB / 2.276 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 2.976e-06/4.288, allocations: 3.938 kB / 2.276 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.001956/4.29, allocations: 0.9942 MB / 2.277 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/4.29, allocations: 59.16 kB / 2.277 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/4.293, allocations: 2.25 MB / 2.279 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/4.293, allocations: 49.08 kB / 2.279 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007445/4.294, allocations: 1.136 MB / 2.28 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/4.294, allocations: 218.4 kB / 2.281 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/4.294, allocations: 23.22 kB / 2.281 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/4.294, allocations: 350 kB / 2.281 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/4.295, allocations: 335.2 kB / 2.281 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/4.296, allocations: 0.8124 MB / 2.282 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/4.297, allocations: 0.9475 MB / 2.283 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/4.297, allocations: 3.719 kB / 2.283 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002042/4.299, allocations: 1.246 MB / 2.284 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/4.299, allocations: 322.2 kB / 2.285 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/4.299, allocations: 8.125 kB / 2.285 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/4.299, allocations: 13.97 kB / 2.285 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/4.3, allocations: 263.6 kB / 2.285 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/4.3, allocations: 22.84 kB / 2.285 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/4.302, allocations: 270.3 kB / 2.285 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/4.302, allocations: 54.84 kB / 2.285 GB, free: 102 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/4.302, allocations: 5.406 kB / 2.285 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/4.304, allocations: 1.001 MB / 2.286 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/4.304, allocations: 10.78 kB / 2.286 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/4.304, allocations: 20.19 kB / 2.286 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/4.304, allocations: 253.3 kB / 2.286 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/4.304, allocations: 16.94 kB / 2.286 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/4.306, allocations: 236.8 kB / 2.287 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.58e-05/4.306, allocations: 46.2 kB / 2.287 GB, free: 101.8 MB / 0.8855 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.001096/4.307, allocations: 0.5871 MB / 2.287 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/4.308, allocations: 234.8 kB / 2.287 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/4.309, allocations: 0.9106 MB / 2.288 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/4.309, allocations: 13.53 kB / 2.288 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/4.309, allocations: 0 / 2.288 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008426/4.31, allocations: 0.7172 MB / 2.289 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/4.314, allocations: 2.618 MB / 2.292 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/4.314, allocations: 2.812 kB / 2.292 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/4.314, allocations: 152 kB / 2.292 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/4.314, allocations: 11.03 kB / 2.292 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/4.314, allocations: 15.66 kB / 2.292 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/4.314, allocations: 2.969 kB / 2.292 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/4.314, allocations: 6.875 kB / 2.292 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/4.316, allocations: 1.324 MB / 2.293 GB, free: 99.74 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008419/4.317, allocations: 443.5 kB / 2.294 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/4.317, allocations: 11.56 kB / 2.294 GB, free: 99.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/4.318, allocations: 163.4 kB / 2.294 GB, free: 99.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/4.318, allocations: 48.73 kB / 2.294 GB, free: 99.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/4.319, allocations: 28.3 kB / 2.294 GB, free: 99.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001939/4.32, allocations: 1.498 MB / 2.295 GB, free: 98.81 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/4.321, allocations: 0 / 2.295 GB, free: 98.81 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00303/4.324, allocations: 1.182 MB / 2.296 GB, free: 98.55 MB / 0.8855 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.002085/4.326, allocations: 1.245 MB / 2.298 GB, free: 98.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002136/4.328, allocations: 1.355 MB / 2.299 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/4.328, allocations: 0 / 2.299 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/4.328, allocations: 335.7 kB / 2.299 GB, free: 97.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006866/4.335, allocations: 1.502 MB / 2.301 GB, free: 97.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/4.341, allocations: 4.376 MB / 2.305 GB, free: 95.01 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/4.342, allocations: 1.584 MB / 2.307 GB, free: 94.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002204/4.344, allocations: 497.4 kB / 2.307 GB, free: 94.12 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/4.344, allocations: 179.8 kB / 2.307 GB, free: 94.11 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/4.344, allocations: 0 / 2.307 GB, free: 94.11 MB / 0.8855 GB Notification: Performance of Templates: time 0.06968/4.414, allocations: 51.56 MB / 2.358 GB, free: 52.57 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)