Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008838/0.0008838, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006242/0.006243, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 9.562 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3721, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1159/0.4881, allocations: 110.1 MB / 1.182 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03097/0.5191, allocations: 20.12 MB / 1.201 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006078/0.5252, allocations: 95.31 kB / 1.201 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004635/0.5299, allocations: 1.037 MB / 1.202 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.5419, allocations: 3.389 MB / 1.206 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00792/0.5498, allocations: 2.862 MB / 1.209 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.5616, allocations: 9.519 MB / 1.218 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003791/0.5654, allocations: 2.078 MB / 1.22 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006057/0.5715, allocations: 2.329 MB / 1.222 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003959/0.5755, allocations: 2.037 MB / 1.224 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005602/0.576, allocations: 92 kB / 1.224 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/0.581, allocations: 1.442 MB / 1.226 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008082/0.5818, allocations: 0.5132 MB / 1.226 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00245/0.5843, allocations: 1.334 MB / 1.227 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006447/0.5907, allocations: 4.146 MB / 1.231 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5908, allocations: 4 kB / 1.231 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.306e-06/0.5908, allocations: 0 / 1.231 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001156/0.5909, allocations: 0 / 1.231 GB, free: 5.91 MB / 0.9825 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.006083/0.597, allocations: 2.693 MB / 1.234 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.597, allocations: 12.03 kB / 1.234 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5982, allocations: 332.5 kB / 1.234 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/0.6026, allocations: 2.143 MB / 1.237 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.6027, allocations: 130.9 kB / 1.237 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.603, allocations: 171.8 kB / 1.237 GB, free: 308 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.6064, allocations: 1.612 MB / 1.238 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.6064, allocations: 0 / 1.238 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.6066, allocations: 71.89 kB / 1.238 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.43e-05/0.6067, allocations: 51.88 kB / 1.239 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.609, allocations: 1.155 MB / 1.24 GB, free: 13.34 MB / 0.9981 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.01322/0.6223, allocations: 7.908 MB / 1.247 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.6232, allocations: 481.7 kB / 1.248 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/0.6237, allocations: 330.9 kB / 1.248 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006547/0.6244, allocations: 0.7601 MB / 1.249 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.6244, allocations: 39.12 kB / 1.249 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.565e-06/0.6244, allocations: 4 kB / 1.249 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.002257/0.6267, allocations: 0.996 MB / 1.25 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.6267, allocations: 59.97 kB / 1.25 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6257/1.252, allocations: 2.313 MB / 1.252 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003011/1.253, allocations: 45.42 kB / 1.252 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/1.254, allocations: 1.153 MB / 1.253 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/1.255, allocations: 210.1 kB / 1.254 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/1.255, allocations: 112.2 kB / 1.254 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.255, allocations: 347.9 kB / 1.254 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008846/1.256, allocations: 354.8 kB / 1.254 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/1.257, allocations: 0.7597 MB / 1.255 GB, free: 174 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/1.259, allocations: 0.9863 MB / 1.256 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/1.259, allocations: 6.172 kB / 1.256 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002943/1.262, allocations: 1.304 MB / 1.257 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/1.262, allocations: 345.4 kB / 1.258 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/1.262, allocations: 13.84 kB / 1.258 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-05/1.262, allocations: 13.25 kB / 1.258 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.263, allocations: 251.9 kB / 1.258 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.309e-05/1.263, allocations: 20.14 kB / 1.258 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/1.265, allocations: 250.7 kB / 1.258 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/1.265, allocations: 51.41 kB / 1.258 GB, free: 173 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.265, allocations: 5.375 kB / 1.258 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002322/1.268, allocations: 1.038 MB / 1.259 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.268, allocations: 8.375 kB / 1.259 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.268, allocations: 13.12 kB / 1.259 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/1.269, allocations: 252 kB / 1.26 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/1.269, allocations: 19.59 kB / 1.26 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/1.271, allocations: 226.3 kB / 1.26 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/1.271, allocations: 51.28 kB / 1.26 GB, free: 172.8 MB / 0.9981 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.001444/1.273, allocations: 0.5755 MB / 1.26 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/1.273, allocations: 235.9 kB / 1.261 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/1.275, allocations: 0.9037 MB / 1.261 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.275, allocations: 5.25 kB / 1.261 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.275, allocations: 4.5 kB / 1.261 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009333/1.276, allocations: 0.6907 MB / 1.262 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/1.28, allocations: 2.576 MB / 1.265 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.28, allocations: 10.56 kB / 1.265 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/1.28, allocations: 126.4 kB / 1.265 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.28, allocations: 5.125 kB / 1.265 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/1.28, allocations: 15.3 kB / 1.265 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/1.28, allocations: 11.12 kB / 1.265 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.28, allocations: 2.5 kB / 1.265 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.282, allocations: 1.328 MB / 1.266 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008686/1.283, allocations: 466.6 kB / 1.267 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.283, allocations: 10.83 kB / 1.267 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.284, allocations: 117.5 kB / 1.267 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.285, allocations: 49 kB / 1.267 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/1.285, allocations: 32.97 kB / 1.267 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002648/1.287, allocations: 1.55 MB / 1.268 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.287, allocations: 1.656 kB / 1.268 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003662/1.291, allocations: 1.095 MB / 1.269 GB, free: 168.7 MB / 0.9981 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.001786/1.293, allocations: 0.738 MB / 1.27 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002942/1.296, allocations: 1.37 MB / 1.271 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/1.296, allocations: 1.125 kB / 1.271 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/1.296, allocations: 333.4 kB / 1.272 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008578/1.305, allocations: 1.395 MB / 1.273 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/1.311, allocations: 4.596 MB / 1.278 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.313, allocations: 1.594 MB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002768/1.315, allocations: 0.4929 MB / 1.28 GB, free: 164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/1.316, allocations: 175 kB / 1.28 GB, free: 164 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.316, allocations: 0 / 1.28 GB, free: 164 MB / 0.9981 GB Notification: Performance of Templates: time 0.07602/1.392, allocations: 45.04 MB / 1.324 GB, free: 135.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)