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.758/1.758, allocations: 288.4 MB / 303.6 MB, free: 8.125 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.001026/0.001026, allocations: 180.5 kB / 372.3 MB, free: 10.13 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.715/1.715, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0008017/0.0008019, allocations: 100.2 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006919/0.0006923, allocations: 11.47 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3078, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.6505/0.9584, allocations: 104.6 MB / 1.082 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04429/1.003, allocations: 22.78 MB / 1.105 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00823/1.011, allocations: 104.4 kB / 1.105 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005481/1.017, allocations: 0.8879 MB / 1.105 GB, free: 30.72 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01369/1.03, allocations: 3.058 MB / 1.108 GB, free: 29.94 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009156/1.04, allocations: 2.365 MB / 1.111 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01421/1.054, allocations: 8.101 MB / 1.119 GB, free: 26 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005091/1.059, allocations: 2.038 MB / 1.121 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006456/1.065, allocations: 2.279 MB / 1.123 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/1.07, allocations: 1.9 MB / 1.125 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005681/1.07, allocations: 88.53 kB / 1.125 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/1.075, allocations: 1.363 MB / 1.126 GB, free: 23.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006962/1.076, allocations: 493.4 kB / 1.127 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002464/1.079, allocations: 1.259 MB / 1.128 GB, free: 22.47 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004349/1.083, allocations: 3.284 MB / 1.131 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.083, allocations: 0 / 1.131 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.507e-06/1.083, allocations: 1.219 kB / 1.131 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.763e-05/1.083, allocations: 2.734 kB / 1.131 GB, free: 20.36 MB / 0.6823 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.005104/1.088, allocations: 2.649 MB / 1.134 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.088, allocations: 13.59 kB / 1.134 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/1.089, allocations: 327.5 kB / 1.134 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/1.093, allocations: 2.105 MB / 1.136 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/1.093, allocations: 126.9 kB / 1.136 GB, free: 16.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/1.093, allocations: 173.6 kB / 1.136 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/1.096, allocations: 1.607 MB / 1.138 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/1.096, allocations: 5.219 kB / 1.138 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.096, allocations: 62.91 kB / 1.138 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.398e-05/1.096, allocations: 42.19 kB / 1.138 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/1.099, allocations: 1.149 MB / 1.139 GB, free: 14.96 MB / 0.6823 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.0102/1.109, allocations: 7.877 MB / 1.147 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/1.11, allocations: 487.2 kB / 1.147 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/1.11, allocations: 330 kB / 1.148 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005184/1.111, allocations: 0.7481 MB / 1.148 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.111, allocations: 48.12 kB / 1.148 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.866e-06/1.111, allocations: 0 / 1.148 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002108/1.113, allocations: 0.9921 MB / 1.149 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/1.113, allocations: 61.56 kB / 1.149 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/1.116, allocations: 2.244 MB / 1.152 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.116, allocations: 44.17 kB / 1.152 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/1.116, allocations: 1.142 MB / 1.153 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/1.117, allocations: 216.8 kB / 1.153 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/1.117, allocations: 25.16 kB / 1.153 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/1.117, allocations: 347.4 kB / 1.153 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/1.117, allocations: 344.5 kB / 1.154 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/1.118, allocations: 0.7316 MB / 1.154 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.119, allocations: 0.973 MB / 1.155 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.119, allocations: 3.938 kB / 1.155 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001952/1.121, allocations: 1.27 MB / 1.157 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.121, allocations: 342 kB / 1.157 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.121, allocations: 17.12 kB / 1.157 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/1.121, allocations: 13.41 kB / 1.157 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009434/1.122, allocations: 257.4 kB / 1.157 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/1.122, allocations: 15.53 kB / 1.157 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.124, allocations: 263 kB / 1.157 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/1.124, allocations: 48.48 kB / 1.157 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/1.125, allocations: 9.281 kB / 1.157 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001521/1.126, allocations: 1.02 MB / 1.158 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.126, allocations: 8.125 kB / 1.158 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.126, allocations: 14.84 kB / 1.158 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/1.127, allocations: 254.5 kB / 1.159 GB, free: 252 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/1.127, allocations: 16.62 kB / 1.159 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.129, allocations: 224.1 kB / 1.159 GB, free: 120 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/1.129, allocations: 54.08 kB / 1.159 GB, free: 104 kB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001342/1.13, allocations: 0.5824 MB / 1.16 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00036/1.13, allocations: 236.2 kB / 1.16 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/1.132, allocations: 0.896 MB / 1.161 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.132, allocations: 5.219 kB / 1.161 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.132, allocations: 0 / 1.161 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009662/1.133, allocations: 0.6984 MB / 1.161 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004225/1.137, allocations: 2.549 MB / 1.164 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.137, allocations: 7.297 kB / 1.164 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/1.138, allocations: 126.8 kB / 1.164 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/1.138, allocations: 3.406 kB / 1.164 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/1.138, allocations: 18.58 kB / 1.164 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/1.138, allocations: 3.281 kB / 1.164 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.138, allocations: 96 / 1.164 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/1.14, allocations: 1.326 MB / 1.165 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.141, allocations: 440.6 kB / 1.166 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/1.141, allocations: 18.12 kB / 1.166 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.142, allocations: 112.5 kB / 1.166 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.142, allocations: 44.38 kB / 1.166 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/1.142, allocations: 41.75 kB / 1.166 GB, free: 11.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002119/1.145, allocations: 1.49 MB / 1.167 GB, free: 10.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.145, allocations: 0 / 1.167 GB, free: 10.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002973/1.148, allocations: 1.095 MB / 1.168 GB, free: 9.289 MB / 0.698 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 (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.001683/1.149, allocations: 0.7443 MB / 1.169 GB, free: 8.676 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002597/1.152, allocations: 1.354 MB / 1.171 GB, free: 7.332 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.152, allocations: 0 / 1.171 GB, free: 7.332 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005075/1.152, allocations: 323 kB / 1.171 GB, free: 7.016 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007057/1.159, allocations: 1.371 MB / 1.172 GB, free: 5.656 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/1.166, allocations: 4.358 MB / 1.176 GB, free: 1.273 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.167, allocations: 1.578 MB / 1.178 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002357/1.17, allocations: 0.4909 MB / 1.178 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/1.17, allocations: 171.3 kB / 1.179 GB, free: 15 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/1.17, allocations: 4 kB / 1.179 GB, free: 15 MB / 0.7136 GB Notification: Performance of Templates: time 0.07623/1.246, allocations: 44.72 MB / 1.222 GB, free: 2.734 MB / 0.7448 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)