Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.794/2.794, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001579/0.001579, allocations: 173 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001121/0.001121, allocations: 92.31 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005143, allocations: 15.94 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003857/0.2443, allocations: 2.693 MB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2464, allocations: 0.7766 MB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004554/0.247, allocations: 15.94 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.2471, allocations: 39.52 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.2476, allocations: 103.6 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.2482, allocations: 159.8 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.2488, allocations: 409.8 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.2493, allocations: 272.7 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.2496, allocations: 159.1 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.2499, allocations: 194.8 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.2499, allocations: 16 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.829e-05/0.25, allocations: 16 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.2501, allocations: 75.61 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.2502, allocations: 125.3 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008347/0.2511, allocations: 0.7405 MB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.2511, allocations: 0 / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2511, allocations: 4 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.2511, allocations: 0 / 0.9838 GB, free: 22.59 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.00206/0.2532, allocations: 0.8728 MB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2532, allocations: 12.02 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2534, allocations: 71.16 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008691/0.2543, allocations: 481.9 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.2544, allocations: 37.31 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2545, allocations: 63.98 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.256, allocations: 0.5459 MB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.2561, allocations: 7.875 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/0.2562, allocations: 24 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.2562, allocations: 12 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.2577, allocations: 451.8 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.2615, allocations: 1.877 MB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.264, allocations: 0.5615 MB / 0.9887 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.2641, allocations: 7.984 kB / 0.9887 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2642, allocations: 38.56 kB / 0.9887 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.936e-06/0.2642, allocations: 0 / 0.9887 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001946/0.2661, allocations: 0.5285 MB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.2662, allocations: 106.8 kB / 0.9894 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/0.2671, allocations: 0.5146 MB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.2672, allocations: 33.7 kB / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.2674, allocations: 308.1 kB / 0.9902 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.2676, allocations: 110.9 kB / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.2676, allocations: 11.94 kB / 0.9903 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2677, allocations: 358.8 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/0.2684, allocations: 164.7 kB / 0.9908 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006828/0.2691, allocations: 261.4 kB / 0.9911 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.2697, allocations: 183.7 kB / 0.9912 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2698, allocations: 0 / 0.9912 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001631/0.2714, allocations: 488.4 kB / 0.9917 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.2716, allocations: 0.6992 MB / 0.9924 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2717, allocations: 4 kB / 0.9924 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.2717, allocations: 4 kB / 0.9924 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.2724, allocations: 95.81 kB / 0.9925 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.2724, allocations: 4 kB / 0.9925 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/0.2731, allocations: 91.39 kB / 0.9926 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.2731, allocations: 24 kB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2732, allocations: 4 kB / 0.9926 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/0.2742, allocations: 343.5 kB / 0.9929 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2743, allocations: 4 kB / 0.9929 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.2743, allocations: 4 kB / 0.9929 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.2749, allocations: 76.11 kB / 0.993 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2749, allocations: 4 kB / 0.993 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.2754, allocations: 71.52 kB / 0.9931 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.2755, allocations: 16 kB / 0.9931 GB, free: 12.73 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.0003941/0.2759, allocations: 272.9 kB / 0.9933 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.276, allocations: 55.33 kB / 0.9934 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.2774, allocations: 425.5 kB / 0.9938 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.2774, allocations: 8 kB / 0.9938 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2774, allocations: 3.984 kB / 0.9938 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.2775, allocations: 7.938 kB / 0.9938 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.2782, allocations: 0.5557 MB / 0.9944 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2783, allocations: 0 / 0.9944 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.2789, allocations: 71.89 kB / 0.9944 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.2789, allocations: 4 kB / 0.9944 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.279, allocations: 12 kB / 0.9945 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.279, allocations: 0 / 0.9945 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.279, allocations: 7.984 kB / 0.9945 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.2809, allocations: 0.6936 MB / 0.9951 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.2811, allocations: 132.4 kB / 0.9953 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.2812, allocations: 12 kB / 0.9953 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.2817, allocations: 48.02 kB / 0.9953 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.2818, allocations: 19.97 kB / 0.9953 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.2819, allocations: 15.98 kB / 0.9954 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005611/0.2824, allocations: 358.9 kB / 0.9957 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2824, allocations: 3.938 kB / 0.9957 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008064/0.2832, allocations: 183.3 kB / 0.9959 GB, free: 9.777 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.0001544/0.2834, allocations: 107.1 kB / 0.996 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.2852, allocations: 0.5543 MB / 0.9965 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2852, allocations: 0 / 0.9965 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000597/0.2858, allocations: 196.7 kB / 0.9967 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/0.2867, allocations: 87.56 kB / 0.9968 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.2887, allocations: 1.062 MB / 0.9978 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.2891, allocations: 0.8744 MB / 0.9987 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004058/0.2895, allocations: 60.23 kB / 0.9987 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.2897, allocations: 43.42 kB / 0.9988 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2897, allocations: 0 / 0.9988 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of Templates: time 0.01384/0.3035, allocations: 4.559 MB / 1.003 GB, free: 2.219 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)