Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.154/2.154, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001359/0.001359, allocations: 184.8 kB / 326.3 MB, free: 2.836 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.347/2.347, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001036/0.001036, allocations: 94.67 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004734, allocations: 16.16 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003875/0.223, allocations: 2.733 MB / 0.9022 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2252, allocations: 1.046 MB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/0.2256, allocations: 11.94 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.2259, allocations: 71.3 kB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.2261, allocations: 51.53 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.2266, allocations: 143.7 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.2273, allocations: 0.6138 MB / 0.904 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005473/0.2279, allocations: 326.2 kB / 0.9044 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.2281, allocations: 147.1 kB / 0.9045 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.2283, allocations: 170.8 kB / 0.9047 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.2284, allocations: 19.94 kB / 0.9047 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.834e-05/0.2285, allocations: 12 kB / 0.9047 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.2285, allocations: 71.58 kB / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.2286, allocations: 117.3 kB / 0.9049 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.2293, allocations: 0.6587 MB / 0.9055 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2293, allocations: 4 kB / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2293, allocations: 0 / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.2293, allocations: 0 / 0.9055 GB, free: 59.3 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.00181/0.2311, allocations: 0.8104 MB / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.2312, allocations: 8.031 kB / 0.9063 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2313, allocations: 68.09 kB / 0.9064 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.2321, allocations: 443.2 kB / 0.9068 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.2321, allocations: 37.38 kB / 0.9068 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.83e-05/0.2322, allocations: 44.38 kB / 0.9069 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2335, allocations: 0.5183 MB / 0.9074 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2336, allocations: 3.938 kB / 0.9074 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.2336, allocations: 16 kB / 0.9074 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.2337, allocations: 12 kB / 0.9074 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2351, allocations: 415.7 kB / 0.9078 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.2383, allocations: 2.045 MB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.2396, allocations: 388.6 kB / 0.9102 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000609/0.2402, allocations: 197.2 kB / 0.9104 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.2403, allocations: 12.3 kB / 0.9104 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.2403, allocations: 30.8 kB / 0.9104 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.615e-06/0.2403, allocations: 0 / 0.9104 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001724/0.2421, allocations: 491.8 kB / 0.9109 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2421, allocations: 106.8 kB / 0.911 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007386/0.2429, allocations: 0.5021 MB / 0.9115 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.2429, allocations: 33.7 kB / 0.9115 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2431, allocations: 279.8 kB / 0.9118 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.2432, allocations: 98.56 kB / 0.9119 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.2433, allocations: 4 kB / 0.9119 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2434, allocations: 358.8 kB / 0.9122 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.244, allocations: 148.6 kB / 0.9124 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006157/0.2446, allocations: 221.6 kB / 0.9126 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.2452, allocations: 171.6 kB / 0.9127 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2452, allocations: 7.938 kB / 0.9127 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001358/0.2466, allocations: 436.8 kB / 0.9132 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.2467, allocations: 124.7 kB / 0.9133 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2467, allocations: 4 kB / 0.9133 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.2467, allocations: 0 / 0.9133 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.2473, allocations: 87.83 kB / 0.9134 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.2474, allocations: 4 kB / 0.9134 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.2479, allocations: 75.55 kB / 0.9134 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.2479, allocations: 8 kB / 0.9134 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.2479, allocations: 9.344 kB / 0.9135 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000872/0.2488, allocations: 303.5 kB / 0.9137 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2488, allocations: 4.125 kB / 0.9137 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.2489, allocations: 4 kB / 0.9138 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.2494, allocations: 75.89 kB / 0.9138 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2494, allocations: 4 kB / 0.9138 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.2498, allocations: 51.58 kB / 0.9139 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2498, allocations: 19.98 kB / 0.9139 GB, free: 50.39 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.0002919/0.2501, allocations: 261 kB / 0.9141 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2502, allocations: 51.38 kB / 0.9142 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2515, allocations: 388.2 kB / 0.9146 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2515, allocations: 0 / 0.9146 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2515, allocations: 7.938 kB / 0.9146 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2517, allocations: 140.4 kB / 0.9147 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.2517, allocations: 4 kB / 0.9147 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.2522, allocations: 35.97 kB / 0.9147 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.743e-05/0.2523, allocations: 19.97 kB / 0.9148 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001493/0.2538, allocations: 469.8 kB / 0.9152 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001836/0.2556, allocations: 0.7169 MB / 0.9159 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005392/0.2562, allocations: 160 kB / 0.9161 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005161/0.2567, allocations: 354.9 kB / 0.9164 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of Backend: time 6.01e-07/0.2567, allocations: 0 / 0.9164 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.2583, allocations: 461.8 kB / 0.9168 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002155/0.2605, allocations: 1.441 MB / 0.9182 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.01597/0.2765, allocations: 5.805 MB / 0.9239 GB, free: 40.05 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)