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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.001829, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000586/0.000586, allocations: 17.38 kB / 0.6735 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3111, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004258/0.3155, allocations: 3.287 MB / 0.7903 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002932/0.3184, allocations: 1.241 MB / 0.7915 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007248/0.3192, allocations: 19.94 kB / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.3195, allocations: 59.3 kB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3207, allocations: 139.5 kB / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.3215, allocations: 227.6 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.3228, allocations: 0.5381 MB / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007219/0.3235, allocations: 383.6 kB / 0.7929 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.3239, allocations: 226.8 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.3243, allocations: 278.3 kB / 0.7933 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.299e-05/0.3244, allocations: 24 kB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.3245, allocations: 24 kB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.3246, allocations: 115.4 kB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.3248, allocations: 165.2 kB / 0.7936 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3258, allocations: 1.021 MB / 0.7946 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3258, allocations: 0 / 0.7946 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3259, allocations: 0 / 0.7946 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3259, allocations: 0 / 0.7946 GB, free: 4.203 MB / 0.6075 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.00236/0.3282, allocations: 1.169 MB / 0.7958 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3283, allocations: 12.03 kB / 0.7958 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.3285, allocations: 94.88 kB / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/0.3293, allocations: 0.559 MB / 0.7964 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.3293, allocations: 54 kB / 0.7965 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3295, allocations: 72 kB / 0.7966 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.3311, allocations: 0.8423 MB / 0.7974 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3311, allocations: 4 kB / 0.7974 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.3312, allocations: 28 kB / 0.7974 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.3312, allocations: 16 kB / 0.7974 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.3332, allocations: 0.7573 MB / 0.7982 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/0.3368, allocations: 2.528 MB / 0.8006 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.3388, allocations: 0.8176 MB / 0.8014 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.3388, allocations: 8.422 kB / 0.8014 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.3399, allocations: 417 kB / 0.8018 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.515e-06/0.3399, allocations: 0 / 0.8018 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.002468/0.3424, allocations: 0.9745 MB / 0.8028 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.3425, allocations: 141 kB / 0.8029 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.3432, allocations: 0.6134 MB / 0.8035 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.3432, allocations: 37.7 kB / 0.8036 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.3436, allocations: 376.1 kB / 0.8039 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3437, allocations: 173.5 kB / 0.8041 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.3437, allocations: 8 kB / 0.8041 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3439, allocations: 382.8 kB / 0.8045 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/0.3447, allocations: 309 kB / 0.8047 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3458, allocations: 449.1 kB / 0.8052 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008467/0.3467, allocations: 393.5 kB / 0.8056 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3467, allocations: 3.938 kB / 0.8056 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001873/0.3486, allocations: 0.892 MB / 0.8064 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005961/0.3492, allocations: 0.937 MB / 0.8073 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3492, allocations: 0 / 0.8073 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3492, allocations: 8 kB / 0.8074 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.3499, allocations: 163.8 kB / 0.8075 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3499, allocations: 7.984 kB / 0.8075 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.3505, allocations: 151.2 kB / 0.8077 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.3506, allocations: 24 kB / 0.8077 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.3506, allocations: 4 kB / 0.8077 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001492/0.3521, allocations: 0.692 MB / 0.8084 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3521, allocations: 8 kB / 0.8084 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.3521, allocations: 4 kB / 0.8084 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.3526, allocations: 135.8 kB / 0.8085 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3526, allocations: 8 kB / 0.8085 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.3531, allocations: 111.5 kB / 0.8086 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.3532, allocations: 23.94 kB / 0.8086 GB, free: 5.402 MB / 0.6231 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.0004006/0.3536, allocations: 312.9 kB / 0.8089 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.3537, allocations: 67.14 kB / 0.809 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.3553, allocations: 0.7411 MB / 0.8097 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.3554, allocations: 8 kB / 0.8097 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3554, allocations: 0 / 0.8097 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3554, allocations: 0 / 0.8097 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.3565, allocations: 0.7276 MB / 0.8104 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3565, allocations: 3.984 kB / 0.8104 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.3571, allocations: 135.8 kB / 0.8106 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3571, allocations: 0 / 0.8106 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.3571, allocations: 15.98 kB / 0.8106 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3571, allocations: 4 kB / 0.8106 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3571, allocations: 3.938 kB / 0.8106 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.3596, allocations: 1.101 MB / 0.8117 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3598, allocations: 156.2 kB / 0.8118 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.3599, allocations: 15.94 kB / 0.8118 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.3604, allocations: 91.91 kB / 0.8119 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.3606, allocations: 48.47 kB / 0.812 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.3606, allocations: 11.98 kB / 0.812 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005374/0.3612, allocations: 431.1 kB / 0.8124 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3612, allocations: 0 / 0.8124 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007116/0.3619, allocations: 266.9 kB / 0.8126 GB, free: 1.188 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.3621, allocations: 119.2 kB / 0.8128 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00255/0.3646, allocations: 1.253 MB / 0.814 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3647, allocations: 0.5625 kB / 0.814 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008007/0.3655, allocations: 350.3 kB / 0.8143 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.366, allocations: 111.5 kB / 0.8144 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.3683, allocations: 1.471 MB / 0.8159 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.3688, allocations: 0.9339 MB / 0.8168 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003345/0.3692, allocations: 80.89 kB / 0.8169 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.3694, allocations: 51.42 kB / 0.8169 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.3694, allocations: 0 / 0.8169 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of Templates: time 0.01217/0.3815, allocations: 6.912 MB / 0.8237 GB, free: 5.859 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: