Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.801/1.801, allocations: 288.4 MB / 303.4 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 180.5 kB / 372 MB, free: 10.22 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 78.38 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.000426, allocations: 15.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2536, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003159/0.2568, allocations: 2.661 MB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.2587, allocations: 0.7843 MB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.2594, allocations: 12 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.2598, allocations: 63.31 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.2602, allocations: 55.52 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.2609, allocations: 147.8 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008048/0.2617, allocations: 0.6378 MB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.2622, allocations: 264.7 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.2626, allocations: 155 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.2629, allocations: 194.7 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.263, allocations: 20 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.2631, allocations: 16 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.2632, allocations: 83.48 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2633, allocations: 125.3 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.2639, allocations: 0.7405 MB / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2639, allocations: 0 / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2639, allocations: 0 / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.901e-05/0.2639, allocations: 0 / 0.9854 GB, free: 21.69 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.001641/0.2656, allocations: 0.8767 MB / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2656, allocations: 8.031 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2659, allocations: 71.16 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.2666, allocations: 481.9 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.2667, allocations: 41.25 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.842e-05/0.2668, allocations: 56 kB / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2679, allocations: 0.5537 MB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.2679, allocations: 0 / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.268, allocations: 27.94 kB / 0.9874 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.268, allocations: 12 kB / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.2689, allocations: 455.8 kB / 0.9879 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.2717, allocations: 1.869 MB / 0.9897 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.273, allocations: 0.5575 MB / 0.9903 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.2734, allocations: 216.8 kB / 0.9905 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.2735, allocations: 4 kB / 0.9905 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.2735, allocations: 30.56 kB / 0.9905 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.296e-06/0.2735, allocations: 4 kB / 0.9905 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001123/0.2747, allocations: 0.5281 MB / 0.991 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.2747, allocations: 110.8 kB / 0.9911 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.2753, allocations: 0.5146 MB / 0.9916 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.2753, allocations: 33.69 kB / 0.9916 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.2755, allocations: 304.1 kB / 0.9919 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.2756, allocations: 118.9 kB / 0.9921 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.2756, allocations: 8 kB / 0.9921 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2758, allocations: 366.8 kB / 0.9924 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.2761, allocations: 152.7 kB / 0.9926 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.2765, allocations: 281.2 kB / 0.9928 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.2769, allocations: 179.7 kB / 0.993 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2769, allocations: 0 / 0.993 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008759/0.2778, allocations: 480.6 kB / 0.9935 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.2779, allocations: 142.8 kB / 0.9936 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2779, allocations: 7.953 kB / 0.9936 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.278, allocations: 4 kB / 0.9936 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.2783, allocations: 99.81 kB / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2783, allocations: 4 kB / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.2787, allocations: 91.39 kB / 0.9938 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.2787, allocations: 12 kB / 0.9938 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2787, allocations: 5.25 kB / 0.9938 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005628/0.2793, allocations: 355.5 kB / 0.9941 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2793, allocations: 0 / 0.9941 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.2793, allocations: 4 kB / 0.9941 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.2796, allocations: 71.91 kB / 0.9942 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2796, allocations: 8.219 kB / 0.9942 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.2799, allocations: 67.56 kB / 0.9943 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.2799, allocations: 15.98 kB / 0.9943 GB, free: 12.2 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.0002509/0.2802, allocations: 276.9 kB / 0.9946 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.2803, allocations: 63.27 kB / 0.9946 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007921/0.2811, allocations: 429.5 kB / 0.995 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2811, allocations: 0 / 0.995 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2811, allocations: 4 kB / 0.995 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2811, allocations: 0 / 0.995 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/0.2816, allocations: 0.5595 MB / 0.9956 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2817, allocations: 0 / 0.9956 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.282, allocations: 75.89 kB / 0.9957 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.282, allocations: 0 / 0.9957 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.282, allocations: 11.98 kB / 0.9957 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.282, allocations: 0 / 0.9957 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.282, allocations: 0 / 0.9957 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2831, allocations: 0.6976 MB / 0.9964 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2832, allocations: 136.4 kB / 0.9965 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.2833, allocations: 7.984 kB / 0.9965 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.2836, allocations: 52.03 kB / 0.9965 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.2837, allocations: 19.95 kB / 0.9966 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.2837, allocations: 12.06 kB / 0.9966 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003944/0.2841, allocations: 362.9 kB / 0.9969 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2841, allocations: 0 / 0.9969 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005042/0.2846, allocations: 171.3 kB / 0.9971 GB, free: 9.258 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.0001556/0.2848, allocations: 123.2 kB / 0.9972 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.2858, allocations: 0.5505 MB / 0.9977 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2859, allocations: 0 / 0.9977 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.2862, allocations: 192.7 kB / 0.9979 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.2868, allocations: 89.69 kB / 0.998 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2884, allocations: 1.082 MB / 0.9991 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.2886, allocations: 0.8588 MB / 0.9999 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002481/0.2889, allocations: 64.22 kB / 1 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.289, allocations: 39.44 kB / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.289, allocations: 0 / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of Templates: time 0.008663/0.2977, allocations: 4.569 MB / 1.004 GB, free: 1.68 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)