Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.69/1.69, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.28/3.28, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.076e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.8022/0.8023, allocations: 102.9 MB / 1.102 GB, free: 29 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0337/0.836, allocations: 18.78 MB / 1.12 GB, free: 16.15 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00709/0.843, allocations: 148.5 kB / 1.12 GB, free: 16.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.005739/0.8488, allocations: 1.292 MB / 1.121 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01698/0.8658, allocations: 4.041 MB / 1.125 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01066/0.8764, allocations: 3.242 MB / 1.128 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01386/0.8903, allocations: 7.261 MB / 1.136 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004289/0.8946, allocations: 1.891 MB / 1.137 GB, free: 6.496 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.908, allocations: 4.052 MB / 1.141 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005984/0.914, allocations: 1.848 MB / 1.143 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.915, allocations: 258.5 kB / 1.143 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006065/0.921, allocations: 1.447 MB / 1.145 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.9221, allocations: 0.7398 MB / 1.146 GB, free: 3.074 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.003719/0.9258, allocations: 0.9991 MB / 1.146 GB, free: 2.629 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.9386, allocations: 4.477 MB / 1.151 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.9386, allocations: 0 / 1.151 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9386, allocations: 0 / 1.151 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001801/0.9388, allocations: 1.219 kB / 1.151 GB, free: 1.004 MB / 0.9948 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.01045/0.9493, allocations: 3.178 MB / 1.154 GB, free: 14.99 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.9493, allocations: 16.05 kB / 1.154 GB, free: 14.98 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.9507, allocations: 338.1 kB / 1.154 GB, free: 14.81 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006048/0.9568, allocations: 2.118 MB / 1.156 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.9569, allocations: 127.3 kB / 1.157 GB, free: 13.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.9572, allocations: 178.3 kB / 1.157 GB, free: 13.48 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004882/0.9621, allocations: 1.906 MB / 1.159 GB, free: 12.38 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.9622, allocations: 5.656 kB / 1.159 GB, free: 12.38 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.9623, allocations: 62.72 kB / 1.159 GB, free: 12.33 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/0.9624, allocations: 44.12 kB / 1.159 GB, free: 12.33 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.9652, allocations: 1.145 MB / 1.16 GB, free: 11.9 MB / 1.01 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.01379/0.979, allocations: 5.48 MB / 1.165 GB, free: 8.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.98, allocations: 438.3 kB / 1.166 GB, free: 8.488 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/0.9806, allocations: 291.4 kB / 1.166 GB, free: 8.375 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003907/0.981, allocations: 88.38 kB / 1.166 GB, free: 8.355 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.534e-05/0.981, allocations: 43.62 kB / 1.166 GB, free: 8.309 MB / 1.01 GB Notification: Performance of pre-optimization done (n=60): time 3.055e-06/0.981, allocations: 0 / 1.166 GB, free: 8.309 MB / 1.01 GB Notification: Performance of matching and sorting (n=60): time 0.00274/0.9838, allocations: 0.9722 MB / 1.167 GB, free: 7.895 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.9838, allocations: 58.56 kB / 1.167 GB, free: 7.832 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003898/0.9877, allocations: 2.07 MB / 1.169 GB, free: 7.016 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.988, allocations: 49.08 kB / 1.169 GB, free: 6.969 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.9894, allocations: 1.166 MB / 1.17 GB, free: 6.051 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.9897, allocations: 221.7 kB / 1.17 GB, free: 5.875 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000466/0.9902, allocations: 247.1 kB / 1.171 GB, free: 5.758 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.9904, allocations: 350.9 kB / 1.171 GB, free: 5.434 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/0.9912, allocations: 361.6 kB / 1.171 GB, free: 5.293 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.9928, allocations: 1.206 MB / 1.172 GB, free: 4.137 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.9947, allocations: 0.9757 MB / 1.173 GB, free: 3.488 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.9947, allocations: 2.594 kB / 1.173 GB, free: 3.488 MB / 1.01 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003301/0.998, allocations: 1.273 MB / 1.175 GB, free: 2.934 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.998, allocations: 9.094 kB / 1.175 GB, free: 2.934 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.998, allocations: 12.73 kB / 1.175 GB, free: 2.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.341e-05/0.9981, allocations: 17.88 kB / 1.175 GB, free: 2.926 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.9991, allocations: 254.5 kB / 1.175 GB, free: 2.898 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.398e-05/0.9992, allocations: 18.55 kB / 1.175 GB, free: 2.895 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/1.001, allocations: 146.4 kB / 1.175 GB, free: 2.812 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.001, allocations: 49.95 kB / 1.175 GB, free: 2.805 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002082/1.003, allocations: 0.7604 MB / 1.176 GB, free: 2.422 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001562/1.005, allocations: 1.197 MB / 1.177 GB, free: 1.266 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001713/1.007, allocations: 0.9431 MB / 1.178 GB, free: 0.625 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.047e-06/1.007, allocations: 2.344 kB / 1.178 GB, free: 0.625 MB / 1.01 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.003268/1.01, allocations: 1.245 MB / 1.179 GB, free: 92 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.01, allocations: 8.875 kB / 1.179 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.01, allocations: 9 kB / 1.179 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.01, allocations: 13.88 kB / 1.179 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.011, allocations: 251.6 kB / 1.179 GB, free: 64 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.6e-05/1.011, allocations: 25.45 kB / 1.179 GB, free: 56 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.013, allocations: 121.4 kB / 1.18 GB, free: 15.99 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.013, allocations: 55.77 kB / 1.18 GB, free: 15.98 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005787/1.014, allocations: 248.3 kB / 1.18 GB, free: 15.75 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006808/1.015, allocations: 214.4 kB / 1.18 GB, free: 15.63 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/1.017, allocations: 0.8659 MB / 1.181 GB, free: 15.27 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/1.017, allocations: 10.81 kB / 1.181 GB, free: 15.27 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.017, allocations: 2.25 kB / 1.181 GB, free: 15.27 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/1.018, allocations: 0.6909 MB / 1.182 GB, free: 14.91 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/1.024, allocations: 2.183 MB / 1.184 GB, free: 13.65 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.024, allocations: 9.188 kB / 1.184 GB, free: 13.64 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/1.024, allocations: 128.7 kB / 1.184 GB, free: 13.61 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/1.024, allocations: 3.938 kB / 1.184 GB, free: 13.61 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/1.024, allocations: 15.62 kB / 1.184 GB, free: 13.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.024, allocations: 6.969 kB / 1.184 GB, free: 13.6 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.024, allocations: 0 / 1.184 GB, free: 13.6 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/1.027, allocations: 1.311 MB / 1.185 GB, free: 12.82 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.028, allocations: 311.5 kB / 1.185 GB, free: 12.59 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/1.029, allocations: 15.86 kB / 1.186 GB, free: 12.58 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008608/1.029, allocations: 43.48 kB / 1.186 GB, free: 12.56 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.03, allocations: 49.98 kB / 1.186 GB, free: 12.53 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/1.03, allocations: 32.84 kB / 1.186 GB, free: 12.52 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002726/1.032, allocations: 1.361 MB / 1.187 GB, free: 11.78 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/1.032, allocations: 1.281 kB / 1.187 GB, free: 11.78 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.004464/1.037, allocations: 1.162 MB / 1.188 GB, free: 11.49 MB / 1.026 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003772/1.041, allocations: 0.7797 MB / 1.189 GB, free: 11.13 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003116/1.044, allocations: 1.284 MB / 1.19 GB, free: 10.56 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.044, allocations: 0 / 1.19 GB, free: 10.56 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/1.044, allocations: 307.3 kB / 1.19 GB, free: 10.42 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005949/1.05, allocations: 1.149 MB / 1.192 GB, free: 9.828 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007427/1.058, allocations: 3.596 MB / 1.195 GB, free: 7.691 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.059, allocations: 1.01 MB / 1.196 GB, free: 7.145 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.002445/1.061, allocations: 461.3 kB / 1.196 GB, free: 6.938 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/1.062, allocations: 166 kB / 1.197 GB, free: 6.902 MB / 1.026 GB Notification: Performance of SimCode: time 1.342e-06/1.062, allocations: 0 / 1.197 GB, free: 6.902 MB / 1.026 GB Notification: Performance of Templates: time 0.0872/1.149, allocations: 43.47 MB / 1.239 GB, free: 12.84 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.075477734208107]