Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.663/2.663, allocations: 287.9 MB / 302.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 182.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 95.69 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004709, allocations: 12.59 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02652/0.1808, allocations: 24.58 MB / 1.003 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.1914, allocations: 5.827 MB / 1.008 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.1927, allocations: 39.69 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.1947, allocations: 0.6341 MB / 1.009 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.1989, allocations: 1.19 MB / 1.01 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005058/0.204, allocations: 1.319 MB / 1.012 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003669/0.2077, allocations: 1.564 MB / 1.013 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.2093, allocations: 0.6588 MB / 1.014 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.2118, allocations: 0.8525 MB / 1.015 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.2131, allocations: 0.5601 MB / 1.015 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.2133, allocations: 40 kB / 1.015 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.2155, allocations: 0.5343 MB / 1.016 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.2159, allocations: 239.1 kB / 1.016 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004479/0.2164, allocations: 229.1 kB / 1.016 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.2186, allocations: 1.025 MB / 1.017 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.494e-06/0.2186, allocations: 0 / 1.017 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.63e-06/0.2186, allocations: 0 / 1.017 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.2187, allocations: 0 / 1.017 GB, free: 4.793 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003173/0.2219, allocations: 1.381 MB / 1.018 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2219, allocations: 8.031 kB / 1.018 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00418/0.2261, allocations: 0.6422 MB / 1.019 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.228, allocations: 0.7742 MB / 1.02 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/0.2281, allocations: 58 kB / 1.02 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.2283, allocations: 75.98 kB / 1.02 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.2315, allocations: 1.099 MB / 1.021 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.2316, allocations: 7.938 kB / 1.021 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.2317, allocations: 32 kB / 1.021 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.2318, allocations: 16 kB / 1.021 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004175/0.2359, allocations: 1.024 MB / 1.022 GB, free: 15.48 MB / 0.6511 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.00835/0.2443, allocations: 4.979 MB / 1.027 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.2483, allocations: 0.9581 MB / 1.028 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/0.2502, allocations: 1.595 MB / 1.029 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/0.2524, allocations: 0.5884 MB / 1.03 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.176e-06/0.2524, allocations: 0 / 1.03 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007284/0.2597, allocations: 1.516 MB / 1.032 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/0.2599, allocations: 59.97 kB / 1.032 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.2633, allocations: 1.117 MB / 1.033 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.2635, allocations: 37.7 kB / 1.033 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009105/0.2645, allocations: 0.5513 MB / 1.033 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/0.2649, allocations: 213 kB / 1.033 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.265, allocations: 16 kB / 1.033 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.2653, allocations: 337.9 kB / 1.034 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/0.2686, allocations: 453.6 kB / 1.034 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003959/0.2726, allocations: 0.7436 MB / 1.035 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.2748, allocations: 0.4978 MB / 1.035 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.855e-06/0.2748, allocations: 0 / 1.035 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00493/0.2798, allocations: 1.294 MB / 1.037 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.2798, allocations: 11.95 kB / 1.037 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.2799, allocations: 8 kB / 1.037 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.2799, allocations: 12 kB / 1.037 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.2815, allocations: 280 kB / 1.037 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.881e-05/0.2816, allocations: 19.92 kB / 1.037 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.2832, allocations: 203 kB / 1.037 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.2834, allocations: 43.98 kB / 1.037 GB, free: 15.14 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0006626/0.284, allocations: 291.8 kB / 1.038 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.2843, allocations: 122.5 kB / 1.038 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/0.2894, allocations: 1.386 MB / 1.039 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.2895, allocations: 12 kB / 1.039 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.141e-06/0.2895, allocations: 3.938 kB / 1.039 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.2895, allocations: 3.984 kB / 1.039 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007067/0.2966, allocations: 2.39 MB / 1.041 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.2966, allocations: 192 / 1.041 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.298, allocations: 195.8 kB / 1.042 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/0.298, allocations: 8 kB / 1.042 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.2981, allocations: 27.97 kB / 1.042 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.311e-06/0.2982, allocations: 4 kB / 1.042 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/0.2982, allocations: 3.938 kB / 1.042 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007068/0.3052, allocations: 2.082 MB / 1.044 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/0.306, allocations: 291.3 kB / 1.044 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.3062, allocations: 16 kB / 1.044 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.3075, allocations: 123.9 kB / 1.044 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3077, allocations: 60.38 kB / 1.044 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.3078, allocations: 31.97 kB / 1.044 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001395/0.3092, allocations: 0.7679 MB / 1.045 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.15e-07/0.3092, allocations: 0 / 1.045 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001457/0.3107, allocations: 347.5 kB / 1.045 GB, free: 6.824 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.002152/0.3129, allocations: 0.6438 MB / 1.046 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004629/0.3175, allocations: 1.126 MB / 1.047 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.62e-06/0.3176, allocations: 0 / 1.047 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/0.3199, allocations: 0.5853 MB / 1.047 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.3225, allocations: 444 kB / 1.048 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00699/0.3295, allocations: 2.7 MB / 1.051 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.3306, allocations: 1.129 MB / 1.052 GB, free: 288 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001547/0.3322, allocations: 252.8 kB / 1.052 GB, free: 32 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.3326, allocations: 111.4 kB / 1.052 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of SimCode: time 1.568e-06/0.3327, allocations: 0 / 1.052 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of Templates: time 0.5645/0.8971, allocations: 18.86 MB / 1.07 GB, free: 87.47 MB / 0.6823 GB