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.732/1.732, allocations: 288.3 MB / 303.2 MB, free: 8.184 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.001189/0.001189, allocations: 189 kB / 371.9 MB, free: 10.28 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.971/1.971, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.00112/0.00112, allocations: 99.02 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004997, allocations: 11.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3015, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003279/0.3048, allocations: 2.681 MB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3063, allocations: 0.7843 MB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.3066, allocations: 8 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.461e-05/0.3067, allocations: 47.44 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.3072, allocations: 103.6 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.3075, allocations: 163.8 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000464/0.308, allocations: 409.8 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000408/0.3084, allocations: 268.7 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.3086, allocations: 163.1 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.3088, allocations: 186.8 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.3089, allocations: 16 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.3089, allocations: 23.88 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.309, allocations: 83.59 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.3091, allocations: 129.3 kB / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.3096, allocations: 0.7327 MB / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.3096, allocations: 0 / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3096, allocations: 0 / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3096, allocations: 8 kB / 0.9851 GB, free: 21.91 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.00136/0.311, allocations: 0.869 MB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.311, allocations: 12.03 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.3111, allocations: 71.16 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.3117, allocations: 477.9 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.3118, allocations: 45.25 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.3119, allocations: 52 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.3128, allocations: 0.5537 MB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3128, allocations: 4 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.3129, allocations: 24 kB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.3129, allocations: 12 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008648/0.3138, allocations: 451.7 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.3162, allocations: 1.869 MB / 0.9894 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3175, allocations: 0.5732 MB / 0.9899 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.3176, allocations: 4 kB / 0.9899 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3176, allocations: 38.55 kB / 0.99 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.696e-06/0.3176, allocations: 0 / 0.99 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001103/0.3187, allocations: 0.5247 MB / 0.9905 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.3188, allocations: 110.8 kB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.3193, allocations: 0.5185 MB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3193, allocations: 33.7 kB / 0.9911 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.3195, allocations: 300.1 kB / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.3196, allocations: 118.9 kB / 0.9915 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.3196, allocations: 8 kB / 0.9915 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3198, allocations: 358.8 kB / 0.9919 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.3201, allocations: 164.7 kB / 0.992 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3205, allocations: 260.1 kB / 0.9923 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.3208, allocations: 195.6 kB / 0.9925 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3208, allocations: 0 / 0.9925 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007953/0.3216, allocations: 476.6 kB / 0.9929 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.3219, allocations: 0.7028 MB / 0.9936 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3219, allocations: 4 kB / 0.9936 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.3219, allocations: 8 kB / 0.9936 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.3223, allocations: 95.81 kB / 0.9937 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3223, allocations: 4 kB / 0.9937 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.3226, allocations: 99.33 kB / 0.9938 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.3226, allocations: 11.94 kB / 0.9938 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.3227, allocations: 4 kB / 0.9938 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005523/0.3232, allocations: 347.6 kB / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.3232, allocations: 0 / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.94e-06/0.3232, allocations: 4 kB / 0.9942 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.3235, allocations: 88.05 kB / 0.9942 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3235, allocations: 4 kB / 0.9942 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3238, allocations: 63.56 kB / 0.9943 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.3238, allocations: 15.95 kB / 0.9943 GB, free: 12.05 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.000234/0.324, allocations: 273 kB / 0.9946 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.3241, allocations: 51.34 kB / 0.9946 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007893/0.3249, allocations: 433.4 kB / 0.995 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3249, allocations: 4 kB / 0.995 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3249, allocations: 0 / 0.995 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3249, allocations: 7.984 kB / 0.9951 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.3254, allocations: 0.5556 MB / 0.9956 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3255, allocations: 0 / 0.9956 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.3258, allocations: 79.89 kB / 0.9957 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3258, allocations: 0 / 0.9957 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.3258, allocations: 8 kB / 0.9957 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3258, allocations: 0 / 0.9957 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3258, allocations: 4 kB / 0.9957 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.3269, allocations: 0.686 MB / 0.9964 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.327, allocations: 136.4 kB / 0.9965 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.3271, allocations: 8 kB / 0.9965 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.3274, allocations: 52.02 kB / 0.9965 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.3274, allocations: 23.91 kB / 0.9966 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3275, allocations: 11.98 kB / 0.9966 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003413/0.3278, allocations: 366.9 kB / 0.9969 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3278, allocations: 0 / 0.9969 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004857/0.3283, allocations: 171.3 kB / 0.9971 GB, free: 9.109 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.0001444/0.3285, allocations: 111.2 kB / 0.9972 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.3295, allocations: 0.5621 MB / 0.9977 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3295, allocations: 0 / 0.9977 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.3298, allocations: 184.8 kB / 0.9979 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.3305, allocations: 91.45 kB / 0.998 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.332, allocations: 1.074 MB / 0.9991 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3323, allocations: 0.8783 MB / 0.9999 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.3326, allocations: 60.23 kB / 1 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3327, allocations: 39.42 kB / 1 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3327, allocations: 0 / 1 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of Templates: time 0.008743/0.3414, allocations: 4.554 MB / 1.004 GB, free: 1.543 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)