Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.627/2.627, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001276/0.001276, allocations: 173.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.249/2.249, allocations: 205.4 MB / 0.6297 GB, free: 10.48 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.0009562/0.0009556, allocations: 97.75 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 12.92 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2866, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.8849/1.172, allocations: 104.6 MB / 1.08 GB, free: 30.42 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.05026/1.222, allocations: 22.77 MB / 1.103 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005583/1.228, allocations: 104 kB / 1.103 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004913/1.233, allocations: 0.8974 MB / 1.104 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0136/1.246, allocations: 2.842 MB / 1.106 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01172/1.258, allocations: 2.34 MB / 1.109 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01521/1.273, allocations: 8.036 MB / 1.117 GB, free: 25.9 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004664/1.278, allocations: 1.787 MB / 1.118 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007301/1.285, allocations: 2.202 MB / 1.12 GB, free: 24.47 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/1.291, allocations: 1.913 MB / 1.122 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001065/1.292, allocations: 88.53 kB / 1.122 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006453/1.298, allocations: 1.134 MB / 1.124 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001659/1.3, allocations: 494.2 kB / 1.124 GB, free: 23.34 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001915/1.302, allocations: 0.5583 MB / 1.125 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00717/1.309, allocations: 3.237 MB / 1.128 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/1.309, allocations: 5.344 kB / 1.128 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.895e-06/1.309, allocations: 4 kB / 1.128 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000159/1.309, allocations: 0 / 1.128 GB, free: 21.93 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.008429/1.318, allocations: 2.675 MB / 1.13 GB, free: 20 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.318, allocations: 8.531 kB / 1.13 GB, free: 20 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/1.32, allocations: 313.5 kB / 1.131 GB, free: 19.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006684/1.326, allocations: 2.039 MB / 1.133 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.327, allocations: 124.2 kB / 1.133 GB, free: 18.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005207/1.327, allocations: 166.5 kB / 1.133 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00498/1.332, allocations: 1.604 MB / 1.134 GB, free: 17.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/1.332, allocations: 1.031 kB / 1.134 GB, free: 17.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/1.332, allocations: 64.8 kB / 1.135 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/1.333, allocations: 46.72 kB / 1.135 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/1.337, allocations: 1.146 MB / 1.136 GB, free: 16.64 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.01805/1.355, allocations: 7.887 MB / 1.143 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/1.356, allocations: 475.8 kB / 1.144 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008772/1.357, allocations: 333.9 kB / 1.144 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006924/1.358, allocations: 0.756 MB / 1.145 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/1.358, allocations: 39.12 kB / 1.145 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.556e-06/1.358, allocations: 1.312 kB / 1.145 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.00359/1.361, allocations: 0.9905 MB / 1.146 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.362, allocations: 58.88 kB / 1.146 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005718/1.367, allocations: 2.252 MB / 1.148 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003111/1.368, allocations: 48.39 kB / 1.148 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/1.369, allocations: 1.15 MB / 1.149 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/1.369, allocations: 208.9 kB / 1.15 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/1.37, allocations: 22.75 kB / 1.15 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.37, allocations: 348 kB / 1.15 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.371, allocations: 342.2 kB / 1.15 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/1.372, allocations: 0.7342 MB / 1.151 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/1.374, allocations: 466.4 kB / 1.151 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.374, allocations: 7.281 kB / 1.151 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00396/1.378, allocations: 1.261 MB / 1.153 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/1.378, allocations: 344.9 kB / 1.153 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.378, allocations: 10.41 kB / 1.153 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/1.378, allocations: 22.3 kB / 1.153 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/1.38, allocations: 253.8 kB / 1.153 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/1.38, allocations: 23.52 kB / 1.153 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/1.384, allocations: 257.3 kB / 1.154 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/1.384, allocations: 49.7 kB / 1.154 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.384, allocations: 2.906 kB / 1.154 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003156/1.387, allocations: 1.018 MB / 1.155 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/1.387, allocations: 13.42 kB / 1.155 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.387, allocations: 13.25 kB / 1.155 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/1.389, allocations: 261.6 kB / 1.155 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/1.389, allocations: 17.53 kB / 1.155 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/1.393, allocations: 224.4 kB / 1.155 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/1.393, allocations: 54.39 kB / 1.155 GB, free: 2.262 MB / 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.001673/1.395, allocations: 0.5757 MB / 1.156 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008508/1.396, allocations: 232.2 kB / 1.156 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/1.398, allocations: 0.8874 MB / 1.157 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/1.398, allocations: 6.594 kB / 1.157 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.398, allocations: 0 / 1.157 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/1.4, allocations: 0.6961 MB / 1.157 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/1.407, allocations: 2.559 MB / 1.16 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.408, allocations: 3 kB / 1.16 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.409, allocations: 127.1 kB / 1.16 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/1.409, allocations: 3.344 kB / 1.16 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/1.409, allocations: 24.33 kB / 1.16 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/1.409, allocations: 7.234 kB / 1.16 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.409, allocations: 4.094 kB / 1.16 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/1.413, allocations: 1.321 MB / 1.161 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/1.415, allocations: 446.7 kB / 1.162 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009174/1.415, allocations: 17.03 kB / 1.162 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/1.418, allocations: 114.6 kB / 1.162 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.419, allocations: 44.41 kB / 1.162 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/1.419, allocations: 31.59 kB / 1.162 GB, free: 13.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004008/1.423, allocations: 1.496 MB / 1.163 GB, free: 12.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.232e-06/1.423, allocations: 0 / 1.163 GB, free: 12.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005921/1.429, allocations: 1.086 MB / 1.165 GB, free: 12.41 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.002523/1.431, allocations: 0.7167 MB / 1.165 GB, free: 11.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004619/1.436, allocations: 1.351 MB / 1.167 GB, free: 10.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.436, allocations: 0 / 1.167 GB, free: 10.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.437, allocations: 335.4 kB / 1.167 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/1.45, allocations: 1.4 MB / 1.168 GB, free: 8.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.462, allocations: 4.35 MB / 1.172 GB, free: 4.453 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/1.464, allocations: 1.582 MB / 1.174 GB, free: 2.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003838/1.467, allocations: 490.7 kB / 1.175 GB, free: 2.355 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008683/1.468, allocations: 179.3 kB / 1.175 GB, free: 2.18 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.468, allocations: 0 / 1.175 GB, free: 2.18 MB / 0.698 GB Notification: Performance of Templates: time 0.1252/1.593, allocations: 43.93 MB / 1.218 GB, free: 6.695 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)