Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.681/2.681, allocations: 287.5 MB / 302.4 MB, free: 8.352 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.001411/0.001411, allocations: 172.9 kB / 371 MB, free: 10.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009215/0.0009213, allocations: 92.66 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006883/0.0006885, allocations: 11.38 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2279, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003757/0.2317, allocations: 2.665 MB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.2339, allocations: 0.7804 MB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005702/0.2345, allocations: 12 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.2348, allocations: 67.31 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.235, allocations: 55.52 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.2356, allocations: 147.8 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.2364, allocations: 0.6339 MB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.2369, allocations: 272.7 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.2372, allocations: 163 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.2375, allocations: 186.7 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.997e-05/0.2376, allocations: 16 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.2377, allocations: 16 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.2378, allocations: 87.53 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.2379, allocations: 125.3 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007921/0.2387, allocations: 0.7405 MB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2387, allocations: 0 / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.845e-06/0.2387, allocations: 3.938 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.2387, allocations: 0 / 0.9842 GB, free: 22.41 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.002008/0.2408, allocations: 0.8689 MB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2408, allocations: 16.02 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.241, allocations: 71.16 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008322/0.2418, allocations: 485.9 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.2419, allocations: 41.31 kB / 0.9856 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.242, allocations: 48 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.2435, allocations: 0.5615 MB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2435, allocations: 0 / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/0.2436, allocations: 20 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.2436, allocations: 12 kB / 0.9862 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.2451, allocations: 459.7 kB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.2489, allocations: 1.869 MB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.2512, allocations: 0.5575 MB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.2519, allocations: 212.8 kB / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.252, allocations: 4 kB / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.252, allocations: 38.56 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.747e-06/0.252, allocations: 0 / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001881/0.2539, allocations: 0.5319 MB / 0.9898 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.254, allocations: 106.8 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000813/0.2548, allocations: 0.5107 MB / 0.9904 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.2549, allocations: 41.69 kB / 0.9904 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.2551, allocations: 308.6 kB / 0.9907 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2553, allocations: 106.4 kB / 0.9908 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.2553, allocations: 8 kB / 0.9908 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2554, allocations: 362.8 kB / 0.9912 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.256, allocations: 156.7 kB / 0.9913 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.2567, allocations: 272.4 kB / 0.9916 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.2573, allocations: 179.7 kB / 0.9918 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2573, allocations: 4 kB / 0.9918 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001507/0.2588, allocations: 484.4 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.615e-05/0.2589, allocations: 143 kB / 0.9924 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.259, allocations: 0 / 0.9924 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.259, allocations: 4 kB / 0.9924 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.2596, allocations: 91.88 kB / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.2597, allocations: 11.94 kB / 0.9925 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.2603, allocations: 87.39 kB / 0.9926 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.2603, allocations: 16 kB / 0.9926 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.2603, allocations: 8 kB / 0.9926 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009698/0.2613, allocations: 343.7 kB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2613, allocations: 4 kB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.2614, allocations: 4 kB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.2619, allocations: 79.97 kB / 0.993 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2619, allocations: 4 kB / 0.993 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.2624, allocations: 71.59 kB / 0.9931 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.2625, allocations: 8 kB / 0.9931 GB, free: 12.95 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.0003835/0.2629, allocations: 280.9 kB / 0.9933 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.263, allocations: 51.34 kB / 0.9934 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.2644, allocations: 429.5 kB / 0.9938 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2644, allocations: 4 kB / 0.9938 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.455e-06/0.2644, allocations: 3.984 kB / 0.9938 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2645, allocations: 0 / 0.9938 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/0.2653, allocations: 0.5595 MB / 0.9943 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2653, allocations: 3.938 kB / 0.9944 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.2659, allocations: 79.89 kB / 0.9944 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2659, allocations: 4 kB / 0.9944 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.266, allocations: 7.984 kB / 0.9944 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.266, allocations: 4 kB / 0.9944 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.266, allocations: 0 / 0.9944 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.268, allocations: 0.6936 MB / 0.9951 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.2682, allocations: 136.5 kB / 0.9952 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.2683, allocations: 11.98 kB / 0.9953 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.2687, allocations: 39.97 kB / 0.9953 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.2689, allocations: 31.89 kB / 0.9953 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.2689, allocations: 16 kB / 0.9953 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005667/0.2695, allocations: 358.9 kB / 0.9957 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2695, allocations: 0 / 0.9957 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007818/0.2703, allocations: 175.3 kB / 0.9959 GB, free: 9.988 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.0001588/0.2705, allocations: 111.2 kB / 0.996 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.2723, allocations: 0.5462 MB / 0.9965 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2723, allocations: 4.812 kB / 0.9965 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.273, allocations: 192.3 kB / 0.9967 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.2739, allocations: 96.56 kB / 0.9968 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.276, allocations: 1.07 MB / 0.9978 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.2764, allocations: 0.8549 MB / 0.9987 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004346/0.2769, allocations: 68.22 kB / 0.9987 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.2771, allocations: 43.42 kB / 0.9988 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of SimCode: time 1.353e-06/0.2771, allocations: 0 / 0.9988 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of Templates: time 0.01431/0.2914, allocations: 4.568 MB / 1.003 GB, free: 2.422 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)