Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.528/2.528, allocations: 287.9 MB / 302.9 MB, free: 8.242 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.00212/0.00212, allocations: 173.2 kB / 371.4 MB, free: 10.68 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.141/2.141, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001572/0.001572, allocations: 89.09 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004772, allocations: 11.09 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1564, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003625/0.1601, allocations: 2.999 MB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006715/0.1669, allocations: 2.408 MB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.1677, allocations: 11.94 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.1692, allocations: 286.8 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.1704, allocations: 394.8 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1718, allocations: 431.2 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.173, allocations: 0.7719 MB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.1732, allocations: 131.5 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005226/0.1738, allocations: 311 kB / 0.9863 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.1742, allocations: 334.7 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.1743, allocations: 31.98 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1744, allocations: 28 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.1748, allocations: 311.1 kB / 0.9869 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1749, allocations: 193.2 kB / 0.9871 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.1755, allocations: 0.67 MB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.73e-06/0.1755, allocations: 0 / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.997e-06/0.1756, allocations: 0 / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.1756, allocations: 0 / 0.9878 GB, free: 18.91 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00191/0.1775, allocations: 1.14 MB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1775, allocations: 8.031 kB / 0.9889 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.1777, allocations: 102.8 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.1787, allocations: 0.5812 MB / 0.9896 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.1788, allocations: 36.66 kB / 0.9896 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-05/0.1789, allocations: 59.91 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.1796, allocations: 411 kB / 0.9901 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1796, allocations: 3.938 kB / 0.9901 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.1797, allocations: 12 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1797, allocations: 8 kB / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.1802, allocations: 242.4 kB / 0.9903 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.1832, allocations: 2.49 MB / 0.9927 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.185, allocations: 0.5564 MB / 0.9933 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.185, allocations: 4 kB / 0.9933 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.185, allocations: 38.5 kB / 0.9933 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.6e-06/0.185, allocations: 0 / 0.9933 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.001826/0.1869, allocations: 0.8862 MB / 0.9942 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.1869, allocations: 59.41 kB / 0.9942 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.1882, allocations: 0.8957 MB / 0.9951 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.1883, allocations: 37.7 kB / 0.9952 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.1885, allocations: 364.8 kB / 0.9955 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1887, allocations: 118.3 kB / 0.9956 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1887, allocations: 16 kB / 0.9956 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1889, allocations: 398.7 kB / 0.996 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.1893, allocations: 241.8 kB / 0.9962 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.19, allocations: 0.6387 MB / 0.9969 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.1906, allocations: 335.4 kB / 0.9972 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.1907, allocations: 4 kB / 0.9972 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001955/0.1926, allocations: 1.014 MB / 0.9982 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1927, allocations: 19.97 kB / 0.9982 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.1927, allocations: 12 kB / 0.9982 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004666/0.1932, allocations: 122.4 kB / 0.9983 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.194, allocations: 195.7 kB / 0.9985 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.1971, allocations: 4.181 MB / 1.003 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.1983, allocations: 127.3 kB / 1.003 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.1984, allocations: 44 kB / 1.003 GB, free: 2.508 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003727/0.1987, allocations: 265.5 kB / 1.003 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.1989, allocations: 78.97 kB / 1.003 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.199, allocations: 80.52 kB / 1.003 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1991, allocations: 7.984 kB / 1.003 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.1991, allocations: 4 kB / 1.003 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-06/0.1991, allocations: 3.953 kB / 1.003 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.1999, allocations: 0.6414 MB / 1.004 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-06/0.1999, allocations: 0 / 1.004 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.2004, allocations: 71.89 kB / 1.004 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003851/0.2008, allocations: 94.5 kB / 1.004 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.2008, allocations: 11.98 kB / 1.004 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004156/0.205, allocations: 4.165 MB / 1.008 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.667e-06/0.205, allocations: 0 / 1.008 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.2067, allocations: 0.7315 MB / 1.009 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.2071, allocations: 207.9 kB / 1.009 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.2073, allocations: 8 kB / 1.009 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.2079, allocations: 23.97 kB / 1.009 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.208, allocations: 39.89 kB / 1.009 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.208, allocations: 7.953 kB / 1.009 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001127/0.2091, allocations: 0.5927 MB / 1.01 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.64e-07/0.2092, allocations: 0 / 1.01 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001269/0.2104, allocations: 267.8 kB / 1.01 GB, free: 10.71 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001876/0.2107, allocations: 111.2 kB / 1.01 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002516/0.2132, allocations: 0.9143 MB / 1.011 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.199e-06/0.2132, allocations: 4.062 kB / 1.011 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.2148, allocations: 0.535 MB / 1.011 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.2168, allocations: 163.4 kB / 1.012 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/0.2228, allocations: 2.03 MB / 1.014 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.2242, allocations: 1.007 MB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001041/0.2253, allocations: 141.2 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.2256, allocations: 43.44 kB / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of SimCode: time 2.205e-06/0.2257, allocations: 0 / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of Templates: time 0.02486/0.2506, allocations: 8.841 MB / 1.023 GB, free: 12.89 MB / 0.6511 GB