Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.803/4.803, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 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.002572/0.002573, allocations: 358.8 kB / 0.6446 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 4.213/4.213, allocations: 410.7 MB / 1.113 GB, free: 5.922 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.00178/0.00178, allocations: 184.2 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005012, allocations: 20 kB / 1.349 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7493, allocations: 115.2 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.922, allocations: 398.6 MB / 1.851 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005032/1.922, allocations: 97.16 kB / 1.851 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6678/2.59, allocations: 174.2 MB / 2.021 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.346e-06/2.59, allocations: 0 / 2.021 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000142/2.59, allocations: 12 kB / 2.021 GB, free: 14.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.003322/2.594, allocations: 0.8214 MB / 2.022 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/2.594, allocations: 12.16 kB / 2.022 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/2.594, allocations: 59.33 kB / 2.022 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/2.596, allocations: 433.4 kB / 2.022 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/2.596, allocations: 24.44 kB / 2.022 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/2.596, allocations: 28 kB / 2.022 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/2.598, allocations: 211.2 kB / 2.022 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/2.598, allocations: 0 / 2.022 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/2.598, allocations: 8 kB / 2.022 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/2.598, allocations: 11.95 kB / 2.022 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/2.599, allocations: 169.6 kB / 2.022 GB, free: 12.55 MB / 0.8855 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.004224/2.603, allocations: 0.9497 MB / 2.023 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/2.604, allocations: 130.6 kB / 2.024 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/2.604, allocations: 88.8 kB / 2.024 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000556/2.605, allocations: 340.5 kB / 2.024 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/2.605, allocations: 34.56 kB / 2.024 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 4.338e-06/2.605, allocations: 0 / 2.024 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.001653/2.607, allocations: 253 kB / 2.024 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/2.607, allocations: 51.41 kB / 2.024 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/2.608, allocations: 466 kB / 2.025 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/2.608, allocations: 29.7 kB / 2.025 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/2.609, allocations: 232.6 kB / 2.025 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/2.609, allocations: 47.2 kB / 2.025 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/2.609, allocations: 8 kB / 2.025 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002547/2.609, allocations: 354.7 kB / 2.025 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/2.61, allocations: 71.95 kB / 2.025 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/2.61, allocations: 179 kB / 2.026 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/2.611, allocations: 83.91 kB / 2.026 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/2.611, allocations: 3.938 kB / 2.026 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001399/2.612, allocations: 253 kB / 2.026 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/2.612, allocations: 114.5 kB / 2.026 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/2.612, allocations: 0 / 2.026 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/2.613, allocations: 3.938 kB / 2.026 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/2.613, allocations: 51.97 kB / 2.026 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/2.613, allocations: 0 / 2.026 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/2.614, allocations: 55.67 kB / 2.026 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/2.614, allocations: 11.98 kB / 2.026 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/2.615, allocations: 4 kB / 2.026 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007814/2.615, allocations: 179.8 kB / 2.026 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/2.615, allocations: 0 / 2.026 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/2.615, allocations: 7.938 kB / 2.026 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/2.616, allocations: 47.97 kB / 2.026 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/2.616, allocations: 4 kB / 2.026 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/2.616, allocations: 55.64 kB / 2.026 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/2.616, allocations: 8 kB / 2.026 GB, free: 8.219 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0003568/2.617, allocations: 245 kB / 2.027 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/2.617, allocations: 43.48 kB / 2.027 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009223/2.618, allocations: 261.1 kB / 2.027 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/2.618, allocations: 3.984 kB / 2.027 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/2.618, allocations: 0 / 2.027 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/2.618, allocations: 0 / 2.027 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/2.62, allocations: 0.7161 MB / 2.028 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/2.62, allocations: 4.125 kB / 2.028 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/2.62, allocations: 27.98 kB / 2.028 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/2.62, allocations: 4 kB / 2.028 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/2.62, allocations: 4.188 kB / 2.028 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/2.62, allocations: 7.875 kB / 2.028 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/2.62, allocations: 7.938 kB / 2.028 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/2.622, allocations: 358.8 kB / 2.028 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/2.622, allocations: 144.4 kB / 2.028 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/2.622, allocations: 12 kB / 2.028 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/2.623, allocations: 23.97 kB / 2.028 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/2.623, allocations: 15.92 kB / 2.028 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/2.623, allocations: 8 kB / 2.028 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008795/2.624, allocations: 326.9 kB / 2.029 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.41e-07/2.624, allocations: 0 / 2.029 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001703/2.626, allocations: 235.6 kB / 2.029 GB, free: 5.676 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002161/2.628, allocations: 0.5757 MB / 2.029 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001303/2.629, allocations: 282.9 kB / 2.03 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/2.629, allocations: 4 kB / 2.03 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/2.63, allocations: 87.89 kB / 2.03 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/2.632, allocations: 219.9 kB / 2.03 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/2.634, allocations: 0.8309 MB / 2.031 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/2.635, allocations: 0.8389 MB / 2.032 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006537/2.635, allocations: 95.53 kB / 2.032 GB, free: 2.855 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/2.636, allocations: 43.42 kB / 2.032 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/2.636, allocations: 0 / 2.032 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of Templates: time 0.02834/2.664, allocations: 9.302 MB / 2.041 GB, free: 9.691 MB / 0.9011 GB