Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.336/2.336, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001532/0.001531, allocations: 187.5 kB / 325.6 MB, free: 2.816 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.457/2.457, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001492/0.001491, allocations: 94.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004988, allocations: 8.906 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2366, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.004284/0.241, allocations: 2.73 MB / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003013/0.2441, allocations: 1.058 MB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.2448, allocations: 11.94 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.245, allocations: 47.45 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007945/0.2458, allocations: 105.2 kB / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.2465, allocations: 159.8 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.2475, allocations: 405.1 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.2481, allocations: 234.3 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.2485, allocations: 143.2 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.2487, allocations: 170.8 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.2488, allocations: 12 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.2488, allocations: 16 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.2489, allocations: 75.61 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.249, allocations: 113.4 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000765/0.2498, allocations: 0.6587 MB / 0.9046 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2498, allocations: 7.938 kB / 0.9046 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2499, allocations: 0 / 0.9046 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.2499, allocations: 0 / 0.9046 GB, free: 59.52 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002131/0.252, allocations: 0.8141 MB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2521, allocations: 8.031 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.2523, allocations: 71.11 kB / 0.9055 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.2531, allocations: 441.8 kB / 0.9059 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.2532, allocations: 37 kB / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2533, allocations: 40 kB / 0.906 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.2547, allocations: 0.5179 MB / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.2548, allocations: 0 / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.2549, allocations: 16 kB / 0.9065 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.2549, allocations: 12 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2564, allocations: 419.7 kB / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.26, allocations: 2.045 MB / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2614, allocations: 389.8 kB / 0.9093 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.2615, allocations: 240 / 0.9093 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.2615, allocations: 38.8 kB / 0.9094 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.983e-06/0.2615, allocations: 0 / 0.9094 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001839/0.2634, allocations: 492.7 kB / 0.9098 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.2635, allocations: 110.8 kB / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007759/0.2643, allocations: 0.4904 MB / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.2643, allocations: 29.7 kB / 0.9104 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.2646, allocations: 287.8 kB / 0.9107 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.34e-05/0.2647, allocations: 98.62 kB / 0.9108 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.2647, allocations: 4 kB / 0.9108 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2648, allocations: 366.7 kB / 0.9112 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.2654, allocations: 144.6 kB / 0.9113 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.266, allocations: 225.5 kB / 0.9115 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.2667, allocations: 175.6 kB / 0.9117 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2667, allocations: 0 / 0.9117 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001407/0.2681, allocations: 440.7 kB / 0.9121 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.2682, allocations: 453.3 kB / 0.9125 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2682, allocations: 0 / 0.9125 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.2683, allocations: 8 kB / 0.9125 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.2689, allocations: 83.89 kB / 0.9126 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.2689, allocations: 7.984 kB / 0.9126 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.2695, allocations: 67.56 kB / 0.9127 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.2695, allocations: 12 kB / 0.9127 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.2695, allocations: 4 kB / 0.9127 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009552/0.2705, allocations: 311.5 kB / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2705, allocations: 0 / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.2706, allocations: 4 kB / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.2711, allocations: 67.91 kB / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2711, allocations: 3.953 kB / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.2715, allocations: 67.62 kB / 0.9131 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.2716, allocations: 8 kB / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0003694/0.272, allocations: 265 kB / 0.9134 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2721, allocations: 43.44 kB / 0.9134 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.2734, allocations: 392.3 kB / 0.9138 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.2734, allocations: 4 kB / 0.9138 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2734, allocations: 3.953 kB / 0.9138 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2734, allocations: 0 / 0.9138 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.2742, allocations: 0.5127 MB / 0.9143 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2742, allocations: 0 / 0.9143 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.2748, allocations: 79.89 kB / 0.9144 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.2748, allocations: 0 / 0.9144 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.2748, allocations: 4 kB / 0.9144 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2749, allocations: 4 kB / 0.9144 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2749, allocations: 0 / 0.9144 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.2767, allocations: 0.6366 MB / 0.915 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.2769, allocations: 132.4 kB / 0.9152 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.2769, allocations: 4 kB / 0.9152 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.2774, allocations: 39.97 kB / 0.9152 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.2775, allocations: 19.97 kB / 0.9152 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.2775, allocations: 12 kB / 0.9152 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005988/0.2781, allocations: 358.8 kB / 0.9156 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2782, allocations: 0 / 0.9156 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007116/0.2789, allocations: 159.4 kB / 0.9157 GB, free: 47.73 MB / 0.6042 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001415/0.279, allocations: 99.25 kB / 0.9158 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.2807, allocations: 0.4958 MB / 0.9163 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2808, allocations: 3.938 kB / 0.9163 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.2813, allocations: 172.2 kB / 0.9165 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.2823, allocations: 105.9 kB / 0.9166 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.2843, allocations: 0.9762 MB / 0.9175 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.2846, allocations: 0.8509 MB / 0.9184 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004026/0.285, allocations: 59.42 kB / 0.9184 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.2852, allocations: 39.38 kB / 0.9184 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of SimCode: time 9.91e-07/0.2852, allocations: 0 / 0.9184 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.01375/0.299, allocations: 4.41 MB / 0.9228 GB, free: 40.5 MB / 0.6042 GB