Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.586/1.586, allocations: 287.4 MB / 303.2 MB, free: 8.199 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.00093/0.0009301, allocations: 179.5 kB / 371.8 MB, free: 10.83 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.431/1.431, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0007786/0.0007786, allocations: 93.27 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 12.12 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2182, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.00362/0.2219, allocations: 3.268 MB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.2243, allocations: 1.241 MB / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008204/0.2251, allocations: 12 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.2255, allocations: 87.09 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.226, allocations: 83.3 kB / 0.9839 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.2267, allocations: 203.7 kB / 0.9841 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2278, allocations: 0.8965 MB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.2286, allocations: 0.5076 MB / 0.9854 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.229, allocations: 234.7 kB / 0.9856 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.2293, allocations: 286.2 kB / 0.9859 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.2295, allocations: 24 kB / 0.9859 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.2296, allocations: 24 kB / 0.986 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.2297, allocations: 111.4 kB / 0.9861 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.2298, allocations: 161.2 kB / 0.9862 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.2305, allocations: 1.025 MB / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2305, allocations: 0 / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2305, allocations: 0 / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.2306, allocations: 4 kB / 0.9872 GB, free: 20 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.001871/0.2324, allocations: 1.153 MB / 0.9884 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2325, allocations: 12.03 kB / 0.9884 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.2327, allocations: 99.8 kB / 0.9885 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.2333, allocations: 0.5871 MB / 0.989 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.2333, allocations: 54.36 kB / 0.9891 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.2334, allocations: 76.38 kB / 0.9892 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.2348, allocations: 0.8466 MB / 0.99 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2348, allocations: 3.938 kB / 0.99 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.2348, allocations: 28 kB / 0.99 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.2349, allocations: 16 kB / 0.99 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.2364, allocations: 0.7612 MB / 0.9908 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.2391, allocations: 2.524 MB / 0.9932 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.2408, allocations: 0.7932 MB / 0.994 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.2415, allocations: 393.7 kB / 0.9944 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.2416, allocations: 8.438 kB / 0.9944 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008651/0.2424, allocations: 417.1 kB / 0.9948 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.825e-06/0.2424, allocations: 0 / 0.9948 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.00209/0.2445, allocations: 0.9706 MB / 0.9957 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.2446, allocations: 133 kB / 0.9959 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.2452, allocations: 0.6134 MB / 0.9965 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.2452, allocations: 45.69 kB / 0.9965 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2454, allocations: 377.2 kB / 0.9969 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/0.2455, allocations: 169.5 kB / 0.997 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.2456, allocations: 12 kB / 0.997 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.2456, allocations: 386.7 kB / 0.9974 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006843/0.2463, allocations: 305 kB / 0.9977 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.2471, allocations: 457.1 kB / 0.9981 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.2484, allocations: 0.7327 MB / 0.9989 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2484, allocations: 4 kB / 0.9989 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001634/0.2501, allocations: 0.8842 MB / 0.9997 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.2502, allocations: 214.3 kB / 0.9999 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2502, allocations: 3.938 kB / 0.9999 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.2503, allocations: 8 kB / 0.9999 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.2509, allocations: 163.8 kB / 1 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.2509, allocations: 11.92 kB / 1 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.2515, allocations: 155.1 kB / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.2515, allocations: 24 kB / 1 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.2515, allocations: 4 kB / 1 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.2529, allocations: 0.6959 MB / 1.001 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2529, allocations: 0 / 1.001 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.2529, allocations: 4 kB / 1.001 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.2534, allocations: 135.9 kB / 1.001 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2534, allocations: 11.94 kB / 1.001 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.2538, allocations: 123.3 kB / 1.001 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.2539, allocations: 20 kB / 1.001 GB, free: 5.18 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.0002805/0.2541, allocations: 305.4 kB / 1.002 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.2542, allocations: 67.14 kB / 1.002 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.2557, allocations: 0.7334 MB / 1.002 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2557, allocations: 0 / 1.002 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2557, allocations: 4 kB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.2558, allocations: 160.1 kB / 1.002 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.2559, allocations: 12 kB / 1.002 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.2563, allocations: 83.92 kB / 1.003 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2565, allocations: 52.3 kB / 1.003 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001803/0.2583, allocations: 0.8509 MB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002145/0.2604, allocations: 1.262 MB / 1.005 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006842/0.2611, allocations: 339.3 kB / 1.005 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003788/0.2615, allocations: 435.1 kB / 1.005 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of Backend: time 5.21e-07/0.2615, allocations: 0 / 1.005 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.2634, allocations: 1.054 MB / 1.006 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002186/0.2656, allocations: 1.821 MB / 1.008 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.01579/0.2814, allocations: 9.322 MB / 1.017 GB, free: 4.59 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)