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.001417/0.001418, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.692/1.692, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001412/0.001413, allocations: 72.64 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.21, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.004335/0.2144, allocations: 3.217 MB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.216, allocations: 0.8388 MB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.2163, allocations: 15.94 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.2166, allocations: 94.94 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.2168, allocations: 95.06 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.2173, allocations: 259.6 kB / 0.7878 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000571/0.2179, allocations: 0.7354 MB / 0.7885 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.2184, allocations: 409.7 kB / 0.7889 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.2187, allocations: 266.9 kB / 0.7891 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.2189, allocations: 302.4 kB / 0.7894 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.457e-05/0.219, allocations: 84 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.389e-05/0.2191, allocations: 95.94 kB / 0.7896 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.2193, allocations: 159.5 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.2195, allocations: 326.2 kB / 0.7901 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007181/0.2202, allocations: 0.9464 MB / 0.791 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2202, allocations: 0 / 0.791 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2202, allocations: 0 / 0.791 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.2203, allocations: 0 / 0.791 GB, free: 5.637 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.001428/0.2217, allocations: 0.9625 MB / 0.7919 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2217, allocations: 8.031 kB / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.2219, allocations: 76 kB / 0.792 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.2224, allocations: 495.2 kB / 0.7925 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.2225, allocations: 37.69 kB / 0.7925 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.2226, allocations: 56.38 kB / 0.7926 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009192/0.2235, allocations: 0.5425 MB / 0.7931 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2235, allocations: 7.938 kB / 0.7931 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.2236, allocations: 24 kB / 0.7931 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.2236, allocations: 15.94 kB / 0.7931 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.2245, allocations: 431.7 kB / 0.7935 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.2269, allocations: 1.853 MB / 0.7954 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.2282, allocations: 486.4 kB / 0.7958 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/0.2286, allocations: 207.5 kB / 0.796 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.2286, allocations: 8.531 kB / 0.796 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2287, allocations: 34.56 kB / 0.7961 GB, free: 236 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.2287, allocations: 0 / 0.7961 GB, free: 236 kB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.001166/0.2298, allocations: 494.3 kB / 0.7965 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.2299, allocations: 106.8 kB / 0.7966 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.2305, allocations: 0.5224 MB / 0.7971 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.2305, allocations: 37.7 kB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.2307, allocations: 312 kB / 0.7975 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.2308, allocations: 102.5 kB / 0.7976 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2309, allocations: 74.06 kB / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2311, allocations: 362.8 kB / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.2315, allocations: 158.2 kB / 0.7981 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.2319, allocations: 244.3 kB / 0.7984 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.2326, allocations: 366.4 kB / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2326, allocations: 0 / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000894/0.2335, allocations: 456 kB / 0.7992 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2335, allocations: 7.938 kB / 0.7992 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2335, allocations: 4 kB / 0.7992 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2336, allocations: 4 kB / 0.7992 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.2339, allocations: 83.83 kB / 0.7993 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.2339, allocations: 8.172 kB / 0.7993 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.2343, allocations: 87.33 kB / 0.7993 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.2343, allocations: 8 kB / 0.7994 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004017/0.2347, allocations: 272.8 kB / 0.7996 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003071/0.235, allocations: 223.2 kB / 0.7998 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005233/0.2356, allocations: 306.8 kB / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.2356, allocations: 0 / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006728/0.2363, allocations: 412.2 kB / 0.8005 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.2363, allocations: 4 kB / 0.8005 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2363, allocations: 3.984 kB / 0.8005 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.2363, allocations: 7.938 kB / 0.8005 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.2366, allocations: 67.91 kB / 0.8006 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2366, allocations: 7.938 kB / 0.8006 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.2369, allocations: 63.95 kB / 0.8007 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.2369, allocations: 12 kB / 0.8007 GB, free: 11.29 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.0001384/0.2371, allocations: 200.2 kB / 0.8009 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.2371, allocations: 55.28 kB / 0.8009 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008506/0.238, allocations: 397.4 kB / 0.8013 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.238, allocations: 4 kB / 0.8013 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.238, allocations: 0 / 0.8013 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.238, allocations: 7.984 kB / 0.8013 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.2386, allocations: 0.5518 MB / 0.8018 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2386, allocations: 4.125 kB / 0.8018 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.2389, allocations: 71.89 kB / 0.8019 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.239, allocations: 7.938 kB / 0.8019 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.239, allocations: 8 kB / 0.8019 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.239, allocations: 0 / 0.8019 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.239, allocations: 3.984 kB / 0.8019 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.2402, allocations: 0.6441 MB / 0.8026 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.2403, allocations: 140.4 kB / 0.8027 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.2404, allocations: 7.938 kB / 0.8027 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.2406, allocations: 31.97 kB / 0.8027 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.2407, allocations: 28.02 kB / 0.8028 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.2407, allocations: 12 kB / 0.8028 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004026/0.2412, allocations: 366.9 kB / 0.8031 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2412, allocations: 0 / 0.8031 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005628/0.2417, allocations: 179.2 kB / 0.8033 GB, free: 8.504 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.0001706/0.2419, allocations: 111.2 kB / 0.8034 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.2432, allocations: 0.532 MB / 0.8039 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2432, allocations: 8 kB / 0.8039 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.2436, allocations: 172.6 kB / 0.8041 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.2443, allocations: 101.5 kB / 0.8042 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2458, allocations: 0.8926 MB / 0.8051 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.2462, allocations: 0.8627 MB / 0.8059 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.2464, allocations: 60.23 kB / 0.806 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2465, allocations: 47.42 kB / 0.806 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.2465, allocations: 0 / 0.806 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of Templates: time 0.009326/0.2559, allocations: 5.104 MB / 0.811 GB, free: 0.5938 MB / 0.6231 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)