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.001263/0.001263, allocations: 102.2 kB / 16.36 MB, free: 5.961 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.001024/0.001024, allocations: 196.3 kB / 17.3 MB, free: 5.57 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.281/1.281, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.74/1.74, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001424/0.001424, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2038, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.004611/0.2085, allocations: 2.591 MB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3518/0.5603, allocations: 0.9133 MB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.5607, allocations: 10.31 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.561, allocations: 70.84 kB / 0.7883 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.5612, allocations: 62.44 kB / 0.7883 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.5618, allocations: 324.7 kB / 0.7886 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.5623, allocations: 0.5995 MB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.5626, allocations: 288 kB / 0.7895 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.5629, allocations: 219.9 kB / 0.7897 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.5631, allocations: 233.8 kB / 0.7899 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.5631, allocations: 68.41 kB / 0.79 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.5633, allocations: 82.27 kB / 0.7901 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.5633, allocations: 128 kB / 0.7902 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.5635, allocations: 263.3 kB / 0.7905 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.564, allocations: 0.7282 MB / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.564, allocations: 0 / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.564, allocations: 0 / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.5641, allocations: 0 / 0.7912 GB, free: 46.25 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.001014/0.5651, allocations: 0.7887 MB / 0.7919 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.5651, allocations: 10.5 kB / 0.7919 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.5652, allocations: 55.75 kB / 0.792 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.5657, allocations: 402 kB / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.5657, allocations: 32 kB / 0.7924 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.5658, allocations: 49.39 kB / 0.7925 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.5664, allocations: 429.9 kB / 0.7929 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5664, allocations: 6.75 kB / 0.7929 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.5664, allocations: 27.61 kB / 0.7929 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.5665, allocations: 10.44 kB / 0.7929 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/0.567, allocations: 309.1 kB / 0.7932 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.5687, allocations: 1.406 MB / 0.7946 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.5692, allocations: 259.9 kB / 0.7948 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.5694, allocations: 120.1 kB / 0.7949 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.5695, allocations: 10.2 kB / 0.795 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.5698, allocations: 201.8 kB / 0.7951 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.412e-06/0.5698, allocations: 0 / 0.7951 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.0006235/0.5704, allocations: 338.4 kB / 0.7955 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.5705, allocations: 132 kB / 0.7956 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.5709, allocations: 429 kB / 0.796 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.5709, allocations: 33.08 kB / 0.796 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.571, allocations: 238.1 kB / 0.7963 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.5711, allocations: 86.77 kB / 0.7963 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5712, allocations: 77.73 kB / 0.7964 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.5713, allocations: 348.8 kB / 0.7968 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.5715, allocations: 132 kB / 0.7969 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.5718, allocations: 200.5 kB / 0.7971 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.5722, allocations: 283 kB / 0.7973 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5722, allocations: 4 kB / 0.7973 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006585/0.5729, allocations: 423.1 kB / 0.7977 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.5729, allocations: 36.97 kB / 0.7978 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.573, allocations: 2.594 kB / 0.7978 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.573, allocations: 4.922 kB / 0.7978 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.5732, allocations: 58.14 kB / 0.7978 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.5732, allocations: 6.531 kB / 0.7979 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.5736, allocations: 70.92 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.5736, allocations: 19.62 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002858/0.5739, allocations: 237.3 kB / 0.7982 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002288/0.5741, allocations: 199.4 kB / 0.7984 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003424/0.5745, allocations: 286 kB / 0.7986 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.5745, allocations: 0 / 0.7986 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006328/0.5751, allocations: 404.3 kB / 0.799 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.5752, allocations: 37.75 kB / 0.799 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5752, allocations: 6.469 kB / 0.7991 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/0.5752, allocations: 2.469 kB / 0.7991 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.5754, allocations: 57.5 kB / 0.7991 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5754, allocations: 5.969 kB / 0.7991 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.5758, allocations: 68.78 kB / 0.7992 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.5758, allocations: 13.47 kB / 0.7992 GB, free: 42.43 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 0.0001311/0.576, allocations: 207.2 kB / 0.7994 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.576, allocations: 41.84 kB / 0.7994 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.5767, allocations: 292.7 kB / 0.7997 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5767, allocations: 8.875 kB / 0.7997 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5767, allocations: 3.188 kB / 0.7997 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5767, allocations: 1.125 kB / 0.7997 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5778, allocations: 0.7847 MB / 0.8005 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5778, allocations: 1.5 kB / 0.8005 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.5781, allocations: 50.22 kB / 0.8005 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5781, allocations: 0 / 0.8005 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.5781, allocations: 9.281 kB / 0.8006 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5781, allocations: 4 kB / 0.8006 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5781, allocations: 0.7188 kB / 0.8006 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.579, allocations: 495.9 kB / 0.801 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.5791, allocations: 128.1 kB / 0.8012 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.5791, allocations: 7.719 kB / 0.8012 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.5793, allocations: 18.09 kB / 0.8012 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.5794, allocations: 19.34 kB / 0.8012 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.5794, allocations: 11.97 kB / 0.8012 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003807/0.5798, allocations: 293.5 kB / 0.8015 GB, free: 41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5798, allocations: 0 / 0.8015 GB, free: 41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005658/0.5804, allocations: 160.8 kB / 0.8016 GB, free: 40.96 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.000198/0.5806, allocations: 107.3 kB / 0.8017 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.5817, allocations: 0.5718 MB / 0.8023 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5817, allocations: 1.25 kB / 0.8023 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.582, allocations: 119.8 kB / 0.8024 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.5825, allocations: 78.98 kB / 0.8025 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5837, allocations: 0.6517 MB / 0.8031 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.584, allocations: 0.8158 MB / 0.8039 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.5842, allocations: 47.52 kB / 0.804 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.502e-05/0.5843, allocations: 33.56 kB / 0.804 GB, free: 39.42 MB / 0.6544 GB Notification: Performance of SimCode: time 1.133e-06/0.5843, allocations: 0 / 0.804 GB, free: 39.42 MB / 0.6544 GB Notification: Performance of Templates: time 0.01452/0.5989, allocations: 4.848 MB / 0.8087 GB, free: 39.18 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)