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.00113/0.00113, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001116/0.001116, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.153/1.153, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.591/1.591, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.0013/0.0013, allocations: 71.89 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1689, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.003164/0.1721, allocations: 2.571 MB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1733, allocations: 0.9248 MB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1735, allocations: 11.94 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.1736, allocations: 63.27 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.1738, allocations: 67.33 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.2598/0.4336, allocations: 317.4 kB / 0.7879 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005776/0.4342, allocations: 0.6023 MB / 0.7885 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.4346, allocations: 293.4 kB / 0.7888 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.4348, allocations: 219.1 kB / 0.789 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.435, allocations: 239.2 kB / 0.7892 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.614e-05/0.4351, allocations: 69.12 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.4352, allocations: 80.67 kB / 0.7894 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.4353, allocations: 125.6 kB / 0.7895 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.4355, allocations: 253 kB / 0.7897 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.436, allocations: 0.7385 MB / 0.7905 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.436, allocations: 2.625 kB / 0.7905 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.303e-06/0.436, allocations: 0 / 0.7905 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.436, allocations: 0 / 0.7905 GB, free: 45.75 MB / 0.6544 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.0009758/0.437, allocations: 0.7823 MB / 0.7912 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.437, allocations: 9.688 kB / 0.7912 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.4371, allocations: 57.16 kB / 0.7913 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.4375, allocations: 404.5 kB / 0.7917 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.4375, allocations: 35.59 kB / 0.7917 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.4376, allocations: 45.06 kB / 0.7918 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.4381, allocations: 434.3 kB / 0.7922 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4382, allocations: 8.844 kB / 0.7922 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.4382, allocations: 17.83 kB / 0.7922 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4382, allocations: 7.875 kB / 0.7922 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.4387, allocations: 314.9 kB / 0.7925 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.4402, allocations: 1.405 MB / 0.7939 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.4406, allocations: 258.7 kB / 0.7941 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.4408, allocations: 126 kB / 0.7942 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.4409, allocations: 6.562 kB / 0.7942 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.4412, allocations: 200.2 kB / 0.7944 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.4412, allocations: 0 / 0.7944 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.0005553/0.4417, allocations: 340.1 kB / 0.7948 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.4418, allocations: 133.9 kB / 0.7949 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.4421, allocations: 425.9 kB / 0.7953 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.4421, allocations: 33.39 kB / 0.7953 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.4422, allocations: 237 kB / 0.7956 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.4423, allocations: 93.81 kB / 0.7956 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4424, allocations: 73 kB / 0.7957 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.4424, allocations: 351.3 kB / 0.7961 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.4427, allocations: 127.2 kB / 0.7962 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.4429, allocations: 205.7 kB / 0.7964 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.4433, allocations: 283.5 kB / 0.7966 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4433, allocations: 0 / 0.7966 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005713/0.4439, allocations: 422.8 kB / 0.797 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4439, allocations: 40.58 kB / 0.7971 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4439, allocations: 0 / 0.7971 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4439, allocations: 5.375 kB / 0.7971 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.4441, allocations: 53.83 kB / 0.7971 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4442, allocations: 7.5 kB / 0.7971 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.4445, allocations: 72.98 kB / 0.7972 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.4445, allocations: 15.41 kB / 0.7972 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002584/0.4448, allocations: 243 kB / 0.7975 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001963/0.445, allocations: 197.7 kB / 0.7976 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002988/0.4453, allocations: 281.9 kB / 0.7979 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.4453, allocations: 0 / 0.7979 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005058/0.4458, allocations: 403.5 kB / 0.7983 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4458, allocations: 36.23 kB / 0.7983 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.4458, allocations: 5.672 kB / 0.7983 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.4458, allocations: 2.656 kB / 0.7983 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.446, allocations: 58.41 kB / 0.7984 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.446, allocations: 12.33 kB / 0.7984 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.4463, allocations: 65.86 kB / 0.7985 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.4463, allocations: 18.72 kB / 0.7985 GB, free: 42.24 MB / 0.6544 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,uEna.y,$PRE.uEna.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.895e-05/0.4464, allocations: 197.5 kB / 0.7987 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.4465, allocations: 43.81 kB / 0.7987 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.4469, allocations: 301.9 kB / 0.799 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.447, allocations: 2.062 kB / 0.799 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.447, allocations: 2.578 kB / 0.799 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.447, allocations: 2.062 kB / 0.799 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.4477, allocations: 0.7789 MB / 0.7998 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4477, allocations: 4 kB / 0.7998 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.4479, allocations: 44.3 kB / 0.7998 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4479, allocations: 3.172 kB / 0.7998 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.4479, allocations: 6.531 kB / 0.7998 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4479, allocations: 3.391 kB / 0.7998 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4479, allocations: 0 / 0.7998 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.4485, allocations: 0.4919 MB / 0.8003 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.4486, allocations: 126.2 kB / 0.8004 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.4486, allocations: 9.141 kB / 0.8004 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.4488, allocations: 15.34 kB / 0.8005 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.4489, allocations: 20.67 kB / 0.8005 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.4489, allocations: 10.19 kB / 0.8005 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002375/0.4491, allocations: 293.2 kB / 0.8008 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4491, allocations: 0 / 0.8008 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004276/0.4496, allocations: 165.2 kB / 0.8009 GB, free: 40.77 MB / 0.6544 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 (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.0001034/0.4497, allocations: 122.8 kB / 0.801 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007385/0.4504, allocations: 0.5631 MB / 0.8016 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4504, allocations: 0 / 0.8016 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.4506, allocations: 122.8 kB / 0.8017 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.451, allocations: 70.38 kB / 0.8018 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.4519, allocations: 0.6512 MB / 0.8024 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.4521, allocations: 0.8169 MB / 0.8032 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000151/0.4522, allocations: 51.58 kB / 0.8033 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.4523, allocations: 31.97 kB / 0.8033 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.4523, allocations: 1.344 kB / 0.8033 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.6761/1.128, allocations: 4.843 MB / 0.808 GB, free: 39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)