Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.559/1.559, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001191/0.001191, allocations: 190.4 kB / 376.9 MB, free: 1.828 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.427/1.427, allocations: 205 MB / 0.6353 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009743/0.0009744, allocations: 95.39 kB / 0.748 GB, free: 60.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 51.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.248, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.004582/0.2526, allocations: 3.223 MB / 0.9854 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2543, allocations: 0.8075 MB / 0.9862 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.2548, allocations: 15.94 kB / 0.9862 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.2551, allocations: 71.31 kB / 0.9862 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.2555, allocations: 63.5 kB / 0.9863 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.256, allocations: 227.8 kB / 0.9865 GB, free: 6 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007051/0.2568, allocations: 0.6768 MB / 0.9872 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.2572, allocations: 401.7 kB / 0.9876 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.2574, allocations: 210.9 kB / 0.9878 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2577, allocations: 262.4 kB / 0.988 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.2577, allocations: 32 kB / 0.988 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.371e-05/0.2578, allocations: 40 kB / 0.9881 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.2579, allocations: 115.4 kB / 0.9882 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.2581, allocations: 278.2 kB / 0.9885 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.2587, allocations: 0.9035 MB / 0.9893 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2587, allocations: 0 / 0.9893 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.81e-07/0.2587, allocations: 0 / 0.9893 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2587, allocations: 0 / 0.9893 GB, free: 3.094 MB / 0.7136 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.001361/0.2601, allocations: 0.9547 MB / 0.9903 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.323e-05/0.2601, allocations: 15.97 kB / 0.9903 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.2602, allocations: 80 kB / 0.9904 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.2607, allocations: 495 kB / 0.9908 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.2608, allocations: 41.69 kB / 0.9909 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.2608, allocations: 48.38 kB / 0.9909 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/0.2617, allocations: 0.5425 MB / 0.9914 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2617, allocations: 7.938 kB / 0.9915 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.2617, allocations: 24 kB / 0.9915 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.2617, allocations: 12 kB / 0.9915 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.2626, allocations: 427.7 kB / 0.9919 GB, free: 368 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.2648, allocations: 1.849 MB / 0.9937 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.266, allocations: 494.9 kB / 0.9942 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.2664, allocations: 204 kB / 0.9944 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2664, allocations: 4 kB / 0.9944 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2665, allocations: 38.55 kB / 0.9944 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.2665, allocations: 4 kB / 0.9944 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.001027/0.2675, allocations: 496.7 kB / 0.9949 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.2676, allocations: 106.8 kB / 0.995 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.2681, allocations: 0.5224 MB / 0.9955 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2681, allocations: 37.7 kB / 0.9955 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.2683, allocations: 308 kB / 0.9958 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.2684, allocations: 110.4 kB / 0.9959 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.2685, allocations: 70.06 kB / 0.996 GB, free: 12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2687, allocations: 362.8 kB / 0.9963 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.269, allocations: 154.3 kB / 0.9965 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.2694, allocations: 252.3 kB / 0.9967 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.2701, allocations: 358.1 kB / 0.9971 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2701, allocations: 0 / 0.9971 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008206/0.2709, allocations: 460.1 kB / 0.9975 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2709, allocations: 14.28 kB / 0.9975 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2709, allocations: 0 / 0.9975 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2709, allocations: 4 kB / 0.9975 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2713, allocations: 83.89 kB / 0.9976 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2713, allocations: 8.219 kB / 0.9976 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.2716, allocations: 75.39 kB / 0.9977 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.2716, allocations: 15.98 kB / 0.9977 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000363/0.272, allocations: 264.8 kB / 0.998 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002936/0.2723, allocations: 226.4 kB / 0.9982 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004826/0.2728, allocations: 310.5 kB / 0.9985 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.2728, allocations: 0 / 0.9985 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006386/0.2734, allocations: 400.6 kB / 0.9989 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.2735, allocations: 4 kB / 0.9989 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2735, allocations: 4 kB / 0.9989 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.2735, allocations: 8.062 kB / 0.9989 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2738, allocations: 83.83 kB / 0.9989 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2738, allocations: 4 kB / 0.999 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.274, allocations: 63.86 kB / 0.999 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.2741, allocations: 12 kB / 0.999 GB, free: 8.742 MB / 0.7292 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,vavBoxCon.hysWitHol.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.2742, allocations: 196.2 kB / 0.9992 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.2743, allocations: 59.28 kB / 0.9993 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007811/0.275, allocations: 405.4 kB / 0.9997 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2751, allocations: 4 kB / 0.9997 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2751, allocations: 0 / 0.9997 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2751, allocations: 3.984 kB / 0.9997 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.2757, allocations: 0.5479 MB / 1 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2757, allocations: 4 kB / 1 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.276, allocations: 75.88 kB / 1 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.276, allocations: 7.938 kB / 1 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.276, allocations: 4 kB / 1 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.276, allocations: 0 / 1 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.276, allocations: 4 kB / 1 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/0.2807, allocations: 3.307 MB / 1.004 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.2808, allocations: 132.4 kB / 1.004 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.2809, allocations: 16 kB / 1.004 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.2811, allocations: 35.89 kB / 1.004 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2812, allocations: 27.91 kB / 1.004 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.2812, allocations: 19.98 kB / 1.004 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003657/0.2816, allocations: 366.9 kB / 1.004 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2816, allocations: 0 / 1.004 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006961/0.2823, allocations: 231.2 kB / 1.004 GB, free: 3.094 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001218/0.2824, allocations: 111.2 kB / 1.004 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.2835, allocations: 0.5235 MB / 1.005 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2835, allocations: 0 / 1.005 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.2838, allocations: 168.7 kB / 1.005 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.2845, allocations: 100.7 kB / 1.005 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.286, allocations: 1.348 MB / 1.006 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.2864, allocations: 0.8667 MB / 1.007 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.2867, allocations: 60.23 kB / 1.007 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.2868, allocations: 47.42 kB / 1.007 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/0.2868, allocations: 0 / 1.007 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.009147/0.296, allocations: 5.38 MB / 1.013 GB, free: 10.45 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)