Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.535/2.535, allocations: 287.9 MB / 302.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 181.1 kB / 371.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.274/2.274, allocations: 205.4 MB / 0.6301 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001005, allocations: 90.16 kB / 0.7434 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004565, allocations: 14.73 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1645, allocations: 115.3 MB / 0.9788 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003489/0.1681, allocations: 3.287 MB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1701, allocations: 1.229 MB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.1705, allocations: 15.94 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1706, allocations: 67.23 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.1711, allocations: 135.5 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.1717, allocations: 223.7 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006408/0.1723, allocations: 0.5575 MB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000545/0.1729, allocations: 367.6 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.1731, allocations: 226.8 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.1734, allocations: 278.3 kB / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.1735, allocations: 24 kB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.1736, allocations: 28 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.1737, allocations: 111.4 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1738, allocations: 161.3 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008222/0.1746, allocations: 1.021 MB / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.683e-06/0.1746, allocations: 4 kB / 0.9863 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.333e-06/0.1747, allocations: 0 / 0.9863 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.1747, allocations: 0 / 0.9863 GB, free: 20.48 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.002222/0.1769, allocations: 1.173 MB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.177, allocations: 8.031 kB / 0.9874 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.1771, allocations: 98.81 kB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.178, allocations: 0.559 MB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.1781, allocations: 61.98 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.1782, allocations: 72 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.1812, allocations: 0.8384 MB / 0.989 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.1813, allocations: 0 / 0.989 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.1815, allocations: 36 kB / 0.9891 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.1815, allocations: 19.98 kB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.1859, allocations: 0.7534 MB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007628/0.1936, allocations: 2.52 MB / 0.9923 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004511/0.1982, allocations: 0.8244 MB / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/0.1983, allocations: 8.438 kB / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/0.2005, allocations: 413.1 kB / 0.9935 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 7.259e-06/0.2005, allocations: 0 / 0.9935 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.005314/0.2058, allocations: 0.9823 MB / 0.9944 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2059, allocations: 133 kB / 0.9946 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.2068, allocations: 0.6134 MB / 0.9952 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.2069, allocations: 37.7 kB / 0.9952 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.2072, allocations: 385.1 kB / 0.9956 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.2073, allocations: 169.5 kB / 0.9957 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.2074, allocations: 12 kB / 0.9957 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2075, allocations: 378.8 kB / 0.9961 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00097/0.2085, allocations: 305 kB / 0.9964 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.2095, allocations: 457.1 kB / 0.9968 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/0.2105, allocations: 389.3 kB / 0.9972 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.118e-06/0.2105, allocations: 4 kB / 0.9972 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002309/0.2129, allocations: 0.8842 MB / 0.9981 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.2131, allocations: 0.9332 MB / 0.999 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2132, allocations: 4 kB / 0.999 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.2132, allocations: 7.938 kB / 0.999 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007785/0.214, allocations: 159.8 kB / 0.9991 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.214, allocations: 7.938 kB / 0.9991 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/0.2148, allocations: 159.2 kB / 0.9993 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.2149, allocations: 23.98 kB / 0.9993 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2149, allocations: 5.719 kB / 0.9993 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001745/0.2166, allocations: 0.6843 MB / 1 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.774e-06/0.2167, allocations: 4 kB / 1 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.402e-06/0.2167, allocations: 8 kB / 1 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.2173, allocations: 135.8 kB / 1 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2173, allocations: 4 kB / 1 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.218, allocations: 115.4 kB / 1 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.2181, allocations: 32 kB / 1 GB, free: 5.672 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.0004305/0.2185, allocations: 305.5 kB / 1.001 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2186, allocations: 67.16 kB / 1.001 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.2207, allocations: 0.7372 MB / 1.001 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.917e-06/0.2207, allocations: 8 kB / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.679e-06/0.2207, allocations: 0 / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.991e-06/0.2207, allocations: 3.984 kB / 1.001 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/0.2216, allocations: 0.7237 MB / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.186e-06/0.2216, allocations: 4 kB / 1.002 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.2223, allocations: 143.8 kB / 1.002 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.15e-06/0.2223, allocations: 0 / 1.002 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.2224, allocations: 12 kB / 1.002 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.266e-06/0.2224, allocations: 3.984 kB / 1.002 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.243e-06/0.2224, allocations: 4 kB / 1.002 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.2254, allocations: 1.108 MB / 1.003 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.2256, allocations: 152.2 kB / 1.003 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2257, allocations: 15.98 kB / 1.003 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.2263, allocations: 87.92 kB / 1.004 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.2264, allocations: 48.36 kB / 1.004 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.2265, allocations: 23.98 kB / 1.004 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006041/0.2271, allocations: 427.1 kB / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.42e-07/0.2271, allocations: 0 / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008639/0.228, allocations: 258.9 kB / 1.004 GB, free: 1.461 MB / 0.6198 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.0001433/0.2282, allocations: 119.2 kB / 1.004 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003025/0.2312, allocations: 1.249 MB / 1.006 GB, free: 40 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.2312, allocations: 0 / 1.006 GB, free: 40 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.2325, allocations: 350.9 kB / 1.006 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.2332, allocations: 122.4 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.2365, allocations: 1.463 MB / 1.007 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.2373, allocations: 0.9378 MB / 1.008 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005666/0.2378, allocations: 72.89 kB / 1.008 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.2381, allocations: 59.42 kB / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.86e-06/0.2381, allocations: 0 / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.02029/0.2584, allocations: 6.925 MB / 1.015 GB, free: 6.117 MB / 0.6355 GB