Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.888/4.888, 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.002494/0.002494, allocations: 360.3 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.25/4.25, allocations: 410.7 MB / 1.113 GB, free: 5.914 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.001824/0.001823, allocations: 190.4 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005101/0.0005104, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7338, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.886, allocations: 396.6 MB / 1.849 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/1.887, allocations: 104.7 kB / 1.849 GB, free: 145 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8114/2.698, allocations: 235 MB / 2.078 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.853e-06/2.698, allocations: 0 / 2.078 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.968e-05/2.698, allocations: 20 kB / 2.078 GB, free: 2.727 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003116/2.701, allocations: 1.074 MB / 2.079 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/2.702, allocations: 11.62 kB / 2.079 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/2.702, allocations: 91.02 kB / 2.079 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/2.703, allocations: 0.5112 MB / 2.08 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/2.703, allocations: 41 kB / 2.08 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/2.703, allocations: 52 kB / 2.08 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/2.705, allocations: 0.6332 MB / 2.081 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/2.705, allocations: 3.938 kB / 2.081 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/2.705, allocations: 24 kB / 2.081 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/2.705, allocations: 12 kB / 2.081 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/2.707, allocations: 0.5034 MB / 2.081 GB, free: 15.62 MB / 0.948 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.005393/2.713, allocations: 3.224 MB / 2.084 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/2.714, allocations: 342.9 kB / 2.085 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/2.715, allocations: 232.8 kB / 2.085 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/2.715, allocations: 348.4 kB / 2.085 GB, free: 11.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/2.715, allocations: 38.56 kB / 2.085 GB, free: 11.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=38): time 3.025e-06/2.715, allocations: 0 / 2.085 GB, free: 11.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.003616/2.719, allocations: 0.8347 MB / 2.086 GB, free: 10.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/2.719, allocations: 59.34 kB / 2.086 GB, free: 10.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/2.72, allocations: 0.5782 MB / 2.087 GB, free: 9.656 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/2.72, allocations: 33.7 kB / 2.087 GB, free: 9.617 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/2.72, allocations: 332.4 kB / 2.087 GB, free: 9.289 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/2.72, allocations: 130.2 kB / 2.087 GB, free: 9.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/2.721, allocations: 8 kB / 2.087 GB, free: 9.152 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001902/2.721, allocations: 378.8 kB / 2.088 GB, free: 8.773 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008657/2.722, allocations: 209.2 kB / 2.088 GB, free: 8.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/2.723, allocations: 400.3 kB / 2.088 GB, free: 8.102 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/2.724, allocations: 252.6 kB / 2.088 GB, free: 7.852 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/2.724, allocations: 0 / 2.088 GB, free: 7.852 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002554/2.726, allocations: 0.7227 MB / 2.089 GB, free: 7.117 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/2.726, allocations: 223 kB / 2.089 GB, free: 6.836 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/2.726, allocations: 4 kB / 2.089 GB, free: 6.832 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009954/2.727, allocations: 152.7 kB / 2.089 GB, free: 6.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/2.729, allocations: 163.8 kB / 2.09 GB, free: 6.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009802/2.73, allocations: 0.6187 MB / 2.09 GB, free: 5.875 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/2.731, allocations: 119.2 kB / 2.09 GB, free: 5.758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/2.731, allocations: 31.98 kB / 2.09 GB, free: 5.727 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/2.731, allocations: 7.938 kB / 2.09 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/2.733, allocations: 0.6116 MB / 2.091 GB, free: 5.109 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/2.733, allocations: 8.125 kB / 2.091 GB, free: 5.102 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/2.733, allocations: 8 kB / 2.091 GB, free: 5.094 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/2.735, allocations: 163.7 kB / 2.091 GB, free: 4.934 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/2.735, allocations: 8 kB / 2.091 GB, free: 4.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/2.736, allocations: 99.48 kB / 2.091 GB, free: 4.828 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/2.736, allocations: 31.98 kB / 2.091 GB, free: 4.797 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004595/2.736, allocations: 275.8 kB / 2.091 GB, free: 4.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/2.736, allocations: 63.25 kB / 2.092 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/2.739, allocations: 0.6696 MB / 2.092 GB, free: 3.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/2.739, allocations: 4 kB / 2.092 GB, free: 3.766 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/2.739, allocations: 0 / 2.092 GB, free: 3.766 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/2.739, allocations: 7.953 kB / 2.092 GB, free: 3.758 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/2.743, allocations: 1.383 MB / 2.094 GB, free: 2.305 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/2.743, allocations: 4 kB / 2.094 GB, free: 2.301 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/2.744, allocations: 91.88 kB / 2.094 GB, free: 2.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006939/2.744, allocations: 128.9 kB / 2.094 GB, free: 2.082 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/2.744, allocations: 12 kB / 2.094 GB, free: 2.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009581/2.745, allocations: 0.6382 MB / 2.094 GB, free: 1.406 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.745, allocations: 4.031 kB / 2.094 GB, free: 1.402 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/2.748, allocations: 0.7149 MB / 2.095 GB, free: 0.6641 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/2.748, allocations: 196.1 kB / 2.095 GB, free: 464 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/2.748, allocations: 11.95 kB / 2.095 GB, free: 452 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/2.749, allocations: 59.94 kB / 2.095 GB, free: 392 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/2.749, allocations: 43.84 kB / 2.095 GB, free: 348 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/2.749, allocations: 12 kB / 2.095 GB, free: 336 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.652/3.401, allocations: 392.6 kB / 2.096 GB, free: 276.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.61e-07/3.401, allocations: 0 / 2.096 GB, free: 276.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00193/3.403, allocations: 418.1 kB / 2.096 GB, free: 276.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/3.404, allocations: 418.4 kB / 2.097 GB, free: 276.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003319/3.408, allocations: 0.9003 MB / 2.097 GB, free: 276.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/3.408, allocations: 3.562 kB / 2.097 GB, free: 276.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/3.409, allocations: 289.5 kB / 2.098 GB, free: 276.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/3.412, allocations: 278.2 kB / 2.098 GB, free: 276.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/3.414, allocations: 1.276 MB / 2.099 GB, free: 275.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/3.415, allocations: 0.9216 MB / 2.1 GB, free: 275.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00105/3.416, allocations: 144.7 kB / 2.1 GB, free: 275.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/3.416, allocations: 56.42 kB / 2.1 GB, free: 275.1 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/3.416, allocations: 2.719 kB / 2.1 GB, free: 275.1 MB / 0.948 GB Notification: Performance of Templates: time 0.033/3.449, allocations: 13.08 MB / 2.113 GB, free: 275 MB / 0.948 GB