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.415/1.415, allocations: 252 MB / 268 MB, free: 10.85 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.001078/0.001078, allocations: 171.8 kB / 327.6 MB, free: 2.082 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.055/2.055, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008777/0.0008778, allocations: 85.48 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 12.02 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 106.3 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003414/0.2801, allocations: 2.89 MB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.2817, allocations: 1.077 MB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.282, allocations: 8 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.2823, allocations: 87.23 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.2824, allocations: 63.52 kB / 0.9055 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2828, allocations: 227.8 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.2833, allocations: 0.6255 MB / 0.9063 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.2838, allocations: 316.5 kB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.2839, allocations: 151 kB / 0.9067 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2841, allocations: 174.7 kB / 0.9069 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.2842, allocations: 12 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.2842, allocations: 16 kB / 0.9069 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.2843, allocations: 91.42 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.2844, allocations: 236.1 kB / 0.9073 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.2849, allocations: 0.6626 MB / 0.9079 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2849, allocations: 0 / 0.9079 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2849, allocations: 0 / 0.9079 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.2849, allocations: 0 / 0.9079 GB, free: 56.68 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.001157/0.2861, allocations: 0.8065 MB / 0.9087 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2861, allocations: 12.02 kB / 0.9087 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.651e-05/0.2862, allocations: 68.09 kB / 0.9088 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.2868, allocations: 458.8 kB / 0.9092 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.2868, allocations: 37.38 kB / 0.9092 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.2869, allocations: 44.38 kB / 0.9093 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.2876, allocations: 0.5221 MB / 0.9098 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2877, allocations: 4 kB / 0.9098 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.2877, allocations: 23.98 kB / 0.9098 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2877, allocations: 12 kB / 0.9098 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.2885, allocations: 419.7 kB / 0.9102 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.2906, allocations: 2.037 MB / 0.9122 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/0.2913, allocations: 399.5 kB / 0.9126 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.2917, allocations: 196.3 kB / 0.9128 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2917, allocations: 4.312 kB / 0.9128 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2918, allocations: 38.8 kB / 0.9128 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.273e-06/0.2918, allocations: 0 / 0.9128 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.0009666/0.2927, allocations: 493.1 kB / 0.9133 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2928, allocations: 106.8 kB / 0.9134 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.2933, allocations: 0.502 MB / 0.9139 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2933, allocations: 33.7 kB / 0.9139 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.2935, allocations: 283.8 kB / 0.9142 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.2936, allocations: 90.66 kB / 0.9143 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.2936, allocations: 12 kB / 0.9143 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2937, allocations: 358.8 kB / 0.9146 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.294, allocations: 152.6 kB / 0.9148 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.2944, allocations: 221.6 kB / 0.915 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.295, allocations: 359.9 kB / 0.9153 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.295, allocations: 3.938 kB / 0.9153 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007347/0.2958, allocations: 444.7 kB / 0.9158 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/0.2959, allocations: 116.5 kB / 0.9159 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2959, allocations: 4 kB / 0.9159 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2959, allocations: 4.047 kB / 0.9159 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.2962, allocations: 91.86 kB / 0.916 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2962, allocations: 3.938 kB / 0.916 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.2965, allocations: 75.5 kB / 0.916 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.2965, allocations: 11.94 kB / 0.9161 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.2966, allocations: 8 kB / 0.9161 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005059/0.2971, allocations: 303.5 kB / 0.9163 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2971, allocations: 12.06 kB / 0.9164 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-06/0.2971, allocations: 3.938 kB / 0.9164 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.2973, allocations: 71.91 kB / 0.9164 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.2974, allocations: 4 kB / 0.9164 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2976, allocations: 59.5 kB / 0.9165 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.2976, allocations: 16 kB / 0.9165 GB, free: 47.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.2978, allocations: 253.7 kB / 0.9168 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.2979, allocations: 51.38 kB / 0.9168 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007196/0.2986, allocations: 382.5 kB / 0.9172 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2986, allocations: 4 kB / 0.9172 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2986, allocations: 0 / 0.9172 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2986, allocations: 4 kB / 0.9172 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.2991, allocations: 0.5204 MB / 0.9177 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2991, allocations: 0 / 0.9177 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.2994, allocations: 71.89 kB / 0.9177 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2994, allocations: 4 kB / 0.9178 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.2994, allocations: 11.98 kB / 0.9178 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2994, allocations: 0 / 0.9178 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2994, allocations: 0 / 0.9178 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.3004, allocations: 0.6404 MB / 0.9184 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.3005, allocations: 132.4 kB / 0.9185 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.3005, allocations: 8 kB / 0.9185 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.3008, allocations: 40.03 kB / 0.9186 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.3009, allocations: 19.97 kB / 0.9186 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3009, allocations: 4 kB / 0.9186 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003287/0.3012, allocations: 362.9 kB / 0.9189 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3012, allocations: 0 / 0.9189 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004142/0.3016, allocations: 151.4 kB / 0.9191 GB, free: 44.77 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 (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.0001304/0.3018, allocations: 107.2 kB / 0.9192 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009143/0.3027, allocations: 0.5004 MB / 0.9197 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3027, allocations: 4 kB / 0.9197 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.303, allocations: 163.9 kB / 0.9198 GB, free: 44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.3037, allocations: 113 kB / 0.9199 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.305, allocations: 1.072 MB / 0.921 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3053, allocations: 0.8431 MB / 0.9218 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.3055, allocations: 35.44 kB / 0.9218 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of SimCode: time 4.8e-07/0.3055, allocations: 0 / 0.9218 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.006855/0.3123, allocations: 5.984 MB / 0.9277 GB, free: 35.92 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)