Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002545/0.00255, allocations: 357.8 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.463/1.463, allocations: 165.8 MB / 183.1 MB, free: 5.41 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.869/3.869, allocations: 410.8 MB / 0.6001 GB, free: 15.07 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001756/0.001756, allocations: 201.9 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 16 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4241, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/1.798, allocations: 392.6 MB / 1.192 GB, free: 149.5 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/1.798, allocations: 110 kB / 1.192 GB, free: 149.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.848/6.646, allocations: 0.9674 GB / 2.16 GB, free: 50.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/6.646, allocations: 0 / 2.16 GB, free: 50.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004405/6.647, allocations: 75.14 kB / 2.16 GB, free: 50.11 MB / 0.5886 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.01007/6.657, allocations: 3.018 MB / 2.163 GB, free: 48.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/6.657, allocations: 9.812 kB / 2.163 GB, free: 48.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/6.659, allocations: 318.7 kB / 2.163 GB, free: 48.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009365/6.668, allocations: 2.349 MB / 2.165 GB, free: 47.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/6.669, allocations: 133 kB / 2.165 GB, free: 47.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007201/6.669, allocations: 173.1 kB / 2.166 GB, free: 47.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005046/6.674, allocations: 1.586 MB / 2.167 GB, free: 47.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/6.675, allocations: 11.75 kB / 2.167 GB, free: 47.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/6.675, allocations: 58.41 kB / 2.167 GB, free: 47.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/6.675, allocations: 42.78 kB / 2.167 GB, free: 47.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/6.679, allocations: 1.113 MB / 2.168 GB, free: 47.52 MB / 0.5886 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.01719/6.696, allocations: 7.932 MB / 2.176 GB, free: 43.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/6.697, allocations: 462.8 kB / 2.177 GB, free: 43.64 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007851/6.698, allocations: 343.3 kB / 2.177 GB, free: 43.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/6.699, allocations: 0.7575 MB / 2.178 GB, free: 42.76 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/6.699, allocations: 41.19 kB / 2.178 GB, free: 42.72 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 3.537e-06/6.699, allocations: 0 / 2.178 GB, free: 42.72 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60): time 0.003225/6.702, allocations: 1.007 MB / 2.179 GB, free: 42.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/6.702, allocations: 61.41 kB / 2.179 GB, free: 42.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/6.707, allocations: 2.249 MB / 2.181 GB, free: 42.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003703/6.707, allocations: 48.39 kB / 2.181 GB, free: 42.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/6.708, allocations: 1.145 MB / 2.182 GB, free: 41.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/6.709, allocations: 210.4 kB / 2.182 GB, free: 41.72 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/6.709, allocations: 21.53 kB / 2.182 GB, free: 41.72 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001034/6.709, allocations: 349.9 kB / 2.183 GB, free: 41.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/6.71, allocations: 337.5 kB / 2.183 GB, free: 41.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/6.711, allocations: 0.8242 MB / 2.184 GB, free: 40.87 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/6.712, allocations: 464.9 kB / 2.184 GB, free: 40.83 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/6.712, allocations: 3.844 kB / 2.184 GB, free: 40.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00359/6.716, allocations: 1.262 MB / 2.185 GB, free: 40.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/6.716, allocations: 328.1 kB / 2.186 GB, free: 39.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/6.716, allocations: 6.844 kB / 2.186 GB, free: 39.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.391e-05/6.716, allocations: 15.62 kB / 2.186 GB, free: 39.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/6.718, allocations: 253.6 kB / 2.186 GB, free: 39.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/6.718, allocations: 23.59 kB / 2.186 GB, free: 39.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/6.722, allocations: 264.6 kB / 2.186 GB, free: 39.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/6.722, allocations: 51.58 kB / 2.186 GB, free: 39.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/6.722, allocations: 3.906 kB / 2.186 GB, free: 39.73 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002647/6.725, allocations: 1.011 MB / 2.187 GB, free: 39.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/6.725, allocations: 7.531 kB / 2.187 GB, free: 39.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/6.725, allocations: 14.06 kB / 2.187 GB, free: 39.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/6.726, allocations: 262.5 kB / 2.188 GB, free: 39.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/6.727, allocations: 18.62 kB / 2.188 GB, free: 39.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/6.73, allocations: 242.3 kB / 2.188 GB, free: 39.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/6.73, allocations: 49.66 kB / 2.188 GB, free: 39.18 MB / 0.5886 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 () * Number of clocked 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.001577/6.732, allocations: 0.5762 MB / 2.188 GB, free: 38.78 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007226/6.732, allocations: 231.1 kB / 2.189 GB, free: 38.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/6.735, allocations: 0.9311 MB / 2.19 GB, free: 38.26 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/6.735, allocations: 11.83 kB / 2.19 GB, free: 38.26 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/6.735, allocations: 0 / 2.19 GB, free: 38.26 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/6.737, allocations: 0.7176 MB / 2.19 GB, free: 37.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/6.743, allocations: 2.636 MB / 2.193 GB, free: 36.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/6.743, allocations: 3.812 kB / 2.193 GB, free: 36.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/6.745, allocations: 150.8 kB / 2.193 GB, free: 36.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/6.745, allocations: 3.625 kB / 2.193 GB, free: 36.65 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/6.745, allocations: 19.39 kB / 2.193 GB, free: 36.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/6.745, allocations: 3.5 kB / 2.193 GB, free: 36.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/6.745, allocations: 7.844 kB / 2.193 GB, free: 36.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/6.748, allocations: 1.336 MB / 2.194 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/6.749, allocations: 444.1 kB / 2.195 GB, free: 35.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/6.75, allocations: 11.94 kB / 2.195 GB, free: 35.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/6.752, allocations: 164.1 kB / 2.195 GB, free: 35.62 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/6.752, allocations: 58.66 kB / 2.195 GB, free: 35.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/6.752, allocations: 29.95 kB / 2.195 GB, free: 35.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003356/6.756, allocations: 1.5 MB / 2.196 GB, free: 35.02 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.172e-06/6.756, allocations: 0 / 2.196 GB, free: 35.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00501/6.761, allocations: 1.191 MB / 2.198 GB, free: 34.76 MB / 0.5886 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 (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.002935/6.764, allocations: 1.231 MB / 2.199 GB, free: 34.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003683/6.768, allocations: 1.361 MB / 2.2 GB, free: 33.83 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/6.768, allocations: 7.25 kB / 2.2 GB, free: 33.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008524/6.768, allocations: 331.2 kB / 2.2 GB, free: 33.72 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01334/6.782, allocations: 1.526 MB / 2.202 GB, free: 33.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/6.791, allocations: 4.382 MB / 2.206 GB, free: 29.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/6.792, allocations: 1.631 MB / 2.208 GB, free: 27.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003461/6.796, allocations: 0.4996 MB / 2.208 GB, free: 27.49 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/6.796, allocations: 176.8 kB / 2.208 GB, free: 27.33 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/6.796, allocations: 0 / 2.208 GB, free: 27.33 MB / 0.5886 GB Notification: Performance of Templates: time 0.6103/7.407, allocations: 50.96 MB / 2.258 GB, free: 65.71 MB / 0.6042 GB