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.00084/0.0008397, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005964/0.005965, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.333/1.333, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.723/1.723, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005252/0.0005252, allocations: 16.91 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2249, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003485/0.2284, allocations: 2.822 MB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2302, allocations: 0.7959 MB / 0.7914 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.2307, allocations: 8 kB / 0.7914 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.231, allocations: 75.31 kB / 0.7915 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.2314, allocations: 59.52 kB / 0.7915 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.2319, allocations: 231.8 kB / 0.7918 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007953/0.2327, allocations: 0.6611 MB / 0.7924 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005944/0.2334, allocations: 397.7 kB / 0.7928 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.2336, allocations: 170.9 kB / 0.793 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.2339, allocations: 206.5 kB / 0.7931 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.234, allocations: 16 kB / 0.7932 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.2341, allocations: 16 kB / 0.7932 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.2341, allocations: 83.48 kB / 0.7933 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.2344, allocations: 268 kB / 0.7935 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.235, allocations: 0.8681 MB / 0.7944 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.235, allocations: 0 / 0.7944 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2351, allocations: 0 / 0.7944 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.459e-05/0.2351, allocations: 0 / 0.7944 GB, free: 4.918 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.001627/0.2367, allocations: 0.8691 MB / 0.7952 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2368, allocations: 8.031 kB / 0.7952 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.2369, allocations: 72.09 kB / 0.7953 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.2376, allocations: 495.1 kB / 0.7958 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.2377, allocations: 37.69 kB / 0.7958 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.2378, allocations: 52.38 kB / 0.7958 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.2389, allocations: 0.5621 MB / 0.7964 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.239, allocations: 3.938 kB / 0.7964 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.239, allocations: 24 kB / 0.7964 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.239, allocations: 12 kB / 0.7964 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.2401, allocations: 455.7 kB / 0.7969 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.2427, allocations: 1.88 MB / 0.7987 GB, free: 292 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.2442, allocations: 0.5648 MB / 0.7993 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.2446, allocations: 208.8 kB / 0.7995 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.2446, allocations: 7.984 kB / 0.7995 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2447, allocations: 38.56 kB / 0.7995 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.2447, allocations: 0 / 0.7995 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.001212/0.2459, allocations: 0.5366 MB / 0.8 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.246, allocations: 106.8 kB / 0.8001 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.2466, allocations: 0.5146 MB / 0.8006 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.2466, allocations: 41.64 kB / 0.8007 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.2469, allocations: 312 kB / 0.801 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.247, allocations: 106.9 kB / 0.8011 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.247, allocations: 41.7 kB / 0.8011 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2472, allocations: 362.8 kB / 0.8015 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.2476, allocations: 164.7 kB / 0.8016 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.248, allocations: 268.2 kB / 0.8019 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008038/0.2489, allocations: 390.5 kB / 0.8022 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2489, allocations: 0 / 0.8022 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009356/0.2498, allocations: 487.9 kB / 0.8027 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.2499, allocations: 143.2 kB / 0.8028 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2499, allocations: 7.984 kB / 0.8028 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.25, allocations: 4 kB / 0.8028 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.2503, allocations: 95.83 kB / 0.8029 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2503, allocations: 4 kB / 0.8029 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.2507, allocations: 87.48 kB / 0.803 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.2507, allocations: 15.98 kB / 0.803 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.2508, allocations: 4 kB / 0.803 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006221/0.2514, allocations: 343.5 kB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.2514, allocations: 4 kB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.2514, allocations: 4 kB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.2517, allocations: 72.12 kB / 0.8035 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2517, allocations: 7.938 kB / 0.8035 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.252, allocations: 67.56 kB / 0.8035 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.252, allocations: 19.98 kB / 0.8035 GB, free: 11.13 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.0002505/0.2523, allocations: 275.2 kB / 0.8038 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/0.2524, allocations: 51.41 kB / 0.8039 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008909/0.2533, allocations: 437.5 kB / 0.8043 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2533, allocations: 3.938 kB / 0.8043 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2533, allocations: 8 kB / 0.8043 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2533, allocations: 0 / 0.8043 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.2539, allocations: 0.5518 MB / 0.8048 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2539, allocations: 3.984 kB / 0.8048 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.2543, allocations: 75.89 kB / 0.8049 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2543, allocations: 0 / 0.8049 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.2543, allocations: 15.98 kB / 0.8049 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2543, allocations: 7.938 kB / 0.8049 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2543, allocations: 0 / 0.8049 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.2556, allocations: 0.6871 MB / 0.8056 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.2557, allocations: 136.4 kB / 0.8057 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.2557, allocations: 12 kB / 0.8057 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.256, allocations: 47.97 kB / 0.8058 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.2561, allocations: 27.89 kB / 0.8058 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2562, allocations: 12 kB / 0.8058 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004415/0.2566, allocations: 362.9 kB / 0.8062 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2566, allocations: 0 / 0.8062 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005803/0.2572, allocations: 179.3 kB / 0.8063 GB, free: 8.18 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.0001725/0.2574, allocations: 119.1 kB / 0.8064 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.2587, allocations: 0.5631 MB / 0.807 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2587, allocations: 0 / 0.807 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.2591, allocations: 192.2 kB / 0.8072 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.2598, allocations: 89.09 kB / 0.8073 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.2615, allocations: 1.147 MB / 0.8084 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.2619, allocations: 0.8588 MB / 0.8092 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002616/0.2622, allocations: 60.23 kB / 0.8093 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.2623, allocations: 39.42 kB / 0.8093 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.2623, allocations: 0 / 0.8093 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of Templates: time 0.0108/0.2731, allocations: 4.727 MB / 0.8139 GB, free: 380 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: