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.786/1.786, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001142/0.001142, allocations: 182 kB / 371.8 MB, free: 10.28 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.94/1.94, allocations: 205.4 MB / 0.6306 GB, free: 9.91 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.001069/0.001069, allocations: 86.86 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004397, allocations: 10.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2927, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002747/0.2955, allocations: 2.133 MB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2968, allocations: 0.851 MB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.297, allocations: 11.94 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.593e-05/0.297, allocations: 27.66 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.2973, allocations: 63.78 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.2978, allocations: 230.3 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.2982, allocations: 329.4 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.2985, allocations: 197 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.2986, allocations: 139.4 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.2988, allocations: 151.1 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.2989, allocations: 16 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.2989, allocations: 31.98 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.299, allocations: 59.69 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.72e-05/0.2991, allocations: 97.45 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.2995, allocations: 0.5535 MB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2995, allocations: 0 / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2995, allocations: 4 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.2995, allocations: 0 / 0.9842 GB, free: 22.8 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.001023/0.3005, allocations: 0.715 MB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3006, allocations: 8.031 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3007, allocations: 51.44 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.3012, allocations: 387 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.3013, allocations: 40.88 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.3013, allocations: 40 kB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.302, allocations: 438.1 kB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.302, allocations: 0 / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.302, allocations: 16 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3021, allocations: 12 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.3026, allocations: 315.9 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.3044, allocations: 1.44 MB / 0.9875 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.305, allocations: 259.5 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.3051, allocations: 4 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.3054, allocations: 192.2 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.3055, allocations: 0 / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0006997/0.3062, allocations: 353.5 kB / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.3062, allocations: 132.5 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.3066, allocations: 421.6 kB / 0.9888 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.3067, allocations: 33.7 kB / 0.9889 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3068, allocations: 240 kB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.3069, allocations: 86.81 kB / 0.9892 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.3069, allocations: 4 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.307, allocations: 346.8 kB / 0.9895 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.3072, allocations: 132 kB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.3075, allocations: 192.6 kB / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.3078, allocations: 165.9 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3078, allocations: 0 / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006916/0.3085, allocations: 423.8 kB / 0.9904 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.3087, allocations: 485 kB / 0.9908 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3087, allocations: 4 kB / 0.9908 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3087, allocations: 3.953 kB / 0.9909 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.3089, allocations: 59.91 kB / 0.9909 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.309, allocations: 15.92 kB / 0.9909 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.3093, allocations: 86.23 kB / 0.991 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.3094, allocations: 16 kB / 0.991 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.3094, allocations: 8 kB / 0.991 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005298/0.3099, allocations: 357.3 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.31, allocations: 0 / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-06/0.31, allocations: 4 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.3102, allocations: 51.91 kB / 0.9914 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3102, allocations: 4 kB / 0.9914 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.3105, allocations: 83.72 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.3105, allocations: 15.98 kB / 0.9915 GB, free: 14.92 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.0002223/0.3108, allocations: 257 kB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.3108, allocations: 43.47 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/0.3114, allocations: 297.6 kB / 0.9921 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3114, allocations: 0 / 0.9921 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3114, allocations: 11.98 kB / 0.9921 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3114, allocations: 0 / 0.9921 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.3122, allocations: 0.7873 MB / 0.9929 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3122, allocations: 0 / 0.9929 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.3124, allocations: 51.91 kB / 0.9929 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3124, allocations: 0 / 0.9929 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.3125, allocations: 11.98 kB / 0.9929 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3125, allocations: 4 kB / 0.9929 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3125, allocations: 0 / 0.9929 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.3131, allocations: 494.9 kB / 0.9934 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.3132, allocations: 124.5 kB / 0.9935 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.3133, allocations: 12.06 kB / 0.9935 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3135, allocations: 23.92 kB / 0.9936 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.3135, allocations: 15.97 kB / 0.9936 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3136, allocations: 12 kB / 0.9936 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002388/0.3138, allocations: 287.2 kB / 0.9939 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3138, allocations: 0 / 0.9939 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004665/0.3143, allocations: 159.5 kB / 0.994 GB, free: 12.25 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.0001864/0.3145, allocations: 111.2 kB / 0.9941 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008984/0.3154, allocations: 0.5779 MB / 0.9947 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3154, allocations: 8.438 kB / 0.9947 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.3156, allocations: 123.9 kB / 0.9948 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.316, allocations: 61.48 kB / 0.9949 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3171, allocations: 0.7859 MB / 0.9956 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3174, allocations: 0.8195 MB / 0.9964 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.3176, allocations: 43.27 kB / 0.9965 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.3177, allocations: 35.42 kB / 0.9965 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.3177, allocations: 7.938 kB / 0.9965 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of Templates: time 0.008043/0.3257, allocations: 4.38 MB / 1.001 GB, free: 5.277 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)