Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.817/1.817, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.001367/0.001367, allocations: 176.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 0.6316 GB, free: 9.887 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.0008504/0.0008505, allocations: 102.2 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003975, allocations: 11.09 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.238, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003162/0.2412, allocations: 3.275 MB / 0.9839 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2429, allocations: 1.245 MB / 0.9851 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.2432, allocations: 15.94 kB / 0.9852 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.2434, allocations: 83.16 kB / 0.9852 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.2436, allocations: 83.3 kB / 0.9853 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.244, allocations: 195.7 kB / 0.9855 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005849/0.2446, allocations: 0.9003 MB / 0.9864 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005614/0.2452, allocations: 0.5114 MB / 0.9869 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.2454, allocations: 226.7 kB / 0.9871 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.2456, allocations: 278.3 kB / 0.9874 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.2456, allocations: 24 kB / 0.9874 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.2457, allocations: 24 kB / 0.9874 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2458, allocations: 123.3 kB / 0.9875 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.246, allocations: 331.7 kB / 0.9878 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006037/0.2467, allocations: 1.021 MB / 0.9888 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2467, allocations: 0 / 0.9888 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2467, allocations: 0 / 0.9888 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.2467, allocations: 0 / 0.9888 GB, free: 18.98 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001822/0.2485, allocations: 1.165 MB / 0.99 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2486, allocations: 16.02 kB / 0.99 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.2487, allocations: 95.81 kB / 0.9901 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.2493, allocations: 0.5794 MB / 0.9907 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.2494, allocations: 58.36 kB / 0.9907 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.641e-05/0.2494, allocations: 80.31 kB / 0.9908 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.2508, allocations: 0.8465 MB / 0.9916 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2509, allocations: 4 kB / 0.9916 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.2509, allocations: 32 kB / 0.9916 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.2509, allocations: 19.94 kB / 0.9917 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.2525, allocations: 0.7573 MB / 0.9924 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.2553, allocations: 2.52 MB / 0.9949 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.2569, allocations: 0.7932 MB / 0.9956 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007327/0.2576, allocations: 394.4 kB / 0.996 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.2577, allocations: 8.438 kB / 0.996 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008901/0.2586, allocations: 413.1 kB / 0.9964 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 3.717e-06/0.2586, allocations: 0 / 0.9964 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002143/0.2608, allocations: 0.9784 MB / 0.9974 GB, free: 10 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.2608, allocations: 133 kB / 0.9975 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.2614, allocations: 0.6173 MB / 0.9981 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.2615, allocations: 41.64 kB / 0.9981 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.2617, allocations: 377.2 kB / 0.9985 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2618, allocations: 169.5 kB / 0.9987 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.2619, allocations: 12 kB / 0.9987 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.262, allocations: 386.7 kB / 0.999 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.2626, allocations: 301 kB / 0.9993 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.2634, allocations: 458.8 kB / 0.9998 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.2647, allocations: 0.7288 MB / 1 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2648, allocations: 4 kB / 1 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001604/0.2664, allocations: 0.8842 MB / 1.001 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.2665, allocations: 214.4 kB / 1.002 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2665, allocations: 4 kB / 1.002 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.2665, allocations: 11.94 kB / 1.002 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.2671, allocations: 163.8 kB / 1.002 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2672, allocations: 11.94 kB / 1.002 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.2677, allocations: 147.2 kB / 1.002 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.2678, allocations: 24 kB / 1.002 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/0.2678, allocations: 4 kB / 1.002 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/0.269, allocations: 0.6998 MB / 1.003 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.269, allocations: 0 / 1.003 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.269, allocations: 4 kB / 1.003 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.2695, allocations: 135.8 kB / 1.003 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2695, allocations: 8 kB / 1.003 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.2699, allocations: 115.3 kB / 1.003 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.27, allocations: 28.08 kB / 1.003 GB, free: 4.152 MB / 0.6198 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,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003372/0.2703, allocations: 313.4 kB / 1.003 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.2704, allocations: 67.16 kB / 1.003 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.2719, allocations: 0.7295 MB / 1.004 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2719, allocations: 4 kB / 1.004 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2719, allocations: 0 / 1.004 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.272, allocations: 160 kB / 1.004 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.2721, allocations: 12 kB / 1.004 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.2725, allocations: 87.92 kB / 1.004 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2727, allocations: 52.3 kB / 1.004 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001806/0.2745, allocations: 0.847 MB / 1.005 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002163/0.2767, allocations: 1.266 MB / 1.006 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006571/0.2773, allocations: 339.3 kB / 1.007 GB, free: 236 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005221/0.2779, allocations: 435.2 kB / 1.007 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of Backend: time 3.01e-07/0.2779, allocations: 0 / 1.007 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002582/0.2805, allocations: 1.051 MB / 1.008 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002558/0.283, allocations: 1.825 MB / 1.01 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.01801/0.3011, allocations: 9.398 MB / 1.019 GB, free: 3.484 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)