Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.68/4.68, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002355/0.002355, allocations: 358 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.891/3.891, allocations: 410.7 MB / 1.112 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001766/0.001766, allocations: 186.9 kB / 1.225 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 16 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5707, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1002/0.671, allocations: 104.5 MB / 1.563 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03327/0.7043, allocations: 22.37 MB / 1.585 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004109/0.7084, allocations: 107.1 kB / 1.585 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004852/0.7133, allocations: 1.375 MB / 1.586 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.7254, allocations: 3.721 MB / 1.59 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01522/0.7407, allocations: 5.216 MB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.009068/0.7498, allocations: 8.053 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.7527, allocations: 1.792 MB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004313/0.7571, allocations: 2.127 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.7601, allocations: 1.9 MB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004114/0.7605, allocations: 88 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.7635, allocations: 0.9821 MB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005075/0.764, allocations: 489.8 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007222/0.7647, allocations: 0.5627 MB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.7686, allocations: 3.179 MB / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.285e-06/0.7686, allocations: 0 / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.266e-06/0.7686, allocations: 0 / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.398e-05/0.7687, allocations: 0 / 1.614 GB, free: 128 MB / 0.8542 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.004399/0.7731, allocations: 2.669 MB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.7731, allocations: 8.031 kB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00077/0.7739, allocations: 316.3 kB / 1.616 GB, free: 125 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/0.7781, allocations: 2.031 MB / 1.618 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.693e-05/0.7782, allocations: 123 kB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.7785, allocations: 164 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/0.7816, allocations: 1.608 MB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.7816, allocations: 4.797 kB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.7818, allocations: 63.95 kB / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.7819, allocations: 44 kB / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.7843, allocations: 1.147 MB / 1.622 GB, free: 119.6 MB / 0.8542 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.01103/0.7954, allocations: 7.878 MB / 1.629 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009198/0.7963, allocations: 484.6 kB / 1.63 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.797, allocations: 331 kB / 1.63 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005282/0.7975, allocations: 0.7524 MB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.7976, allocations: 51 kB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=60): time 3.624e-06/0.7976, allocations: 0 / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60): time 0.002254/0.7998, allocations: 0.9959 MB / 1.632 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.7999, allocations: 55.97 kB / 1.632 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/0.8035, allocations: 2.246 MB / 1.634 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.8037, allocations: 45.7 kB / 1.634 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000896/0.8046, allocations: 1.149 MB / 1.635 GB, free: 105 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.8048, allocations: 212.9 kB / 1.635 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.8049, allocations: 24 kB / 1.635 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.805, allocations: 345.9 kB / 1.636 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007997/0.8058, allocations: 342.4 kB / 1.636 GB, free: 104 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.8068, allocations: 0.7424 MB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.8078, allocations: 460 kB / 1.637 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.8078, allocations: 4 kB / 1.637 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002665/0.8105, allocations: 1.274 MB / 1.638 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.8106, allocations: 342.9 kB / 1.639 GB, free: 101 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.8107, allocations: 15.92 kB / 1.639 GB, free: 101 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.8107, allocations: 12 kB / 1.639 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.8119, allocations: 255.6 kB / 1.639 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.812, allocations: 27.92 kB / 1.639 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.8141, allocations: 250 kB / 1.639 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.8142, allocations: 59.98 kB / 1.639 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.735e-06/0.8143, allocations: 4 kB / 1.639 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002077/0.8164, allocations: 1.015 MB / 1.64 GB, free: 99.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.8164, allocations: 12.06 kB / 1.64 GB, free: 99.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.8164, allocations: 16 kB / 1.64 GB, free: 99.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.8176, allocations: 247.6 kB / 1.641 GB, free: 99.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.8176, allocations: 19.92 kB / 1.641 GB, free: 99.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.8196, allocations: 218.7 kB / 1.641 GB, free: 98.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8198, allocations: 51.98 kB / 1.641 GB, free: 98.79 MB / 0.8542 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.001088/0.8209, allocations: 0.5847 MB / 1.641 GB, free: 98.19 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/0.8212, allocations: 229.8 kB / 1.642 GB, free: 97.96 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.8231, allocations: 0.8943 MB / 1.643 GB, free: 97.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.8232, allocations: 15.94 kB / 1.643 GB, free: 97.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.774e-06/0.8232, allocations: 0 / 1.643 GB, free: 97.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/0.8244, allocations: 0.6931 MB / 1.643 GB, free: 96.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004677/0.8291, allocations: 2.55 MB / 1.646 GB, free: 93.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.8291, allocations: 4 kB / 1.646 GB, free: 93.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.8299, allocations: 139.8 kB / 1.646 GB, free: 93.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.416e-06/0.8299, allocations: 0 / 1.646 GB, free: 93.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.83, allocations: 23.38 kB / 1.646 GB, free: 93.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.309e-06/0.83, allocations: 4 kB / 1.646 GB, free: 93.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.368e-06/0.83, allocations: 11.94 kB / 1.646 GB, free: 93.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.8325, allocations: 1.313 MB / 1.647 GB, free: 92.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000939/0.8335, allocations: 449.8 kB / 1.648 GB, free: 91.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/0.8338, allocations: 12 kB / 1.648 GB, free: 91.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.8355, allocations: 119.7 kB / 1.648 GB, free: 91.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.8356, allocations: 40.47 kB / 1.648 GB, free: 91.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.8357, allocations: 31.97 kB / 1.648 GB, free: 91.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002434/0.8382, allocations: 1.494 MB / 1.649 GB, free: 90.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.48e-07/0.8382, allocations: 0 / 1.649 GB, free: 90.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003091/0.8413, allocations: 1.091 MB / 1.65 GB, free: 88.95 MB / 0.8542 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.001896/0.8432, allocations: 0.7079 MB / 1.651 GB, free: 88.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002843/0.8461, allocations: 1.353 MB / 1.652 GB, free: 87.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.551e-06/0.8461, allocations: 0 / 1.652 GB, free: 87.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.8467, allocations: 324.4 kB / 1.653 GB, free: 86.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007243/0.854, allocations: 1.39 MB / 1.654 GB, free: 85.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/0.8606, allocations: 4.359 MB / 1.658 GB, free: 80.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.8619, allocations: 1.629 MB / 1.66 GB, free: 79.33 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002779/0.8647, allocations: 497.3 kB / 1.66 GB, free: 78.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.8651, allocations: 171.4 kB / 1.661 GB, free: 78.68 MB / 0.8542 GB Notification: Performance of SimCode: time 1.774e-06/0.8651, allocations: 3.938 kB / 1.661 GB, free: 78.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.08866/0.9538, allocations: 43.94 MB / 1.703 GB, free: 35.46 MB / 0.8542 GB