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.001128/0.001128, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 187.8 kB / 16.64 MB, free: 6.594 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.299/1.299, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.687/1.687, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001438/0.001439, allocations: 72.8 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2278, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.004094/0.232, allocations: 2.583 MB / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2338, allocations: 0.9326 MB / 0.7876 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.2342, allocations: 11.94 kB / 0.7876 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.2345, allocations: 59.27 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.2347, allocations: 63.39 kB / 0.7877 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.2356, allocations: 326.6 kB / 0.788 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006628/0.2363, allocations: 0.6024 MB / 0.7886 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004369/0.2367, allocations: 295.7 kB / 0.7889 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.2369, allocations: 211.3 kB / 0.7891 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.2372, allocations: 238.8 kB / 0.7893 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.2373, allocations: 68 kB / 0.7894 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.2374, allocations: 79.98 kB / 0.7894 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.2375, allocations: 131.5 kB / 0.7896 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.2377, allocations: 250.8 kB / 0.7898 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.2383, allocations: 0.7436 MB / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2383, allocations: 0 / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2383, allocations: 0 / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.2384, allocations: 4 kB / 0.7905 GB, free: 6.168 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.001194/0.2396, allocations: 0.7813 MB / 0.7913 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2396, allocations: 12.03 kB / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.2397, allocations: 52.38 kB / 0.7914 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.2403, allocations: 404.3 kB / 0.7917 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.2403, allocations: 33.38 kB / 0.7918 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.2404, allocations: 52.31 kB / 0.7918 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.2411, allocations: 438.7 kB / 0.7922 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2411, allocations: 3.938 kB / 0.7923 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.2412, allocations: 16 kB / 0.7923 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2412, allocations: 8 kB / 0.7923 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.2418, allocations: 315.9 kB / 0.7926 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.2438, allocations: 1.405 MB / 0.7939 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.2444, allocations: 262.8 kB / 0.7942 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.2446, allocations: 128.9 kB / 0.7943 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.2447, allocations: 11.97 kB / 0.7943 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.245, allocations: 198.6 kB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.244e-06/0.245, allocations: 4 kB / 0.7945 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007078/0.2457, allocations: 336.9 kB / 0.7948 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.2458, allocations: 132.5 kB / 0.795 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.2462, allocations: 425.6 kB / 0.7954 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.2463, allocations: 33.7 kB / 0.7954 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.2464, allocations: 240 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.2465, allocations: 86.8 kB / 0.7957 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2466, allocations: 73.69 kB / 0.7958 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2468, allocations: 350.8 kB / 0.7961 GB, free: 160 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.247, allocations: 129.1 kB / 0.7963 GB, free: 28 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.2474, allocations: 192.5 kB / 0.7964 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.2479, allocations: 296.1 kB / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2479, allocations: 0 / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007295/0.2486, allocations: 415.9 kB / 0.7971 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.2487, allocations: 45.75 kB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2487, allocations: 4 kB / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2487, allocations: 4 kB / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.249, allocations: 59.84 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.249, allocations: 3.938 kB / 0.7972 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.2493, allocations: 75.48 kB / 0.7973 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.2494, allocations: 15.98 kB / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003275/0.2497, allocations: 240.4 kB / 0.7975 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002616/0.25, allocations: 192.6 kB / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003836/0.2504, allocations: 277.6 kB / 0.798 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.2504, allocations: 4 kB / 0.798 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006271/0.251, allocations: 410.5 kB / 0.7984 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.2511, allocations: 33.7 kB / 0.7984 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2511, allocations: 3.938 kB / 0.7984 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.2511, allocations: 4 kB / 0.7984 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2513, allocations: 60.03 kB / 0.7985 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2513, allocations: 4 kB / 0.7985 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.2517, allocations: 63.69 kB / 0.7985 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.2517, allocations: 15.94 kB / 0.7986 GB, free: 13.52 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,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.00013/0.2518, allocations: 196.5 kB / 0.7988 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.2519, allocations: 43.47 kB / 0.7988 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.2525, allocations: 317 kB / 0.7991 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2525, allocations: 4 kB / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2525, allocations: 0 / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2525, allocations: 0 / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000917/0.2534, allocations: 0.7754 MB / 0.7999 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2535, allocations: 4 kB / 0.7999 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.2537, allocations: 47.91 kB / 0.7999 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2537, allocations: 0 / 0.7999 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2537, allocations: 8 kB / 0.7999 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2537, allocations: 0 / 0.7999 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2537, allocations: 0 / 0.7999 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.2545, allocations: 0.4954 MB / 0.8004 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.2546, allocations: 124.5 kB / 0.8005 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.2546, allocations: 8 kB / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2548, allocations: 19.98 kB / 0.8005 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.2549, allocations: 15.98 kB / 0.8006 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.2549, allocations: 11.98 kB / 0.8006 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002812/0.2552, allocations: 299.1 kB / 0.8009 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2552, allocations: 0 / 0.8009 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004912/0.2557, allocations: 159.6 kB / 0.801 GB, free: 10.92 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 (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.0001612/0.2559, allocations: 115.1 kB / 0.8011 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009098/0.2568, allocations: 0.5649 MB / 0.8017 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2568, allocations: 0.5 kB / 0.8017 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.257, allocations: 119.9 kB / 0.8018 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.2575, allocations: 72.2 kB / 0.8019 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2585, allocations: 0.6569 MB / 0.8025 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.2589, allocations: 0.8157 MB / 0.8033 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.259, allocations: 47.34 kB / 0.8033 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.2591, allocations: 35.42 kB / 0.8034 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2591, allocations: 0 / 0.8034 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of Templates: time 0.008412/0.2675, allocations: 4.838 MB / 0.8081 GB, free: 3.629 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)