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.452/1.452, 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.001098/0.001097, allocations: 170.4 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.83/1.83, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0009134/0.0009135, allocations: 96.97 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 15.11 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2723, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004318/0.2766, allocations: 3.988 MB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.28, allocations: 1.4 MB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.2813, allocations: 23.88 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.2819, allocations: 118.9 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007156/0.2826, allocations: 99.23 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.2835, allocations: 347.7 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.2847, allocations: 1.01 MB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007853/0.2855, allocations: 0.5192 MB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.2858, allocations: 234.5 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.2863, allocations: 301.9 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.2864, allocations: 24 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.2865, allocations: 24 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.2866, allocations: 119.3 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.2869, allocations: 337.6 kB / 0.9051 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007178/0.2876, allocations: 1.029 MB / 0.9061 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2876, allocations: 0 / 0.9061 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2876, allocations: 0 / 0.9061 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.334e-05/0.2877, allocations: 4 kB / 0.9061 GB, free: 58.56 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.002386/0.2901, allocations: 1.173 MB / 0.9072 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2901, allocations: 12.03 kB / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.2904, allocations: 99.72 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.2911, allocations: 0.5987 MB / 0.9079 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.2912, allocations: 58.38 kB / 0.908 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.2913, allocations: 72.38 kB / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.2927, allocations: 0.8828 MB / 0.9089 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.2928, allocations: 0 / 0.9089 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/0.2928, allocations: 32 kB / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.2928, allocations: 20 kB / 0.9089 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.2944, allocations: 0.7806 MB / 0.9097 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.2976, allocations: 3.08 MB / 0.9127 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.2994, allocations: 0.8451 MB / 0.9135 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/0.3001, allocations: 393.7 kB / 0.9139 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.3002, allocations: 8.422 kB / 0.9139 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008737/0.3011, allocations: 401.2 kB / 0.9143 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 3.347e-06/0.3011, allocations: 0 / 0.9143 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.00229/0.3034, allocations: 0.9939 MB / 0.9153 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.3034, allocations: 136.9 kB / 0.9154 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.3041, allocations: 0.6527 MB / 0.916 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.3042, allocations: 41.69 kB / 0.9161 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.3044, allocations: 384.1 kB / 0.9164 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3046, allocations: 169.5 kB / 0.9166 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.3046, allocations: 57.69 kB / 0.9167 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.3047, allocations: 390.7 kB / 0.917 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.3054, allocations: 313 kB / 0.9173 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.3062, allocations: 450.5 kB / 0.9178 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3076, allocations: 0.7186 MB / 0.9185 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3076, allocations: 4 kB / 0.9185 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001653/0.3092, allocations: 0.8997 MB / 0.9193 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.157e-05/0.3093, allocations: 191.9 kB / 0.9195 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3093, allocations: 4 kB / 0.9195 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3094, allocations: 12 kB / 0.9195 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.31, allocations: 167.8 kB / 0.9197 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.31, allocations: 7.938 kB / 0.9197 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.3106, allocations: 147.2 kB / 0.9198 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.3106, allocations: 23.98 kB / 0.9199 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.3106, allocations: 4 kB / 0.9199 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/0.3118, allocations: 0.692 MB / 0.9205 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.3119, allocations: 0 / 0.9205 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.3119, allocations: 8 kB / 0.9206 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3123, allocations: 131.8 kB / 0.9207 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3123, allocations: 8 kB / 0.9207 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.3128, allocations: 119.4 kB / 0.9208 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3128, allocations: 20 kB / 0.9208 GB, free: 42.95 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.000351/0.3132, allocations: 308.9 kB / 0.9211 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.3133, allocations: 75.05 kB / 0.9212 GB, free: 42.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3148, allocations: 0.7495 MB / 0.9219 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3149, allocations: 11.94 kB / 0.9219 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3149, allocations: 0 / 0.9219 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3149, allocations: 3.984 kB / 0.9219 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.3155, allocations: 0.7353 MB / 0.9227 GB, free: 41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3156, allocations: 0 / 0.9227 GB, free: 41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.3161, allocations: 139.8 kB / 0.9228 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3161, allocations: 3.984 kB / 0.9228 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.3161, allocations: 12 kB / 0.9228 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3161, allocations: 4 kB / 0.9228 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3161, allocations: 0 / 0.9228 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.3183, allocations: 1.116 MB / 0.9239 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3184, allocations: 152.1 kB / 0.924 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/0.3185, allocations: 12 kB / 0.9241 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.3189, allocations: 91.91 kB / 0.9241 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3191, allocations: 48.38 kB / 0.9242 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.3191, allocations: 15.98 kB / 0.9242 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004827/0.3196, allocations: 467.1 kB / 0.9246 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3196, allocations: 0 / 0.9246 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006103/0.3202, allocations: 259 kB / 0.9249 GB, free: 38.67 MB / 0.6042 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.0001462/0.3204, allocations: 119.2 kB / 0.925 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.3226, allocations: 1.253 MB / 0.9262 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3227, allocations: 0 / 0.9262 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.3234, allocations: 354.4 kB / 0.9266 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.3241, allocations: 163.9 kB / 0.9267 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.3266, allocations: 1.592 MB / 0.9283 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.327, allocations: 0.9339 MB / 0.9292 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.3272, allocations: 59.41 kB / 0.9292 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.3273, allocations: 0 / 0.9292 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.01564/0.3429, allocations: 9.312 MB / 0.9383 GB, free: 24.82 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)