Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.46/2.46, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.002516/0.002515, allocations: 183.6 kB / 325.6 MB, free: 2.84 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.47/2.47, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001155/0.001155, allocations: 104.1 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008452/0.0008454, allocations: 12.22 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2251, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01838/0.2435, allocations: 13.27 MB / 0.9118 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.2566, allocations: 6.343 MB / 0.918 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.2574, allocations: 19.81 kB / 0.9181 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.259, allocations: 334.6 kB / 0.9184 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.2617, allocations: 0.6217 MB / 0.919 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007584/0.2694, allocations: 1.805 MB / 0.9207 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.271, allocations: 0.6287 MB / 0.9214 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.2717, allocations: 270.5 kB / 0.9216 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/0.2726, allocations: 330.9 kB / 0.9219 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.2731, allocations: 226.9 kB / 0.9222 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/0.2732, allocations: 16 kB / 0.9222 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.2743, allocations: 387.4 kB / 0.9225 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.2745, allocations: 79.66 kB / 0.9226 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2747, allocations: 105.5 kB / 0.9227 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.2757, allocations: 478.9 kB / 0.9232 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2758, allocations: 0 / 0.9232 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2758, allocations: 0 / 0.9232 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2758, allocations: 0 / 0.9232 GB, free: 40.59 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001469/0.2773, allocations: 0.7279 MB / 0.9239 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2773, allocations: 20.48 kB / 0.9239 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2775, allocations: 59.3 kB / 0.924 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.2782, allocations: 389 kB / 0.9243 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.2783, allocations: 20.44 kB / 0.9243 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.2784, allocations: 24 kB / 0.9244 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.279, allocations: 215.2 kB / 0.9246 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.279, allocations: 0 / 0.9246 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.2791, allocations: 16 kB / 0.9246 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2791, allocations: 4 kB / 0.9246 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.2797, allocations: 173.6 kB / 0.9248 GB, free: 38.86 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.002288/0.282, allocations: 0.9418 MB / 0.9257 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.2825, allocations: 145.4 kB / 0.9258 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.2828, allocations: 332.5 kB / 0.9261 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2828, allocations: 38.56 kB / 0.9262 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 3.036e-06/0.2829, allocations: 0 / 0.9262 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001024/0.2839, allocations: 253.2 kB / 0.9264 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.284, allocations: 55.41 kB / 0.9265 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/0.2847, allocations: 473.9 kB / 0.9269 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.2847, allocations: 29.7 kB / 0.9269 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.2849, allocations: 228.6 kB / 0.9272 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.285, allocations: 51.27 kB / 0.9272 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.285, allocations: 0 / 0.9272 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2851, allocations: 358.8 kB / 0.9276 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.2854, allocations: 63.95 kB / 0.9276 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.2858, allocations: 153.9 kB / 0.9278 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.2862, allocations: 97.88 kB / 0.9279 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2862, allocations: 0 / 0.9279 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008174/0.287, allocations: 253 kB / 0.9281 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.2871, allocations: 267 kB / 0.9284 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2871, allocations: 0 / 0.9284 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.2872, allocations: 11.94 kB / 0.9284 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.2876, allocations: 43.98 kB / 0.9284 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.2877, allocations: 11.92 kB / 0.9284 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.2883, allocations: 55.66 kB / 0.9285 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.2884, allocations: 4 kB / 0.9285 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2884, allocations: 6.344 kB / 0.9285 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006647/0.2891, allocations: 187.8 kB / 0.9287 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2891, allocations: 4 kB / 0.9287 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.2891, allocations: 4.078 kB / 0.9287 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.2895, allocations: 43.92 kB / 0.9287 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2895, allocations: 7.938 kB / 0.9287 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.2901, allocations: 51.7 kB / 0.9288 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.2902, allocations: 8 kB / 0.9288 GB, free: 34.48 MB / 0.6042 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.0002529/0.2904, allocations: 241.1 kB / 0.929 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.2905, allocations: 35.53 kB / 0.929 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/0.2914, allocations: 268.9 kB / 0.9293 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.2914, allocations: 0 / 0.9293 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2914, allocations: 0 / 0.9293 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2914, allocations: 0 / 0.9293 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.2928, allocations: 0.7045 MB / 0.93 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.2929, allocations: 4 kB / 0.93 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.2931, allocations: 36.05 kB / 0.93 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.2931, allocations: 0 / 0.93 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.2931, allocations: 11.98 kB / 0.93 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.2932, allocations: 7.938 kB / 0.93 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2932, allocations: 0 / 0.93 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.2939, allocations: 398.5 kB / 0.9304 GB, free: 32.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.2941, allocations: 140.5 kB / 0.9306 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.2942, allocations: 11.94 kB / 0.9306 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.2946, allocations: 23.88 kB / 0.9306 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.2947, allocations: 16.17 kB / 0.9306 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2947, allocations: 8 kB / 0.9306 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004867/0.2952, allocations: 326.9 kB / 0.9309 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2952, allocations: 0 / 0.9309 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009593/0.2962, allocations: 199.6 kB / 0.9311 GB, free: 31.93 MB / 0.6042 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.001356/0.2975, allocations: 490.3 kB / 0.9316 GB, free: 31.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.2986, allocations: 278 kB / 0.9318 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2987, allocations: 0 / 0.9318 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.299, allocations: 87.88 kB / 0.9319 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.3011, allocations: 226.7 kB / 0.9321 GB, free: 31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.3028, allocations: 0.8196 MB / 0.9329 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3031, allocations: 0.8349 MB / 0.9338 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006248/0.3038, allocations: 91.55 kB / 0.9338 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3039, allocations: 43.42 kB / 0.9339 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of SimCode: time 1.152e-06/0.3039, allocations: 0 / 0.9339 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.0221/0.326, allocations: 8.091 MB / 0.9418 GB, free: 21.16 MB / 0.6042 GB