Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009245/0.0009245, allocations: 170.5 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0006896/0.0006897, allocations: 88.73 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003378, allocations: 18.23 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1878, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003801/0.1917, allocations: 3.995 MB / 0.9007 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1944, allocations: 1.396 MB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008837/0.1953, allocations: 15.94 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.1959, allocations: 122.9 kB / 0.9022 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.1965, allocations: 95.23 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.1973, allocations: 347.7 kB / 0.9026 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009593/0.1983, allocations: 1.006 MB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.199, allocations: 0.5192 MB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.1993, allocations: 242.5 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.1996, allocations: 290 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.1996, allocations: 32 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.082e-05/0.1997, allocations: 24 kB / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.1998, allocations: 127.2 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2, allocations: 333.6 kB / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.2006, allocations: 1.199 MB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2006, allocations: 0 / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2006, allocations: 0 / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.2007, allocations: 0 / 0.9062 GB, free: 58.41 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.001823/0.2025, allocations: 1.181 MB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2025, allocations: 11.97 kB / 0.9074 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.2026, allocations: 99.72 kB / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.2032, allocations: 0.5948 MB / 0.9081 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.2033, allocations: 58.38 kB / 0.9081 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.2034, allocations: 72.38 kB / 0.9082 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.2047, allocations: 0.8867 MB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2048, allocations: 0 / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.2048, allocations: 32 kB / 0.9091 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.2049, allocations: 16 kB / 0.9091 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.2065, allocations: 0.7846 MB / 0.9099 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.2093, allocations: 3.08 MB / 0.9129 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.211, allocations: 0.8374 MB / 0.9137 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/0.2117, allocations: 393.7 kB / 0.9141 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.2118, allocations: 12.36 kB / 0.9141 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008282/0.2126, allocations: 401.2 kB / 0.9145 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 2.855e-06/0.2126, allocations: 0 / 0.9145 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.002067/0.2147, allocations: 0.99 MB / 0.9154 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.2147, allocations: 136.9 kB / 0.9156 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.2154, allocations: 0.6566 MB / 0.9162 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.2154, allocations: 37.7 kB / 0.9162 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.2156, allocations: 388.2 kB / 0.9166 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.2157, allocations: 177.5 kB / 0.9168 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/0.2158, allocations: 53.69 kB / 0.9168 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.2159, allocations: 386.7 kB / 0.9172 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.2166, allocations: 321 kB / 0.9175 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/0.2173, allocations: 446.5 kB / 0.9179 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.2186, allocations: 0.7185 MB / 0.9186 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.2186, allocations: 0 / 0.9186 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001574/0.2202, allocations: 0.8997 MB / 0.9195 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/0.2203, allocations: 199.8 kB / 0.9197 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2203, allocations: 4 kB / 0.9197 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.2203, allocations: 4 kB / 0.9197 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.2209, allocations: 159.8 kB / 0.9199 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2209, allocations: 11.88 kB / 0.9199 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.2214, allocations: 151.2 kB / 0.92 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.2215, allocations: 31.98 kB / 0.9201 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.2215, allocations: 4 kB / 0.9201 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/0.2226, allocations: 0.6842 MB / 0.9207 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2227, allocations: 4 kB / 0.9207 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/0.2227, allocations: 4 kB / 0.9207 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.2231, allocations: 139.9 kB / 0.9209 GB, free: 42.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2231, allocations: 7.984 kB / 0.9209 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.2236, allocations: 115.3 kB / 0.921 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.2236, allocations: 20 kB / 0.921 GB, free: 42.78 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 (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,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002874/0.2239, allocations: 308.9 kB / 0.9213 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.224, allocations: 79.06 kB / 0.9214 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.2255, allocations: 0.7377 MB / 0.9221 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2255, allocations: 3.984 kB / 0.9221 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2255, allocations: 3.984 kB / 0.9221 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2256, allocations: 156.1 kB / 0.9223 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.2257, allocations: 12 kB / 0.9223 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.2261, allocations: 91.91 kB / 0.9224 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.2262, allocations: 48.31 kB / 0.9224 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001724/0.228, allocations: 0.8586 MB / 0.9232 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002066/0.23, allocations: 1.27 MB / 0.9245 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000639/0.2307, allocations: 343.3 kB / 0.9248 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004363/0.2311, allocations: 467 kB / 0.9253 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of Backend: time 7.21e-07/0.2311, allocations: 3.938 kB / 0.9253 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.233, allocations: 1.072 MB / 0.9263 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001944/0.235, allocations: 1.939 MB / 0.9282 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.01555/0.2505, allocations: 10.46 MB / 0.9384 GB, free: 24.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)