Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 182.1 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 0.5783 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009223/0.0009219, allocations: 101.1 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 11.75 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2435, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002751/0.2462, allocations: 2.722 MB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.2478, allocations: 1.054 MB / 0.9045 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.2481, allocations: 15.94 kB / 0.9045 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.2483, allocations: 75.25 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.2484, allocations: 51.52 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.2488, allocations: 135.8 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.2492, allocations: 0.5984 MB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.2494, allocations: 222.3 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.2496, allocations: 139.1 kB / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2497, allocations: 178.8 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.2498, allocations: 12 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.368e-05/0.2498, allocations: 16 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.2499, allocations: 75.5 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.25, allocations: 113.4 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.2504, allocations: 0.6587 MB / 0.9067 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2504, allocations: 0 / 0.9067 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2504, allocations: 0 / 0.9067 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.2504, allocations: 0 / 0.9067 GB, free: 57.76 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001145/0.2516, allocations: 0.8103 MB / 0.9075 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2516, allocations: 8.031 kB / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.493e-05/0.2517, allocations: 71.16 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.2522, allocations: 449.8 kB / 0.908 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.2523, allocations: 33 kB / 0.9081 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.2523, allocations: 44 kB / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000808/0.2532, allocations: 0.5179 MB / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2532, allocations: 0 / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.2532, allocations: 20 kB / 0.9086 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2532, allocations: 20 kB / 0.9086 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.254, allocations: 411.7 kB / 0.909 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.2561, allocations: 2.038 MB / 0.911 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007925/0.2569, allocations: 395.6 kB / 0.9114 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.2572, allocations: 199.2 kB / 0.9116 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.2573, allocations: 8.219 kB / 0.9116 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2573, allocations: 38.8 kB / 0.9116 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.2573, allocations: 0 / 0.9116 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001034/0.2583, allocations: 485.1 kB / 0.9121 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2584, allocations: 106.8 kB / 0.9122 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.2589, allocations: 0.4942 MB / 0.9127 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.2589, allocations: 33.7 kB / 0.9127 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.2591, allocations: 283.8 kB / 0.913 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.2591, allocations: 98.72 kB / 0.9131 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.2591, allocations: 4 kB / 0.9131 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.2592, allocations: 366.8 kB / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.2595, allocations: 144.6 kB / 0.9136 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.2599, allocations: 229.5 kB / 0.9138 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.2602, allocations: 167.8 kB / 0.914 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2602, allocations: 0 / 0.914 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007294/0.261, allocations: 448.6 kB / 0.9144 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.261, allocations: 116.5 kB / 0.9145 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2611, allocations: 4 kB / 0.9145 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2611, allocations: 0 / 0.9145 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.2614, allocations: 87.88 kB / 0.9146 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2614, allocations: 4 kB / 0.9146 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.2617, allocations: 75.5 kB / 0.9147 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.2617, allocations: 12 kB / 0.9147 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-06/0.2617, allocations: 4 kB / 0.9147 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004907/0.2622, allocations: 311.6 kB / 0.915 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.2622, allocations: 0 / 0.915 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/0.2622, allocations: 4 kB / 0.915 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.2625, allocations: 63.91 kB / 0.915 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.2625, allocations: 8.125 kB / 0.915 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2627, allocations: 59.56 kB / 0.9151 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2627, allocations: 8 kB / 0.9151 GB, free: 48.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0002073/0.263, allocations: 261 kB / 0.9154 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.263, allocations: 55.33 kB / 0.9154 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.2637, allocations: 390.4 kB / 0.9158 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2638, allocations: 4 kB / 0.9158 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2638, allocations: 0 / 0.9158 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2638, allocations: 3.984 kB / 0.9158 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.2642, allocations: 0.5088 MB / 0.9163 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2642, allocations: 0 / 0.9163 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.2645, allocations: 75.89 kB / 0.9164 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2645, allocations: 0 / 0.9164 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.2646, allocations: 15.94 kB / 0.9164 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2646, allocations: 4 kB / 0.9164 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2646, allocations: 48 / 0.9164 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009875/0.2656, allocations: 0.6327 MB / 0.917 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.2657, allocations: 136.4 kB / 0.9171 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.2657, allocations: 8 kB / 0.9171 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.266, allocations: 47.97 kB / 0.9172 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.266, allocations: 11.98 kB / 0.9172 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.2661, allocations: 11.98 kB / 0.9172 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000328/0.2664, allocations: 354.9 kB / 0.9175 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2664, allocations: 3.938 kB / 0.9175 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000407/0.2668, allocations: 147.4 kB / 0.9177 GB, free: 46.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001215/0.2669, allocations: 103.2 kB / 0.9178 GB, free: 46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009127/0.2679, allocations: 0.5007 MB / 0.9183 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2679, allocations: 384 / 0.9183 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.2682, allocations: 163.8 kB / 0.9184 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.2689, allocations: 113.5 kB / 0.9185 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2702, allocations: 1.006 MB / 0.9195 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2704, allocations: 0.8431 MB / 0.9203 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2705, allocations: 39.42 kB / 0.9204 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.403e-06/0.2705, allocations: 0 / 0.9204 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.007034/0.2776, allocations: 6.001 MB / 0.9262 GB, free: 37.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)