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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.512/1.512, allocations: 292.3 MB / 308.1 MB, free: 4.246 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.001111/0.001111, allocations: 198.3 kB / 376.9 MB, free: 1.781 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.317/1.317, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009606/0.0009608, allocations: 103.5 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 63.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2234, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005226/0.2287, allocations: 3.919 MB / 0.9861 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.2313, allocations: 1.272 MB / 0.9873 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000772/0.2321, allocations: 15.94 kB / 0.9873 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.2328, allocations: 95.09 kB / 0.9874 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.2333, allocations: 91.3 kB / 0.9875 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.2341, allocations: 319.8 kB / 0.9878 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.2352, allocations: 0.9472 MB / 0.9887 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.236, allocations: 0.5154 MB / 0.9892 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.2363, allocations: 302.6 kB / 0.9895 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.2366, allocations: 373.9 kB / 0.9899 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.2367, allocations: 48 kB / 0.9899 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.2368, allocations: 52 kB / 0.99 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2369, allocations: 163.2 kB / 0.9901 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.2372, allocations: 381.7 kB / 0.9905 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.238, allocations: 1.246 MB / 0.9917 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.238, allocations: 0 / 0.9917 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2381, allocations: 0 / 0.9917 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.2381, allocations: 0 / 0.9917 GB, free: 0.6133 MB / 0.7136 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.002163/0.2402, allocations: 1.274 MB / 0.9929 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2403, allocations: 12.02 kB / 0.993 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.2404, allocations: 99.72 kB / 0.9931 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.2411, allocations: 0.5833 MB / 0.9936 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.2412, allocations: 54.38 kB / 0.9937 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.2413, allocations: 76.38 kB / 0.9937 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.2427, allocations: 0.8114 MB / 0.9945 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2427, allocations: 0 / 0.9945 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.2428, allocations: 28 kB / 0.9946 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.2428, allocations: 20 kB / 0.9946 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.2444, allocations: 0.6831 MB / 0.9953 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.2474, allocations: 2.497 MB / 0.9977 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.2491, allocations: 0.7072 MB / 0.9984 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000747/0.2498, allocations: 353.7 kB / 0.9987 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.2499, allocations: 16.44 kB / 0.9987 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008881/0.2508, allocations: 361.2 kB / 0.9991 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 2.034e-06/0.2508, allocations: 7.938 kB / 0.9991 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.002188/0.253, allocations: 0.8534 MB / 0.9999 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.253, allocations: 141 kB / 1 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.2537, allocations: 0.6212 MB / 1.001 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.2537, allocations: 37.7 kB / 1.001 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.254, allocations: 385 kB / 1.001 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2541, allocations: 165.6 kB / 1.001 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.2543, allocations: 110.1 kB / 1.001 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2544, allocations: 386.7 kB / 1.002 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.2551, allocations: 275 kB / 1.002 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.2559, allocations: 425.1 kB / 1.002 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.2573, allocations: 0.6546 MB / 1.003 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2574, allocations: 0 / 1.003 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001679/0.259, allocations: 0.8178 MB / 1.004 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.2591, allocations: 59.41 kB / 1.004 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2591, allocations: 4 kB / 1.004 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2591, allocations: 4 kB / 1.004 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.2597, allocations: 143.8 kB / 1.004 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2597, allocations: 15.94 kB / 1.004 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.2603, allocations: 123.2 kB / 1.004 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.2603, allocations: 20 kB / 1.004 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000694/0.261, allocations: 397.1 kB / 1.005 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006057/0.2616, allocations: 364 kB / 1.005 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001083/0.2627, allocations: 0.5727 MB / 1.005 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.2627, allocations: 0 / 1.005 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001348/0.2641, allocations: 0.7239 MB / 1.006 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.2641, allocations: 63.34 kB / 1.006 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.2641, allocations: 0 / 1.006 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.812e-06/0.2641, allocations: 8 kB / 1.006 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.2646, allocations: 128 kB / 1.006 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2646, allocations: 4 kB / 1.006 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.2651, allocations: 99.44 kB / 1.006 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.2651, allocations: 20 kB / 1.006 GB, free: 0.9453 MB / 0.7292 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.0001456/0.2653, allocations: 224.1 kB / 1.007 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.2653, allocations: 67.16 kB / 1.007 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.2669, allocations: 0.6514 MB / 1.007 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.2669, allocations: 4 kB / 1.007 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2669, allocations: 7.938 kB / 1.007 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2669, allocations: 0 / 1.007 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.2676, allocations: 0.7237 MB / 1.008 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2676, allocations: 0 / 1.008 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.2681, allocations: 127.8 kB / 1.008 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2681, allocations: 4 kB / 1.008 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.2682, allocations: 15.98 kB / 1.008 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2682, allocations: 0 / 1.008 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2682, allocations: 0 / 1.008 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.2784, allocations: 5.08 MB / 1.013 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2785, allocations: 152.2 kB / 1.013 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.2786, allocations: 11.94 kB / 1.013 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.279, allocations: 67.91 kB / 1.013 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.2791, allocations: 44.38 kB / 1.013 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.2791, allocations: 19.98 kB / 1.013 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004457/0.2796, allocations: 435.1 kB / 1.014 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2796, allocations: 0 / 1.014 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009146/0.2805, allocations: 354.9 kB / 1.014 GB, free: 8.75 MB / 0.7448 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.0001693/0.2807, allocations: 119.2 kB / 1.014 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.283, allocations: 1.151 MB / 1.015 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2831, allocations: 256 / 1.015 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007561/0.2838, allocations: 314.2 kB / 1.016 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.2845, allocations: 119 kB / 1.016 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.2868, allocations: 1.848 MB / 1.018 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.2872, allocations: 0.9341 MB / 1.019 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003465/0.2876, allocations: 88.83 kB / 1.019 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.2878, allocations: 55.42 kB / 1.019 GB, free: 4 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.2878, allocations: 4 kB / 1.019 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.385/0.6728, allocations: 8.86 MB / 1.027 GB, free: 96.77 MB / 0.7448 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)