Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001308/0.001308, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.97/1.97, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005629/0.0005629, allocations: 14.97 kB / 0.6737 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3108, allocations: 116.3 MB / 0.7873 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002867/0.3137, allocations: 2.133 MB / 0.7894 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3154, allocations: 0.8627 MB / 0.7902 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.3157, allocations: 11.94 kB / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.3159, allocations: 35.58 kB / 0.7902 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.316, allocations: 39.66 kB / 0.7903 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.3167, allocations: 227.2 kB / 0.7905 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.3172, allocations: 0.5165 MB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.3176, allocations: 201 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3178, allocations: 139.3 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.318, allocations: 155 kB / 0.7915 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.318, allocations: 16 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.3181, allocations: 27.98 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.3182, allocations: 55.7 kB / 0.7916 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.3183, allocations: 105.5 kB / 0.7917 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.3188, allocations: 0.5573 MB / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3188, allocations: 4 kB / 0.7922 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3188, allocations: 0 / 0.7922 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3188, allocations: 0 / 0.7922 GB, free: 6.898 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001103/0.3199, allocations: 0.7072 MB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.32, allocations: 8.031 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.3201, allocations: 51.44 kB / 0.793 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.3206, allocations: 395 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.3207, allocations: 37 kB / 0.7934 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.3208, allocations: 40 kB / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.3216, allocations: 430.1 kB / 0.7938 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3216, allocations: 0 / 0.7938 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.3216, allocations: 23.98 kB / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.3216, allocations: 12 kB / 0.7939 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.3223, allocations: 311.9 kB / 0.7942 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.3243, allocations: 1.444 MB / 0.7956 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.3249, allocations: 258.8 kB / 0.7958 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3252, allocations: 120.8 kB / 0.7959 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3252, allocations: 0 / 0.7959 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.3256, allocations: 206.1 kB / 0.7961 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.3256, allocations: 0 / 0.7961 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007385/0.3264, allocations: 352.9 kB / 0.7965 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.3265, allocations: 128.5 kB / 0.7966 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.3269, allocations: 413.7 kB / 0.797 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.327, allocations: 37.64 kB / 0.797 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.3272, allocations: 244 kB / 0.7973 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.3273, allocations: 90.73 kB / 0.7973 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.3273, allocations: 8 kB / 0.7973 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3274, allocations: 350.8 kB / 0.7977 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.3277, allocations: 120.3 kB / 0.7978 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.328, allocations: 196.5 kB / 0.798 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.3283, allocations: 162.5 kB / 0.7981 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3283, allocations: 0 / 0.7981 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007373/0.3291, allocations: 421.2 kB / 0.7985 GB, free: 116 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.3292, allocations: 162.2 kB / 0.7987 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3292, allocations: 0 / 0.7987 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3292, allocations: 7.984 kB / 0.7987 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.3295, allocations: 59.94 kB / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3295, allocations: 0 / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.3299, allocations: 91.48 kB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3299, allocations: 12 kB / 0.7989 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.3299, allocations: 4 kB / 0.7989 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005769/0.3305, allocations: 357.3 kB / 0.7992 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.3305, allocations: 0 / 0.7992 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.3305, allocations: 4 kB / 0.7992 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.3307, allocations: 59.91 kB / 0.7993 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.3308, allocations: 4.125 kB / 0.7993 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.3311, allocations: 86.62 kB / 0.7994 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.3311, allocations: 15.98 kB / 0.7994 GB, free: 15.24 MB / 0.6231 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.0002339/0.3313, allocations: 253 kB / 0.7996 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.3314, allocations: 35.53 kB / 0.7996 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.332, allocations: 305.1 kB / 0.7999 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.332, allocations: 4 kB / 0.7999 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.332, allocations: 4 kB / 0.7999 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.332, allocations: 3.953 kB / 0.7999 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.333, allocations: 0.7766 MB / 0.8007 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.333, allocations: 4 kB / 0.8007 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.3332, allocations: 43.92 kB / 0.8007 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3332, allocations: 8 kB / 0.8008 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.3332, allocations: 7.984 kB / 0.8008 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.3332, allocations: 7.953 kB / 0.8008 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3333, allocations: 0 / 0.8008 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007383/0.334, allocations: 0.4951 MB / 0.8013 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.3341, allocations: 124.6 kB / 0.8014 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.3341, allocations: 4 kB / 0.8014 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3343, allocations: 23.92 kB / 0.8014 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.3344, allocations: 23.92 kB / 0.8014 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.3344, allocations: 8 kB / 0.8014 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002896/0.3347, allocations: 295.2 kB / 0.8017 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3347, allocations: 4.062 kB / 0.8017 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005095/0.3352, allocations: 155.5 kB / 0.8019 GB, free: 12.57 MB / 0.6231 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.0001751/0.3354, allocations: 115.2 kB / 0.802 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009355/0.3364, allocations: 0.5807 MB / 0.8025 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3364, allocations: 0 / 0.8025 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.3366, allocations: 115.9 kB / 0.8027 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.3371, allocations: 57.53 kB / 0.8027 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3383, allocations: 0.7868 MB / 0.8035 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3387, allocations: 0.8118 MB / 0.8043 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.3388, allocations: 47.27 kB / 0.8043 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.3389, allocations: 39.42 kB / 0.8044 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3389, allocations: 0 / 0.8044 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of Templates: time 0.008742/0.3477, allocations: 4.403 MB / 0.8087 GB, free: 5.59 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1) Environment - environmentSimulation: