Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.146/2.146, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001415/0.001415, allocations: 167 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.413/2.413, allocations: 205.4 MB / 0.5772 GB, free: 20.84 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.0009321/0.0009319, allocations: 92.95 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006437/0.000644, allocations: 11.91 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2351, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.507, allocations: 424.5 MB / 1.314 GB, free: 10.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/1.508, allocations: 110.5 kB / 1.314 GB, free: 10.86 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.386/6.894, allocations: 0.9417 GB / 2.256 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.176e-06/6.894, allocations: 0 / 2.256 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005504/6.895, allocations: 86.45 kB / 2.256 GB, free: 113.7 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.01185/6.907, allocations: 3.013 MB / 2.259 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/6.907, allocations: 10.81 kB / 2.259 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/6.909, allocations: 320.8 kB / 2.259 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008581/6.918, allocations: 2.342 MB / 2.262 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/6.918, allocations: 138.8 kB / 2.262 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004723/6.918, allocations: 177.6 kB / 2.262 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004338/6.923, allocations: 1.559 MB / 2.263 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.39e-05/6.923, allocations: 6.875 kB / 2.263 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/6.923, allocations: 63.94 kB / 2.263 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/6.923, allocations: 38.75 kB / 2.263 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/6.927, allocations: 1.114 MB / 2.265 GB, free: 111.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.0172/6.944, allocations: 7.907 MB / 2.272 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/6.945, allocations: 449.6 kB / 2.273 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007996/6.946, allocations: 336.5 kB / 2.273 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/6.947, allocations: 0.7565 MB / 2.274 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/6.947, allocations: 42.41 kB / 2.274 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.356e-06/6.947, allocations: 0 / 2.274 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.003296/6.95, allocations: 0.9974 MB / 2.275 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/6.95, allocations: 59.03 kB / 2.275 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005164/6.955, allocations: 2.247 MB / 2.277 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003872/6.956, allocations: 48.83 kB / 2.277 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/6.957, allocations: 1.141 MB / 2.278 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/6.958, allocations: 214.5 kB / 2.278 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/6.958, allocations: 22.69 kB / 2.278 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001129/6.958, allocations: 354.7 kB / 2.279 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/6.959, allocations: 336.5 kB / 2.279 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/6.96, allocations: 0.8097 MB / 2.28 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/6.962, allocations: 471.3 kB / 2.28 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/6.962, allocations: 0 / 2.28 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003682/6.965, allocations: 1.252 MB / 2.282 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/6.966, allocations: 332.3 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/6.966, allocations: 9.156 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/6.966, allocations: 11.5 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/6.968, allocations: 258.7 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.325e-05/6.968, allocations: 20.12 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/6.972, allocations: 263.9 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/6.972, allocations: 57.88 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/6.972, allocations: 9.219 kB / 2.282 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002788/6.975, allocations: 1.001 MB / 2.283 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/6.975, allocations: 7.656 kB / 2.283 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/6.975, allocations: 11.31 kB / 2.283 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/6.977, allocations: 254.8 kB / 2.284 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/6.977, allocations: 21.25 kB / 2.284 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/6.98, allocations: 240.2 kB / 2.284 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/6.981, allocations: 53.39 kB / 2.284 GB, free: 104.1 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.001798/6.983, allocations: 0.5798 MB / 2.285 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008145/6.983, allocations: 229.5 kB / 2.285 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/6.986, allocations: 0.9228 MB / 2.286 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/6.986, allocations: 5.688 kB / 2.286 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/6.986, allocations: 6.719 kB / 2.286 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/6.988, allocations: 0.7137 MB / 2.286 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007064/6.995, allocations: 2.612 MB / 2.289 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/6.995, allocations: 5.312 kB / 2.289 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/6.996, allocations: 149.5 kB / 2.289 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/6.996, allocations: 7.781 kB / 2.289 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/6.996, allocations: 20.3 kB / 2.289 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/6.996, allocations: 3.062 kB / 2.289 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/6.996, allocations: 0 / 2.289 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/6.999, allocations: 1.327 MB / 2.29 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/7.001, allocations: 443.6 kB / 2.291 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005949/7.002, allocations: 18.19 kB / 2.291 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/7.005, allocations: 161 kB / 2.291 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/7.005, allocations: 49.33 kB / 2.291 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/7.005, allocations: 29.47 kB / 2.291 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003716/7.009, allocations: 1.502 MB / 2.293 GB, free: 102 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.414e-06/7.009, allocations: 0 / 2.293 GB, free: 102 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006229/7.015, allocations: 1.186 MB / 2.294 GB, free: 101.7 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.003508/7.019, allocations: 1.238 MB / 2.295 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003941/7.023, allocations: 1.352 MB / 2.296 GB, free: 101 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.547e-06/7.023, allocations: 5.156 kB / 2.296 GB, free: 101 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008715/7.024, allocations: 335 kB / 2.297 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/7.037, allocations: 1.514 MB / 2.298 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/7.048, allocations: 4.388 MB / 2.302 GB, free: 98.24 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/7.049, allocations: 1.583 MB / 2.304 GB, free: 97.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003951/7.053, allocations: 494.4 kB / 2.304 GB, free: 97.35 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/7.054, allocations: 183.3 kB / 2.305 GB, free: 97.33 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/7.054, allocations: 0 / 2.305 GB, free: 97.33 MB / 0.8855 GB Notification: Performance of Templates: time 0.1309/7.185, allocations: 50.74 MB / 2.354 GB, free: 58.97 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)