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.001392/0.001392, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001289/0.001289, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.438/1.438, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.752/1.752, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001487/0.001487, allocations: 59.91 kB / 0.6722 GB, free: 6.609 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2899, allocations: 114.5 MB / 0.784 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.004463/0.2944, allocations: 3.223 MB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5588/0.8533, allocations: 0.8289 MB / 0.788 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009304/0.8543, allocations: 15.94 kB / 0.788 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.8548, allocations: 101.1 kB / 0.7881 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.855, allocations: 94.22 kB / 0.7882 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.8556, allocations: 257 kB / 0.7884 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.8562, allocations: 0.7307 MB / 0.7891 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.8567, allocations: 415.5 kB / 0.7895 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.857, allocations: 267.8 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.8573, allocations: 290.6 kB / 0.7901 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.226e-05/0.8574, allocations: 88.09 kB / 0.7901 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.8575, allocations: 86.53 kB / 0.7902 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.8576, allocations: 169.2 kB / 0.7904 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.8578, allocations: 327.5 kB / 0.7907 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007446/0.8586, allocations: 0.9416 MB / 0.7916 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.8586, allocations: 0 / 0.7916 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8586, allocations: 0 / 0.7916 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.8586, allocations: 5.906 kB / 0.7916 GB, free: 45.42 MB / 0.6544 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.001523/0.8602, allocations: 0.955 MB / 0.7926 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8602, allocations: 12.25 kB / 0.7926 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.8603, allocations: 74.12 kB / 0.7926 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006071/0.861, allocations: 489 kB / 0.7931 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.861, allocations: 45.94 kB / 0.7932 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.8611, allocations: 55.84 kB / 0.7932 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008996/0.862, allocations: 0.5489 MB / 0.7937 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.862, allocations: 3.938 kB / 0.7937 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.8621, allocations: 21.56 kB / 0.7938 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.8621, allocations: 14.77 kB / 0.7938 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.8629, allocations: 427.1 kB / 0.7942 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.8653, allocations: 1.854 MB / 0.796 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.8666, allocations: 485.1 kB / 0.7965 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.8669, allocations: 207.1 kB / 0.7967 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.867, allocations: 4.75 kB / 0.7967 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.867, allocations: 36.09 kB / 0.7967 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.867, allocations: 0 / 0.7967 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.001118/0.8682, allocations: 0.4927 MB / 0.7972 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.8682, allocations: 108.5 kB / 0.7973 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.8688, allocations: 0.5136 MB / 0.7978 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.8689, allocations: 32.11 kB / 0.7978 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.8691, allocations: 310.8 kB / 0.7981 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.463e-05/0.8692, allocations: 111.9 kB / 0.7982 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.8693, allocations: 74.23 kB / 0.7983 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8695, allocations: 365.4 kB / 0.7986 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.8698, allocations: 148.5 kB / 0.7988 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.8702, allocations: 256 kB / 0.799 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.8709, allocations: 355.2 kB / 0.7994 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8709, allocations: 0 / 0.7994 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009375/0.8719, allocations: 466.5 kB / 0.7998 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.8719, allocations: 7.969 kB / 0.7998 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.8719, allocations: 7.109 kB / 0.7998 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.8719, allocations: 6.922 kB / 0.7998 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.8723, allocations: 84.62 kB / 0.7999 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.8724, allocations: 3.344 kB / 0.7999 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.8727, allocations: 81.39 kB / 0.8 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.8728, allocations: 14.81 kB / 0.8 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004375/0.8732, allocations: 269.4 kB / 0.8003 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003616/0.8736, allocations: 221.4 kB / 0.8005 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005349/0.8741, allocations: 309.6 kB / 0.8008 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.8741, allocations: 0 / 0.8008 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000755/0.8749, allocations: 405 kB / 0.8012 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.8749, allocations: 7.188 kB / 0.8012 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.8749, allocations: 1.281 kB / 0.8012 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.8749, allocations: 7 kB / 0.8012 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.8752, allocations: 75.45 kB / 0.8012 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.8753, allocations: 4.797 kB / 0.8012 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.8756, allocations: 59.92 kB / 0.8013 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.8756, allocations: 14.88 kB / 0.8013 GB, free: 40.77 MB / 0.6544 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.0001807/0.8758, allocations: 201.8 kB / 0.8015 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/0.8759, allocations: 56 kB / 0.8016 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.8769, allocations: 401.7 kB / 0.8019 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.877, allocations: 3.016 kB / 0.8019 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.877, allocations: 0 / 0.8019 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.877, allocations: 1.734 kB / 0.8019 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009757/0.878, allocations: 0.5598 MB / 0.8025 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.878, allocations: 1.125 kB / 0.8025 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.8783, allocations: 66.81 kB / 0.8026 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.8784, allocations: 5.875 kB / 0.8026 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.8784, allocations: 6.781 kB / 0.8026 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.8784, allocations: 7.781 kB / 0.8026 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.8784, allocations: 0 / 0.8026 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.8799, allocations: 0.6444 MB / 0.8032 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.8801, allocations: 134.8 kB / 0.8033 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.8802, allocations: 11.41 kB / 0.8033 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.8805, allocations: 38.69 kB / 0.8034 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.8806, allocations: 25.33 kB / 0.8034 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.8807, allocations: 8.328 kB / 0.8034 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006047/0.8813, allocations: 377.4 kB / 0.8038 GB, free: 39.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8813, allocations: 1.969 kB / 0.8038 GB, free: 39.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007245/0.882, allocations: 174 kB / 0.8039 GB, free: 39.3 MB / 0.6544 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.0001899/0.8822, allocations: 107.3 kB / 0.804 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.8839, allocations: 0.5312 MB / 0.8046 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8839, allocations: 0 / 0.8046 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.8844, allocations: 174.2 kB / 0.8047 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/0.8852, allocations: 101.9 kB / 0.8048 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.8873, allocations: 0.9317 MB / 0.8057 GB, free: 38.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.8879, allocations: 0.8611 MB / 0.8066 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.8881, allocations: 46.2 kB / 0.8066 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.793e-06/0.8881, allocations: 0 / 0.8066 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.02278/0.9109, allocations: 6.49 MB / 0.813 GB, free: 37.12 MB / 0.6544 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)