Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 253.1 MB / 260.6 MB, free: 7.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 180.8 kB / 319.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.5 MB / 0.5708 GB, free: 15.19 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 101.1 kB / 0.6751 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.741e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.965/2.176, allocations: 424.7 MB / 1.303 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004142/2.176, allocations: 101.4 kB / 1.304 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.561/6.738, allocations: 0.9393 GB / 2.243 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.446e-06/6.738, allocations: 4 kB / 2.243 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004464/6.738, allocations: 79.86 kB / 2.243 GB, free: 5.109 MB / 0.8698 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.007747/6.746, allocations: 2.533 MB / 2.245 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/6.746, allocations: 12.03 kB / 2.245 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/6.748, allocations: 328.2 kB / 2.246 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008214/6.756, allocations: 2.394 MB / 2.248 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/6.756, allocations: 48 kB / 2.248 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/6.757, allocations: 108 kB / 2.248 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003448/6.76, allocations: 0.9783 MB / 2.249 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/6.764, allocations: 1.286 MB / 2.25 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.025e-05/6.764, allocations: 15.88 kB / 2.25 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/6.764, allocations: 0 / 2.25 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.949e-05/6.765, allocations: 47.89 kB / 2.25 GB, free: 13.17 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01926/6.784, allocations: 7.596 MB / 2.258 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/6.785, allocations: 424.9 kB / 2.258 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006907/6.786, allocations: 307 kB / 2.259 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/6.787, allocations: 0.7563 MB / 2.259 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/6.787, allocations: 43.12 kB / 2.259 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 2.865e-06/6.787, allocations: 0 / 2.259 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002744/6.789, allocations: 0.7112 MB / 2.26 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/6.79, allocations: 59.97 kB / 2.26 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/6.794, allocations: 1.669 MB / 2.262 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003509/6.794, allocations: 29.7 kB / 2.262 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.6934/7.488, allocations: 1.148 MB / 2.263 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/7.488, allocations: 204.2 kB / 2.263 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/7.488, allocations: 0.6875 kB / 2.263 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001452/7.488, allocations: 351.4 kB / 2.263 GB, free: 105 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009992/7.489, allocations: 300.3 kB / 2.264 GB, free: 105 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/7.491, allocations: 0.7555 MB / 2.264 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/7.492, allocations: 452.7 kB / 2.265 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/7.492, allocations: 0 / 2.265 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003835/7.496, allocations: 1.112 MB / 2.266 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007761/7.497, allocations: 3.15 MB / 2.269 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/7.497, allocations: 12.17 kB / 2.269 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.057e-05/7.497, allocations: 13.59 kB / 2.269 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/7.5, allocations: 258.1 kB / 2.269 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.774e-05/7.5, allocations: 22.11 kB / 2.269 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/7.503, allocations: 196.6 kB / 2.269 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/7.504, allocations: 57.34 kB / 2.27 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/7.504, allocations: 8.078 kB / 2.27 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002837/7.506, allocations: 0.8439 MB / 2.27 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/7.506, allocations: 7.062 kB / 2.27 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-05/7.507, allocations: 15.81 kB / 2.27 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/7.509, allocations: 255.3 kB / 2.271 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/7.509, allocations: 17.91 kB / 2.271 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/7.512, allocations: 168.8 kB / 2.271 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/7.512, allocations: 54.98 kB / 2.271 GB, free: 100.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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.0004134/7.513, allocations: 133.6 kB / 2.271 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007608/7.513, allocations: 208.1 kB / 2.271 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/7.516, allocations: 0.819 MB / 2.272 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/7.517, allocations: 10.94 kB / 2.272 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/7.517, allocations: 0.5625 kB / 2.272 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/7.518, allocations: 0.6499 MB / 2.273 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/7.526, allocations: 2.371 MB / 2.275 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/7.526, allocations: 5.469 kB / 2.275 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/7.528, allocations: 151.6 kB / 2.275 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/7.528, allocations: 3.25 kB / 2.275 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/7.528, allocations: 8.609 kB / 2.275 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/7.528, allocations: 3.875 kB / 2.275 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/7.528, allocations: 1.344 kB / 2.275 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/7.531, allocations: 1.257 MB / 2.276 GB, free: 99.72 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/7.533, allocations: 425 kB / 2.277 GB, free: 99.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006267/7.534, allocations: 8.203 kB / 2.277 GB, free: 99.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/7.537, allocations: 153.8 kB / 2.277 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/7.537, allocations: 48.34 kB / 2.277 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/7.537, allocations: 29.86 kB / 2.277 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002948/7.54, allocations: 1.225 MB / 2.278 GB, free: 99.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.71e-07/7.54, allocations: 1.469 kB / 2.278 GB, free: 99.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006769/7.547, allocations: 1.212 MB / 2.279 GB, free: 99.29 MB / 0.8855 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.003146/7.55, allocations: 1.219 MB / 2.281 GB, free: 99.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004002/7.554, allocations: 1.295 MB / 2.282 GB, free: 99.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/7.554, allocations: 2.031 kB / 2.282 GB, free: 99.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007794/7.555, allocations: 298.9 kB / 2.282 GB, free: 99.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01198/7.567, allocations: 1.263 MB / 2.283 GB, free: 99.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008813/7.576, allocations: 2.753 MB / 2.286 GB, free: 98.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/7.578, allocations: 1.635 MB / 2.288 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005472/7.583, allocations: 0.6318 MB / 2.288 GB, free: 97.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000634/7.584, allocations: 123.4 kB / 2.288 GB, free: 97.49 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/7.584, allocations: 3.25 kB / 2.288 GB, free: 97.49 MB / 0.8855 GB Notification: Performance of Templates: time 0.118/7.702, allocations: 44.71 MB / 2.332 GB, free: 95.66 MB / 0.8855 GB