Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.567/2.567, allocations: 287.9 MB / 302.9 MB, free: 8.328 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.001415/0.001414, allocations: 187.8 kB / 371.4 MB, free: 10.67 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 1.966/1.966, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.00102/0.00102, allocations: 93.27 kB / 0.7434 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008412/0.0008416, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1927, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003081/0.1958, allocations: 2.685 MB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1976, allocations: 0.7843 MB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.1981, allocations: 8 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.654e-05/0.1982, allocations: 47.44 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.1987, allocations: 107.6 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1991, allocations: 159.8 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.1997, allocations: 409.8 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.2002, allocations: 264.7 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.2005, allocations: 167.1 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.2007, allocations: 186.8 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.2008, allocations: 16 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.894e-05/0.2008, allocations: 19.94 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.2009, allocations: 83.61 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.201, allocations: 125.3 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006621/0.2017, allocations: 0.7327 MB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.89e-06/0.2017, allocations: 0 / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.65e-06/0.2017, allocations: 0 / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.2018, allocations: 4 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001537/0.2033, allocations: 0.8737 MB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.2034, allocations: 16.02 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.2035, allocations: 71.16 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.2043, allocations: 477.9 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.2044, allocations: 49.25 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.2045, allocations: 51.98 kB / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2057, allocations: 0.5537 MB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.2057, allocations: 4 kB / 0.9864 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.2058, allocations: 20 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.2058, allocations: 12 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.207, allocations: 455.7 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.2103, allocations: 1.877 MB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.2121, allocations: 0.5638 MB / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.2122, allocations: 7.984 kB / 0.9893 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2122, allocations: 34.56 kB / 0.9893 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.684e-06/0.2123, allocations: 0 / 0.9893 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001496/0.2138, allocations: 0.5285 MB / 0.9898 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.2138, allocations: 106.8 kB / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.2146, allocations: 0.5185 MB / 0.9904 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.2146, allocations: 37.7 kB / 0.9905 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.2149, allocations: 300.6 kB / 0.9907 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.326e-05/0.215, allocations: 118.3 kB / 0.9909 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.215, allocations: 8 kB / 0.9909 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.2151, allocations: 362.8 kB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.2156, allocations: 160.7 kB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.2162, allocations: 252.6 kB / 0.9916 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.2167, allocations: 195.6 kB / 0.9918 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.2167, allocations: 0 / 0.9918 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001182/0.2179, allocations: 484.4 kB / 0.9923 GB, free: 14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.2181, allocations: 0.6953 MB / 0.9929 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2181, allocations: 4.062 kB / 0.9929 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.2181, allocations: 12 kB / 0.9929 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.2186, allocations: 95.81 kB / 0.993 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2186, allocations: 4 kB / 0.993 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.2191, allocations: 99.33 kB / 0.9931 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.2191, allocations: 8 kB / 0.9931 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2191, allocations: 5.094 kB / 0.9931 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008251/0.22, allocations: 343.6 kB / 0.9935 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.22, allocations: 0 / 0.9935 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.707e-06/0.22, allocations: 4 kB / 0.9935 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.2204, allocations: 88.05 kB / 0.9936 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.18e-06/0.2204, allocations: 4 kB / 0.9936 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.2208, allocations: 67.52 kB / 0.9936 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.2208, allocations: 12 kB / 0.9936 GB, free: 12.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0003255/0.2212, allocations: 277 kB / 0.9939 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2213, allocations: 51.34 kB / 0.994 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.2224, allocations: 433.4 kB / 0.9944 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.109e-06/0.2224, allocations: 0 / 0.9944 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.007e-06/0.2224, allocations: 11.98 kB / 0.9944 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2224, allocations: 3.953 kB / 0.9944 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007316/0.2232, allocations: 0.5518 MB / 0.9949 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.18e-06/0.2232, allocations: 0 / 0.9949 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.2237, allocations: 79.89 kB / 0.995 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-06/0.2237, allocations: 0 / 0.995 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.2237, allocations: 8 kB / 0.995 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2237, allocations: 4 kB / 0.995 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-06/0.2237, allocations: 0 / 0.995 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.2253, allocations: 0.6898 MB / 0.9957 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.2255, allocations: 140.4 kB / 0.9958 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.2256, allocations: 4 kB / 0.9958 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.226, allocations: 52.02 kB / 0.9959 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.2261, allocations: 23.91 kB / 0.9959 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.2261, allocations: 11.98 kB / 0.9959 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005074/0.2266, allocations: 370.8 kB / 0.9963 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.17e-07/0.2266, allocations: 0 / 0.9963 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007437/0.2274, allocations: 171.3 kB / 0.9964 GB, free: 9.574 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0001407/0.2276, allocations: 115.2 kB / 0.9965 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.229, allocations: 0.5621 MB / 0.9971 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.028e-06/0.229, allocations: 0 / 0.9971 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.2295, allocations: 184.8 kB / 0.9973 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.2302, allocations: 84.73 kB / 0.9973 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.232, allocations: 1.082 MB / 0.9984 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.2324, allocations: 0.8705 MB / 0.9992 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003765/0.2328, allocations: 64.23 kB / 0.9993 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.2329, allocations: 39.42 kB / 0.9993 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of SimCode: time 1.777e-06/0.233, allocations: 0 / 0.9993 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of Templates: time 0.01287/0.2458, allocations: 4.551 MB / 1.004 GB, free: 2.012 MB / 0.6198 GB