Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.423/2.423, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 176.6 kB / 325.6 MB, free: 2.82 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.515/2.515, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001149/0.001149, allocations: 104.8 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004743, allocations: 12.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02/0.2408, allocations: 14.84 MB / 0.9134 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.2538, allocations: 6.694 MB / 0.9199 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.2546, allocations: 15.88 kB / 0.9199 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.256, allocations: 290.7 kB / 0.9202 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.2584, allocations: 0.5506 MB / 0.9207 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006867/0.2653, allocations: 1.656 MB / 0.9224 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.2669, allocations: 0.5934 MB / 0.9229 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006213/0.2675, allocations: 266.6 kB / 0.9232 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008717/0.2684, allocations: 338.8 kB / 0.9235 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.2688, allocations: 211.1 kB / 0.9237 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.2689, allocations: 16 kB / 0.9237 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.2703, allocations: 451.3 kB / 0.9242 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.2705, allocations: 111.6 kB / 0.9243 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.2707, allocations: 117.4 kB / 0.9244 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.2719, allocations: 0.5417 MB / 0.9249 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2719, allocations: 0 / 0.9249 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2719, allocations: 0 / 0.9249 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2719, allocations: 0 / 0.9249 GB, free: 38.74 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001512/0.2735, allocations: 0.7863 MB / 0.9257 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2735, allocations: 8.031 kB / 0.9257 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.2737, allocations: 55.34 kB / 0.9257 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.2746, allocations: 433.4 kB / 0.9262 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.2747, allocations: 28.52 kB / 0.9262 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.2748, allocations: 28 kB / 0.9262 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.2755, allocations: 288.5 kB / 0.9265 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2755, allocations: 0 / 0.9265 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.2756, allocations: 8 kB / 0.9265 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.2756, allocations: 8 kB / 0.9265 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007912/0.2764, allocations: 218 kB / 0.9267 GB, free: 36.8 MB / 0.6042 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.003974/0.2804, allocations: 1.281 MB / 0.928 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.2809, allocations: 195.3 kB / 0.9281 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002207/0.2832, allocations: 1.319 MB / 0.9294 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2832, allocations: 34.56 kB / 0.9295 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.126e-06/0.2833, allocations: 0 / 0.9295 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009974/0.2843, allocations: 292.9 kB / 0.9297 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.2843, allocations: 55.41 kB / 0.9298 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/0.2852, allocations: 0.5691 MB / 0.9304 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.2852, allocations: 29.7 kB / 0.9304 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.2854, allocations: 268.2 kB / 0.9306 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.2855, allocations: 63.05 kB / 0.9307 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.2855, allocations: 8 kB / 0.9307 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.2856, allocations: 362.7 kB / 0.931 GB, free: 32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.286, allocations: 87.75 kB / 0.9311 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.2864, allocations: 207.9 kB / 0.9313 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.2868, allocations: 104.7 kB / 0.9314 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2868, allocations: 0 / 0.9314 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009606/0.2878, allocations: 341.5 kB / 0.9318 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.288, allocations: 0.7873 MB / 0.9325 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.288, allocations: 4 kB / 0.9325 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.288, allocations: 4 kB / 0.9325 GB, free: 30.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.2885, allocations: 63.91 kB / 0.9326 GB, free: 30.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2886, allocations: 4 kB / 0.9326 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.2892, allocations: 51.66 kB / 0.9326 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.2893, allocations: 16 kB / 0.9327 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2893, allocations: 6.344 kB / 0.9327 GB, free: 30.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008127/0.2901, allocations: 259.7 kB / 0.9329 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2902, allocations: 8.188 kB / 0.9329 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.2902, allocations: 4 kB / 0.9329 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.2906, allocations: 63.91 kB / 0.933 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2907, allocations: 0 / 0.933 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.2913, allocations: 47.66 kB / 0.933 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.2914, allocations: 20 kB / 0.9331 GB, free: 29.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * 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.0002935/0.2917, allocations: 257 kB / 0.9333 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2918, allocations: 51.44 kB / 0.9333 GB, free: 29.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009094/0.2927, allocations: 306.3 kB / 0.9336 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.2927, allocations: 7.938 kB / 0.9336 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.2927, allocations: 7.953 kB / 0.9337 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2928, allocations: 0 / 0.9337 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.2943, allocations: 0.7707 MB / 0.9344 GB, free: 28.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.2944, allocations: 0 / 0.9344 GB, free: 28.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.2947, allocations: 35.98 kB / 0.9344 GB, free: 28.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.2947, allocations: 7.953 kB / 0.9344 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.2948, allocations: 8.109 kB / 0.9345 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.2948, allocations: 11.94 kB / 0.9345 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2948, allocations: 0 / 0.9345 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2959, allocations: 0.5165 MB / 0.935 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.2962, allocations: 164.5 kB / 0.9351 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.2963, allocations: 7.938 kB / 0.9351 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.2967, allocations: 15.98 kB / 0.9352 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.2968, allocations: 19.92 kB / 0.9352 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.2968, allocations: 11.98 kB / 0.9352 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000631/0.2975, allocations: 410.9 kB / 0.9356 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2975, allocations: 0 / 0.9356 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001161/0.2987, allocations: 235.7 kB / 0.9358 GB, free: 26.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * 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.001498/0.3002, allocations: 500 kB / 0.9363 GB, free: 26.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.3015, allocations: 359.6 kB / 0.9366 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3016, allocations: 0 / 0.9366 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.3019, allocations: 102.9 kB / 0.9367 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.3042, allocations: 258.1 kB / 0.937 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.3063, allocations: 1.035 MB / 0.938 GB, free: 24.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3067, allocations: 0.8585 MB / 0.9388 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006594/0.3074, allocations: 112.3 kB / 0.9389 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.3075, allocations: 39.42 kB / 0.939 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/0.3075, allocations: 0 / 0.939 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.02518/0.3327, allocations: 9.774 MB / 0.9485 GB, free: 14.04 MB / 0.6042 GB