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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001329, allocations: 101.9 kB / 15.99 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 198.8 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.44 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2895, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.00453/0.2941, allocations: 3.234 MB / 0.7867 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2956, allocations: 0.7959 MB / 0.7874 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.2959, allocations: 11.94 kB / 0.7875 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.2962, allocations: 75.31 kB / 0.7875 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.2964, allocations: 67.5 kB / 0.7876 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.2968, allocations: 227.8 kB / 0.7878 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000634/0.2975, allocations: 0.7353 MB / 0.7885 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005673/0.2981, allocations: 413.7 kB / 0.7889 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.2984, allocations: 270.9 kB / 0.7892 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.2987, allocations: 286.4 kB / 0.7895 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.97e-05/0.2988, allocations: 88 kB / 0.7895 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2989, allocations: 88 kB / 0.7896 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.299, allocations: 167.5 kB / 0.7898 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.2993, allocations: 330.3 kB / 0.7901 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.2999, allocations: 0.7836 MB / 0.7909 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3, allocations: 7.922 kB / 0.7909 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3, allocations: 0 / 0.7909 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.3, allocations: 0 / 0.7909 GB, free: 6.332 MB / 0.6075 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.001569/0.3016, allocations: 0.9547 MB / 0.7918 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3016, allocations: 8.031 kB / 0.7918 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3017, allocations: 76 kB / 0.7919 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.3024, allocations: 487.2 kB / 0.7923 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.3024, allocations: 41.69 kB / 0.7924 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.3025, allocations: 56.38 kB / 0.7924 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009432/0.3034, allocations: 0.5464 MB / 0.793 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.3035, allocations: 7.938 kB / 0.793 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.3035, allocations: 23.98 kB / 0.793 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3035, allocations: 12 kB / 0.793 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.3044, allocations: 423.7 kB / 0.7934 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.3068, allocations: 1.861 MB / 0.7952 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.308, allocations: 486.4 kB / 0.7957 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.3084, allocations: 203.8 kB / 0.7959 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.3085, allocations: 4 kB / 0.7959 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3085, allocations: 38.56 kB / 0.7959 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.3085, allocations: 0 / 0.7959 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.001084/0.3096, allocations: 497.5 kB / 0.7964 GB, free: 456 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3097, allocations: 102.8 kB / 0.7965 GB, free: 328 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.3103, allocations: 0.5229 MB / 0.797 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.3103, allocations: 29.7 kB / 0.797 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.3105, allocations: 312 kB / 0.7973 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.3106, allocations: 110.5 kB / 0.7975 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3107, allocations: 81.94 kB / 0.7975 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3109, allocations: 362.8 kB / 0.7979 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.3112, allocations: 154.3 kB / 0.798 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3116, allocations: 248.3 kB / 0.7983 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/0.3123, allocations: 358.4 kB / 0.7986 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3123, allocations: 0 / 0.7986 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008191/0.3131, allocations: 464.2 kB / 0.799 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3132, allocations: 15.81 kB / 0.7991 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3132, allocations: 4 kB / 0.7991 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3132, allocations: 0 / 0.7991 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.3135, allocations: 87.88 kB / 0.7991 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3136, allocations: 4 kB / 0.7992 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.3139, allocations: 75.42 kB / 0.7992 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3139, allocations: 16 kB / 0.7992 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003758/0.3143, allocations: 261.5 kB / 0.7995 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002948/0.3146, allocations: 231.2 kB / 0.7997 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004934/0.3151, allocations: 302.8 kB / 0.8 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.3151, allocations: 0 / 0.8 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006386/0.3157, allocations: 408.4 kB / 0.8004 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.3158, allocations: 8 kB / 0.8004 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.3158, allocations: 0 / 0.8004 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.3158, allocations: 7.938 kB / 0.8004 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.3161, allocations: 71.91 kB / 0.8005 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3161, allocations: 7.938 kB / 0.8005 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.3163, allocations: 51.73 kB / 0.8005 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3164, allocations: 20.03 kB / 0.8005 GB, free: 12 MB / 0.6231 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.0001413/0.3165, allocations: 200.2 kB / 0.8007 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.3166, allocations: 59.27 kB / 0.8008 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.3174, allocations: 393.5 kB / 0.8012 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3174, allocations: 7.984 kB / 0.8012 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3174, allocations: 3.938 kB / 0.8012 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3174, allocations: 0 / 0.8012 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.318, allocations: 0.5635 MB / 0.8017 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.318, allocations: 4.125 kB / 0.8017 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.3183, allocations: 59.95 kB / 0.8018 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3184, allocations: 7.938 kB / 0.8018 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.3184, allocations: 7.938 kB / 0.8018 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3184, allocations: 7.938 kB / 0.8018 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3184, allocations: 4 kB / 0.8018 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3195, allocations: 0.6442 MB / 0.8024 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3196, allocations: 132.4 kB / 0.8026 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.3197, allocations: 11.94 kB / 0.8026 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.32, allocations: 35.95 kB / 0.8026 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.32, allocations: 19.97 kB / 0.8026 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3201, allocations: 15.98 kB / 0.8027 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003828/0.3205, allocations: 366.9 kB / 0.803 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3205, allocations: 4.062 kB / 0.803 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005054/0.321, allocations: 179.2 kB / 0.8032 GB, free: 9.207 MB / 0.6231 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.0001493/0.3211, allocations: 107.2 kB / 0.8033 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.3223, allocations: 0.536 MB / 0.8038 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3223, allocations: 0 / 0.8038 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.3226, allocations: 176.5 kB / 0.804 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.3233, allocations: 98.28 kB / 0.8041 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3249, allocations: 1.14 MB / 0.8052 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3252, allocations: 0.8588 MB / 0.806 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3254, allocations: 43.42 kB / 0.8061 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3254, allocations: 0 / 0.8061 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.008581/0.334, allocations: 6.488 MB / 0.8124 GB, free: 15.71 MB / 0.6387 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)