Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.4 MB / 303.4 MB, free: 8.191 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.001108/0.001109, allocations: 186 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008214/0.0008213, allocations: 101.1 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004065, allocations: 11.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002502/0.2548, allocations: 2.129 MB / 0.9817 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2565, allocations: 0.8666 MB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.2569, allocations: 7.938 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.2571, allocations: 43.58 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.2573, allocations: 35.66 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.2581, allocations: 223.4 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.2586, allocations: 0.5126 MB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.259, allocations: 197 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.2593, allocations: 143.3 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.2595, allocations: 151 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/0.2596, allocations: 16 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-05/0.2597, allocations: 27.98 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.2597, allocations: 63.69 kB / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.924e-05/0.2598, allocations: 97.45 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.2603, allocations: 0.5613 MB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2603, allocations: 0 / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2603, allocations: 0 / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.034e-05/0.2603, allocations: 4 kB / 0.9845 GB, free: 22.57 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001171/0.2615, allocations: 0.6956 MB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2616, allocations: 15.97 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2617, allocations: 51.44 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.2622, allocations: 398.9 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.2623, allocations: 29 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.2623, allocations: 48 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.263, allocations: 430.2 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.2631, allocations: 3.938 kB / 0.9861 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.2631, allocations: 16 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2631, allocations: 8 kB / 0.9862 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/0.2637, allocations: 315.9 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.2656, allocations: 1.44 MB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.2662, allocations: 258.9 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.2664, allocations: 128.9 kB / 0.9882 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.2665, allocations: 7.938 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.2668, allocations: 202.7 kB / 0.9884 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/0.2668, allocations: 0 / 0.9884 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0006775/0.2675, allocations: 344.9 kB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.2676, allocations: 132.5 kB / 0.9889 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.268, allocations: 417.6 kB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2681, allocations: 37.7 kB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.2682, allocations: 244 kB / 0.9896 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.2683, allocations: 82.8 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.2683, allocations: 8 kB / 0.9896 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.2684, allocations: 346.8 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.2687, allocations: 124 kB / 0.9901 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.2689, allocations: 192.6 kB / 0.9903 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.2692, allocations: 169.9 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2692, allocations: 0 / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006486/0.2699, allocations: 419.9 kB / 0.9908 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/0.27, allocations: 158.4 kB / 0.991 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.27, allocations: 0 / 0.991 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.27, allocations: 7.984 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.2703, allocations: 59.91 kB / 0.9911 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2703, allocations: 4 kB / 0.9911 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.2707, allocations: 89.2 kB / 0.9911 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.2707, allocations: 19.98 kB / 0.9912 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.2707, allocations: 4 kB / 0.9912 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005281/0.2713, allocations: 357.3 kB / 0.9915 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.2713, allocations: 4 kB / 0.9915 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/0.2713, allocations: 0 / 0.9915 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.2715, allocations: 55.91 kB / 0.9916 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2715, allocations: 7.938 kB / 0.9916 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.2718, allocations: 91.56 kB / 0.9917 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.2719, allocations: 15.98 kB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.000222/0.2721, allocations: 241.1 kB / 0.9919 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.2722, allocations: 43.56 kB / 0.9919 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.2727, allocations: 305.7 kB / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2727, allocations: 0 / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2727, allocations: 0 / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2727, allocations: 7.953 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.2736, allocations: 0.7912 MB / 0.993 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2736, allocations: 0 / 0.993 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.2738, allocations: 43.92 kB / 0.9931 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2738, allocations: 0 / 0.9931 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.2738, allocations: 11.98 kB / 0.9931 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2738, allocations: 3.953 kB / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2738, allocations: 0 / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.2745, allocations: 495 kB / 0.9935 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.2746, allocations: 128.5 kB / 0.9937 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.2746, allocations: 8 kB / 0.9937 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.2748, allocations: 28.55 kB / 0.9937 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.2749, allocations: 19.92 kB / 0.9937 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2749, allocations: 12 kB / 0.9937 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002483/0.2752, allocations: 291.1 kB / 0.994 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2752, allocations: 0 / 0.994 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005068/0.2757, allocations: 159.5 kB / 0.9942 GB, free: 12.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001562/0.2759, allocations: 109.2 kB / 0.9943 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000868/0.2767, allocations: 0.578 MB / 0.9948 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2767, allocations: 0 / 0.9948 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.277, allocations: 128.3 kB / 0.995 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.2774, allocations: 66.28 kB / 0.995 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2785, allocations: 0.7859 MB / 0.9958 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.2788, allocations: 0.8118 MB / 0.9966 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.2789, allocations: 43.27 kB / 0.9966 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.279, allocations: 35.42 kB / 0.9967 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of SimCode: time 7.42e-07/0.279, allocations: 0 / 0.9967 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of Templates: time 0.008563/0.2876, allocations: 4.388 MB / 1.001 GB, free: 5.27 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)