Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 187.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 75.03 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2876, allocations: 114.5 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.4415/0.7292, allocations: 3.91 MB / 0.7878 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.732, allocations: 1.328 MB / 0.7891 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008768/0.7329, allocations: 16.56 kB / 0.7892 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.7336, allocations: 133.2 kB / 0.7893 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007529/0.7344, allocations: 129.3 kB / 0.7894 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.7352, allocations: 355.1 kB / 0.7897 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.7364, allocations: 1.038 MB / 0.7908 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000778/0.7372, allocations: 0.5312 MB / 0.7913 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.7376, allocations: 380.9 kB / 0.7916 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.7379, allocations: 416.3 kB / 0.792 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.7381, allocations: 127.8 kB / 0.7922 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.7382, allocations: 125 kB / 0.7923 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.7383, allocations: 240.1 kB / 0.7925 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.7386, allocations: 453.9 kB / 0.7929 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008571/0.7395, allocations: 1.304 MB / 0.7942 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.7395, allocations: 3.844 kB / 0.7942 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7395, allocations: 2.281 kB / 0.7942 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.7395, allocations: 2.25 kB / 0.7942 GB, free: 44.9 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002186/0.7417, allocations: 1.272 MB / 0.7955 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.7418, allocations: 7.406 kB / 0.7955 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.7419, allocations: 110.8 kB / 0.7956 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.7426, allocations: 0.5704 MB / 0.7961 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.7427, allocations: 57.56 kB / 0.7962 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.7428, allocations: 72.75 kB / 0.7963 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.7443, allocations: 0.8188 MB / 0.7971 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.7444, allocations: 0 / 0.7971 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.7444, allocations: 28.08 kB / 0.7971 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.7445, allocations: 17.97 kB / 0.7971 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.7461, allocations: 0.6844 MB / 0.7978 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.7496, allocations: 2.5 MB / 0.8002 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.7514, allocations: 0.7084 MB / 0.8009 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/0.7523, allocations: 353.6 kB / 0.8012 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.7523, allocations: 13.02 kB / 0.8013 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009751/0.7533, allocations: 368.7 kB / 0.8016 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=51): time 4.198e-06/0.7533, allocations: 0 / 0.8016 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=51): time 0.002576/0.7559, allocations: 0.8561 MB / 0.8024 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.637e-05/0.756, allocations: 144.3 kB / 0.8026 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.7571, allocations: 0.6128 MB / 0.8032 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.514e-05/0.7571, allocations: 39.39 kB / 0.8032 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.7574, allocations: 375.9 kB / 0.8036 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.7576, allocations: 174 kB / 0.8037 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.7578, allocations: 111.2 kB / 0.8038 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7579, allocations: 380.1 kB / 0.8042 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008351/0.7588, allocations: 285 kB / 0.8045 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/0.7597, allocations: 414.8 kB / 0.8049 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.7613, allocations: 0.662 MB / 0.8055 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.7613, allocations: 6.109 kB / 0.8055 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002192/0.7635, allocations: 0.8134 MB / 0.8063 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.7636, allocations: 65.25 kB / 0.8064 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.7636, allocations: 2.312 kB / 0.8064 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.7637, allocations: 5.422 kB / 0.8064 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/0.7643, allocations: 145.2 kB / 0.8065 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.7644, allocations: 6.031 kB / 0.8065 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.765, allocations: 119.3 kB / 0.8066 GB, free: 38.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.7651, allocations: 25.75 kB / 0.8067 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008951/0.766, allocations: 394.6 kB / 0.807 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007144/0.7667, allocations: 363.5 kB / 0.8074 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001321/0.7681, allocations: 0.5704 MB / 0.808 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.7681, allocations: 3.141 kB / 0.808 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001839/0.7699, allocations: 0.7163 MB / 0.8087 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.77, allocations: 62.44 kB / 0.8087 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.77, allocations: 2.406 kB / 0.8087 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.77, allocations: 9.859 kB / 0.8087 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.7706, allocations: 122.3 kB / 0.8088 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.7706, allocations: 4.484 kB / 0.8088 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.7712, allocations: 99.42 kB / 0.8089 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.7712, allocations: 23.38 kB / 0.809 GB, free: 37.15 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0002423/0.7715, allocations: 222.8 kB / 0.8092 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.7716, allocations: 66.94 kB / 0.8092 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.7734, allocations: 0.6548 MB / 0.8099 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.7735, allocations: 5.219 kB / 0.8099 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7735, allocations: 1.656 kB / 0.8099 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.7735, allocations: 6.672 kB / 0.8099 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7745, allocations: 0.7272 MB / 0.8106 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7745, allocations: 1.875 kB / 0.8106 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.7751, allocations: 117.1 kB / 0.8107 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.7751, allocations: 2.766 kB / 0.8107 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.7752, allocations: 13.06 kB / 0.8107 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.7752, allocations: 2.625 kB / 0.8107 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7752, allocations: 1.312 kB / 0.8107 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.7778, allocations: 0.9907 MB / 0.8117 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.778, allocations: 155 kB / 0.8119 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.7781, allocations: 16.23 kB / 0.8119 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.7786, allocations: 60.72 kB / 0.8119 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.7788, allocations: 49.23 kB / 0.812 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.7788, allocations: 16.78 kB / 0.812 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006294/0.7794, allocations: 439.2 kB / 0.8124 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7795, allocations: 1.438 kB / 0.8124 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008731/0.7803, allocations: 265.9 kB / 0.8127 GB, free: 35.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001671/0.7805, allocations: 117 kB / 0.8128 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.7835, allocations: 1.173 MB / 0.8139 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7835, allocations: 0 / 0.8139 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.7844, allocations: 309.6 kB / 0.8142 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.7851, allocations: 129.2 kB / 0.8143 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.7875, allocations: 1.254 MB / 0.8156 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.788, allocations: 0.9198 MB / 0.8165 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.7882, allocations: 53.44 kB / 0.8165 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of SimCode: time 1.703e-06/0.7882, allocations: 0 / 0.8165 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.02264/0.8108, allocations: 8.942 MB / 0.8252 GB, free: 32.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)