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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.538/1.538, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001136/0.001137, allocations: 187.5 kB / 376.9 MB, free: 1.746 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.417/1.417, allocations: 205 MB / 0.6354 GB, free: 9.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008876/0.0008875, allocations: 102.7 kB / 0.748 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 47.91 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2476, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.004034/0.2517, allocations: 2.617 MB / 0.9848 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2535, allocations: 0.9092 MB / 0.9857 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.2538, allocations: 11.94 kB / 0.9857 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.2541, allocations: 47.58 kB / 0.9857 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.2544, allocations: 39.66 kB / 0.9858 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.2551, allocations: 283.7 kB / 0.986 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006063/0.2557, allocations: 0.5516 MB / 0.9866 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.2562, allocations: 275.7 kB / 0.9868 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.2565, allocations: 183.3 kB / 0.987 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.2567, allocations: 202.9 kB / 0.9872 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.39e-05/0.2568, allocations: 28 kB / 0.9872 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.2569, allocations: 43.98 kB / 0.9873 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.257, allocations: 91.55 kB / 0.9874 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.2572, allocations: 214.8 kB / 0.9876 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.2578, allocations: 0.6855 MB / 0.9882 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2578, allocations: 0 / 0.9882 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.82e-07/0.2578, allocations: 3.938 kB / 0.9882 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.2578, allocations: 4 kB / 0.9882 GB, free: 4.148 MB / 0.7136 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.001312/0.2592, allocations: 0.7892 MB / 0.989 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2592, allocations: 12.03 kB / 0.989 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2593, allocations: 56.28 kB / 0.9891 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.2598, allocations: 388.4 kB / 0.9895 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.2599, allocations: 33.38 kB / 0.9895 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.26, allocations: 52.36 kB / 0.9895 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.2606, allocations: 430.7 kB / 0.9899 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2606, allocations: 3.938 kB / 0.9899 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.2607, allocations: 16 kB / 0.99 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.2607, allocations: 12 kB / 0.99 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005483/0.2612, allocations: 315.9 kB / 0.9903 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.2631, allocations: 1.424 MB / 0.9917 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.2637, allocations: 260.9 kB / 0.9919 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.2639, allocations: 127.5 kB / 0.992 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.2639, allocations: 0 / 0.992 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.2643, allocations: 194.7 kB / 0.9922 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.2644, allocations: 0 / 0.9922 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.000683/0.265, allocations: 341.6 kB / 0.9925 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.2651, allocations: 136.5 kB / 0.9927 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.2655, allocations: 425.6 kB / 0.9931 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.2656, allocations: 29.7 kB / 0.9931 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.2657, allocations: 248 kB / 0.9933 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.2658, allocations: 74.83 kB / 0.9934 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.2659, allocations: 81.67 kB / 0.9935 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.266, allocations: 350.8 kB / 0.9938 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.2663, allocations: 125.1 kB / 0.994 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.2666, allocations: 196.6 kB / 0.9941 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.2671, allocations: 290.2 kB / 0.9944 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2671, allocations: 0 / 0.9944 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007151/0.2678, allocations: 424 kB / 0.9948 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.2679, allocations: 37.64 kB / 0.9949 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2679, allocations: 4 kB / 0.9949 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2679, allocations: 0 / 0.9949 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.2681, allocations: 59.91 kB / 0.9949 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2681, allocations: 8 kB / 0.9949 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.2685, allocations: 75.59 kB / 0.995 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.2685, allocations: 19.94 kB / 0.995 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003075/0.2689, allocations: 248.1 kB / 0.9953 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002487/0.2691, allocations: 197.2 kB / 0.9954 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003818/0.2695, allocations: 277.8 kB / 0.9957 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.2695, allocations: 0 / 0.9957 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006013/0.2701, allocations: 406.7 kB / 0.9961 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.2702, allocations: 41.69 kB / 0.9961 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2702, allocations: 7.938 kB / 0.9961 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.2702, allocations: 0 / 0.9961 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.2704, allocations: 55.91 kB / 0.9962 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.2704, allocations: 0 / 0.9962 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.2707, allocations: 63.7 kB / 0.9963 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.2708, allocations: 15.98 kB / 0.9963 GB, free: 11.51 MB / 0.7292 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.0001221/0.2709, allocations: 204.5 kB / 0.9965 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.2709, allocations: 39.47 kB / 0.9965 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/0.2715, allocations: 309.1 kB / 0.9968 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.2715, allocations: 3.938 kB / 0.9968 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2715, allocations: 4 kB / 0.9968 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2715, allocations: 4 kB / 0.9968 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.2724, allocations: 0.7717 MB / 0.9976 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2724, allocations: 4 kB / 0.9976 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.2726, allocations: 43.92 kB / 0.9976 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2726, allocations: 4 kB / 0.9976 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.2727, allocations: 7.984 kB / 0.9976 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2727, allocations: 0 / 0.9976 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2727, allocations: 8 kB / 0.9976 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.2754, allocations: 2.226 MB / 0.9998 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.2755, allocations: 124.6 kB / 0.9999 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.2755, allocations: 4 kB / 0.9999 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.2757, allocations: 15.98 kB / 0.9999 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.2758, allocations: 27.91 kB / 1 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2758, allocations: 4 kB / 1 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002667/0.2761, allocations: 299.2 kB / 1 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2761, allocations: 0 / 1 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000646/0.2767, allocations: 199.4 kB / 1 GB, free: 7 MB / 0.7292 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.0001522/0.2769, allocations: 111.2 kB / 1.001 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008548/0.2777, allocations: 0.573 MB / 1.001 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2777, allocations: 0 / 1.001 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.278, allocations: 128.3 kB / 1.001 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.2784, allocations: 61.53 kB / 1.001 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2797, allocations: 1.026 MB / 1.002 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.28, allocations: 0.8157 MB / 1.003 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.2802, allocations: 51.23 kB / 1.003 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.2803, allocations: 39.53 kB / 1.003 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.2803, allocations: 3.938 kB / 1.003 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of Templates: time 0.008281/0.2886, allocations: 4.932 MB / 1.008 GB, free: 15.2 MB / 0.7448 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)