Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.294/2.294, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001412/0.001411, allocations: 184.5 kB / 326.3 MB, free: 2.859 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.339/2.339, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0008984/0.0008981, allocations: 95.89 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.000489, allocations: 15.62 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2113, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005175/0.2165, allocations: 3.64 MB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003394/0.2199, allocations: 1.342 MB / 0.9044 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008875/0.2209, allocations: 19.94 kB / 0.9044 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.2213, allocations: 114.9 kB / 0.9045 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.2218, allocations: 83.3 kB / 0.9046 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000889/0.2227, allocations: 223.6 kB / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.2242, allocations: 0.9789 MB / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.2252, allocations: 0.5028 MB / 0.9062 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.2257, allocations: 226.7 kB / 0.9064 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.226, allocations: 286.2 kB / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-05/0.2262, allocations: 24 kB / 0.9067 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.2262, allocations: 24 kB / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2264, allocations: 111.3 kB / 0.9069 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.2265, allocations: 165.2 kB / 0.907 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.2277, allocations: 1.025 MB / 0.908 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2277, allocations: 0 / 0.908 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2278, allocations: 4 kB / 0.908 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.2278, allocations: 0 / 0.908 GB, free: 56.72 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003654/0.2315, allocations: 1.188 MB / 0.9092 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.2315, allocations: 19.91 kB / 0.9092 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.2318, allocations: 103.7 kB / 0.9093 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.2331, allocations: 0.5681 MB / 0.9099 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.2331, allocations: 54.38 kB / 0.9099 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.2333, allocations: 80.38 kB / 0.91 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.2361, allocations: 0.875 MB / 0.9108 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.2362, allocations: 4 kB / 0.9108 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.834e-05/0.2363, allocations: 28 kB / 0.9109 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.2363, allocations: 20 kB / 0.9109 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.2395, allocations: 0.7768 MB / 0.9117 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.2452, allocations: 3.076 MB / 0.9147 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.2487, allocations: 0.8325 MB / 0.9155 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.2503, allocations: 386 kB / 0.9158 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.2504, allocations: 9.453 kB / 0.9158 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.2519, allocations: 405.1 kB / 0.9162 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 5.821e-06/0.252, allocations: 4 kB / 0.9162 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.004187/0.2562, allocations: 0.9822 MB / 0.9172 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.2563, allocations: 137 kB / 0.9173 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.2574, allocations: 0.6527 MB / 0.918 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.2575, allocations: 41.7 kB / 0.918 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.2578, allocations: 384.3 kB / 0.9184 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.258, allocations: 173.5 kB / 0.9185 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.2581, allocations: 12 kB / 0.9185 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2582, allocations: 382.7 kB / 0.9189 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.2597, allocations: 317 kB / 0.9192 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.2613, allocations: 438.5 kB / 0.9196 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.263, allocations: 393.4 kB / 0.92 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.263, allocations: 0 / 0.92 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003574/0.2666, allocations: 0.8918 MB / 0.9209 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.2668, allocations: 195.8 kB / 0.9211 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.2668, allocations: 0 / 0.9211 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.2668, allocations: 4 kB / 0.9211 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.2682, allocations: 171.8 kB / 0.9212 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.2683, allocations: 12 kB / 0.9212 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.2695, allocations: 147.3 kB / 0.9214 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/0.2696, allocations: 20 kB / 0.9214 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2696, allocations: 4 kB / 0.9214 GB, free: 42.56 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002795/0.2724, allocations: 0.692 MB / 0.9221 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2725, allocations: 4 kB / 0.9221 GB, free: 41.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2725, allocations: 12.03 kB / 0.9221 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/0.2735, allocations: 131.8 kB / 0.9222 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2735, allocations: 4 kB / 0.9222 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009577/0.2745, allocations: 123.3 kB / 0.9223 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.2746, allocations: 20 kB / 0.9224 GB, free: 41.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($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,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * 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.000532/0.2751, allocations: 308.9 kB / 0.9227 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.2753, allocations: 71.06 kB / 0.9227 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.2783, allocations: 0.7416 MB / 0.9234 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.2784, allocations: 7.984 kB / 0.9235 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2784, allocations: 0 / 0.9235 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.2786, allocations: 164 kB / 0.9236 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.2788, allocations: 8 kB / 0.9236 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/0.2797, allocations: 87.92 kB / 0.9237 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.28, allocations: 52.3 kB / 0.9238 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003606/0.2836, allocations: 0.851 MB / 0.9246 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004378/0.288, allocations: 1.262 MB / 0.9258 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001344/0.2894, allocations: 343.3 kB / 0.9261 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007758/0.2902, allocations: 463 kB / 0.9266 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of Backend: time 5.91e-07/0.2902, allocations: 3.938 kB / 0.9266 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003383/0.2936, allocations: 1.053 MB / 0.9276 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003151/0.2968, allocations: 1.881 MB / 0.9295 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.02547/0.3223, allocations: 10.12 MB / 0.9393 GB, free: 24.09 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)