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.001106/0.001106, allocations: 117.5 kB / 16.38 MB, free: 6 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.001085/0.001085, allocations: 189.4 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001411/0.001411, allocations: 76.36 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2256, allocations: 114.5 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.4432/0.6689, allocations: 3.915 MB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.6715, allocations: 1.326 MB / 0.7899 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005415/0.672, allocations: 19.81 kB / 0.7899 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.6724, allocations: 128.1 kB / 0.79 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.6728, allocations: 128.1 kB / 0.7902 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.6733, allocations: 353.9 kB / 0.7905 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.6742, allocations: 1.044 MB / 0.7915 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.6749, allocations: 0.5429 MB / 0.7921 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.6752, allocations: 379 kB / 0.7924 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.6756, allocations: 415.4 kB / 0.7928 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.6757, allocations: 126.2 kB / 0.7929 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.6758, allocations: 127.6 kB / 0.7931 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.676, allocations: 233.1 kB / 0.7933 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.6762, allocations: 458.2 kB / 0.7937 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.6771, allocations: 1.347 MB / 0.795 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6772, allocations: 3.25 kB / 0.795 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.406e-06/0.6772, allocations: 0 / 0.795 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.6772, allocations: 2.531 kB / 0.795 GB, free: 45.44 MB / 0.6544 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.00214/0.6793, allocations: 1.274 MB / 0.7963 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6794, allocations: 9.469 kB / 0.7963 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.6795, allocations: 100.4 kB / 0.7964 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.6803, allocations: 0.5771 MB / 0.7969 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.6803, allocations: 61.78 kB / 0.797 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.6804, allocations: 75.77 kB / 0.7971 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6819, allocations: 0.814 MB / 0.7979 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6819, allocations: 0 / 0.7979 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.682, allocations: 28.94 kB / 0.7979 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.682, allocations: 23.31 kB / 0.7979 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.6836, allocations: 0.6836 MB / 0.7986 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.6872, allocations: 2.469 MB / 0.801 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.6891, allocations: 0.7138 MB / 0.8017 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008113/0.6899, allocations: 346.1 kB / 0.802 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.526e-05/0.69, allocations: 8.75 kB / 0.802 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009813/0.691, allocations: 370.2 kB / 0.8024 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=51): time 4.048e-06/0.691, allocations: 0 / 0.8024 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=51): time 0.002537/0.6935, allocations: 0.857 MB / 0.8032 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.6936, allocations: 140.9 kB / 0.8034 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.6945, allocations: 0.6167 MB / 0.804 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.6946, allocations: 42.27 kB / 0.804 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.6949, allocations: 378 kB / 0.8044 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.695, allocations: 171 kB / 0.8045 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.6952, allocations: 111.1 kB / 0.8046 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6953, allocations: 380.3 kB / 0.805 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/0.6961, allocations: 281.8 kB / 0.8053 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/0.6969, allocations: 421.3 kB / 0.8057 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.6985, allocations: 0.6592 MB / 0.8063 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6985, allocations: 3.469 kB / 0.8063 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001998/0.7005, allocations: 0.8145 MB / 0.8071 GB, free: 39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.7006, allocations: 65.5 kB / 0.8072 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.7006, allocations: 4.047 kB / 0.8072 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.7006, allocations: 4.969 kB / 0.8072 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.7013, allocations: 142.4 kB / 0.8073 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.7014, allocations: 5.344 kB / 0.8073 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.702, allocations: 123.3 kB / 0.8074 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.7021, allocations: 26.77 kB / 0.8075 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009158/0.703, allocations: 394.5 kB / 0.8078 GB, free: 38.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007142/0.7037, allocations: 362.9 kB / 0.8082 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001256/0.705, allocations: 0.5688 MB / 0.8087 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.705, allocations: 3.125 kB / 0.8087 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001691/0.7067, allocations: 0.7194 MB / 0.8094 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.7068, allocations: 61.89 kB / 0.8095 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.7068, allocations: 2.062 kB / 0.8095 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.7068, allocations: 4.719 kB / 0.8095 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.7073, allocations: 128.4 kB / 0.8096 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.7074, allocations: 8.969 kB / 0.8096 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.7079, allocations: 97.22 kB / 0.8097 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.708, allocations: 19.16 kB / 0.8098 GB, free: 37.7 MB / 0.6544 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.000232/0.7082, allocations: 222.2 kB / 0.81 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.7083, allocations: 67.95 kB / 0.81 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.7102, allocations: 0.6521 MB / 0.8107 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.7102, allocations: 5.297 kB / 0.8107 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7102, allocations: 1.094 kB / 0.8107 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.7102, allocations: 2.719 kB / 0.8107 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.7111, allocations: 0.7261 MB / 0.8114 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7112, allocations: 1.156 kB / 0.8114 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.7117, allocations: 125.1 kB / 0.8115 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.7117, allocations: 4.469 kB / 0.8115 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.7118, allocations: 13.36 kB / 0.8115 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.7118, allocations: 1.438 kB / 0.8115 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7118, allocations: 1.188 kB / 0.8115 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.7142, allocations: 0.9874 MB / 0.8125 GB, free: 36.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.7144, allocations: 155.6 kB / 0.8126 GB, free: 36.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.7145, allocations: 12.14 kB / 0.8126 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.7149, allocations: 63.89 kB / 0.8127 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.7151, allocations: 48.88 kB / 0.8128 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.7151, allocations: 16.62 kB / 0.8128 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005241/0.7156, allocations: 437.7 kB / 0.8132 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7156, allocations: 0.9375 kB / 0.8132 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007583/0.7164, allocations: 262.3 kB / 0.8134 GB, free: 35.93 MB / 0.6544 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.0001422/0.7166, allocations: 124.6 kB / 0.8136 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.7191, allocations: 1.148 MB / 0.8147 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7191, allocations: 0 / 0.8147 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.72, allocations: 311.5 kB / 0.815 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.7206, allocations: 131.8 kB / 0.8151 GB, free: 35.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.7228, allocations: 1.229 MB / 0.8163 GB, free: 34.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.7232, allocations: 0.9235 MB / 0.8172 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.7234, allocations: 57.12 kB / 0.8173 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.7234, allocations: 5.469 kB / 0.8173 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.0185/0.7419, allocations: 8.935 MB / 0.826 GB, free: 32.9 MB / 0.6544 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)