Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.826/2.826, allocations: 287.3 MB / 302.3 MB, free: 8.195 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.00211/0.00211, allocations: 182.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 108.3 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004895, allocations: 15.5 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2394, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.003118/0.2426, allocations: 2.137 MB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2448, allocations: 0.8507 MB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003199/0.2452, allocations: 8 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.363e-05/0.2453, allocations: 35.64 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.2457, allocations: 63.78 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.2466, allocations: 236.2 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007353/0.2474, allocations: 325.4 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.2478, allocations: 201 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.2481, allocations: 139.3 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2483, allocations: 159.1 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.2484, allocations: 16 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2485, allocations: 24 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.2486, allocations: 67.67 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2487, allocations: 97.45 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.2493, allocations: 0.5535 MB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2493, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2493, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.2494, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 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.001571/0.2509, allocations: 0.7073 MB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.251, allocations: 8.031 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.2512, allocations: 51.44 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/0.2519, allocations: 398.9 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.252, allocations: 29 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2521, allocations: 44 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.2532, allocations: 434.2 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.2533, allocations: 0 / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.2534, allocations: 19.94 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.2534, allocations: 8 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/0.2544, allocations: 315.8 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.2574, allocations: 1.432 MB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/0.2584, allocations: 266.8 kB / 0.9865 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.2584, allocations: 8.062 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/0.259, allocations: 203.9 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 3.166e-06/0.259, allocations: 0 / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.001142/0.2601, allocations: 344.9 kB / 0.9871 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.2602, allocations: 136.5 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.2609, allocations: 417.6 kB / 0.9876 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.2609, allocations: 33.69 kB / 0.9876 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.2611, allocations: 240 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.113e-05/0.2612, allocations: 86.73 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.2613, allocations: 8 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.2614, allocations: 354.8 kB / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.2619, allocations: 124.3 kB / 0.9884 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.2624, allocations: 196.5 kB / 0.9886 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.2629, allocations: 161.8 kB / 0.9888 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2629, allocations: 0 / 0.9888 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001209/0.2641, allocations: 424 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.2643, allocations: 487 kB / 0.9896 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2643, allocations: 3.953 kB / 0.9896 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.2643, allocations: 4 kB / 0.9896 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.2648, allocations: 55.91 kB / 0.9897 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2648, allocations: 4 kB / 0.9897 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007068/0.2656, allocations: 89.36 kB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.2657, allocations: 19.98 kB / 0.9898 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2657, allocations: 0 / 0.9898 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009853/0.2667, allocations: 369.1 kB / 0.9901 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2667, allocations: 4 kB / 0.9901 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-06/0.2667, allocations: 0 / 0.9901 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.2672, allocations: 51.92 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2672, allocations: 7.984 kB / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.2679, allocations: 83.67 kB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.2679, allocations: 16 kB / 0.9903 GB, free: 15.61 MB / 0.6198 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.00033/0.2683, allocations: 245 kB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.2684, allocations: 43.52 kB / 0.9906 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/0.2693, allocations: 301.6 kB / 0.9909 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2694, allocations: 48 / 0.9909 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2694, allocations: 3.984 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.2694, allocations: 7.984 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.2709, allocations: 0.7873 MB / 0.9916 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2709, allocations: 3.938 kB / 0.9916 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.2713, allocations: 47.97 kB / 0.9917 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2713, allocations: 0 / 0.9917 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.2714, allocations: 8 kB / 0.9917 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2714, allocations: 0 / 0.9917 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2714, allocations: 0 / 0.9917 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.2726, allocations: 0.495 MB / 0.9922 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2727, allocations: 124.5 kB / 0.9923 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.2728, allocations: 8 kB / 0.9923 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.2732, allocations: 28.05 kB / 0.9923 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.2732, allocations: 15.97 kB / 0.9924 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.2733, allocations: 15.94 kB / 0.9924 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000462/0.2738, allocations: 287.2 kB / 0.9926 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2738, allocations: 0 / 0.9926 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007415/0.2745, allocations: 159.5 kB / 0.9928 GB, free: 12.94 MB / 0.6198 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.0001915/0.2747, allocations: 107.2 kB / 0.9929 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.2762, allocations: 0.5775 MB / 0.9935 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.2762, allocations: 0 / 0.9935 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.2766, allocations: 120.4 kB / 0.9936 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.2773, allocations: 76.05 kB / 0.9936 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2789, allocations: 0.7859 MB / 0.9944 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2792, allocations: 0.8157 MB / 0.9952 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003252/0.2796, allocations: 51.25 kB / 0.9953 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2797, allocations: 27.44 kB / 0.9953 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2797, allocations: 4 kB / 0.9953 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.0132/0.2929, allocations: 4.386 MB / 0.9996 GB, free: 5.969 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)