Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.553/2.553, allocations: 287.9 MB / 302.9 MB, free: 8.301 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.001399/0.001399, allocations: 179.3 kB / 371.4 MB, free: 10.69 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.037/2.037, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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.001025/0.001024, allocations: 94.42 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004824, allocations: 11 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1894, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001765/0.1913, allocations: 1.547 MB / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.1946, allocations: 3.035 MB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.1947, allocations: 0 / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.195, allocations: 43.75 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.1953, allocations: 127.6 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.216e-05/0.1954, allocations: 19.97 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1956, allocations: 123.7 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.1957, allocations: 17.69 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1959, allocations: 71.69 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.196, allocations: 71.69 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1961, allocations: 4 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.1962, allocations: 23.97 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.1962, allocations: 39.83 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1963, allocations: 53.58 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1964, allocations: 103.8 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1964, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.955e-06/0.1965, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1965, allocations: 0 / 0.9839 GB, free: 22.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007805/0.1973, allocations: 0.4993 MB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1973, allocations: 8.031 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1974, allocations: 27.7 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1977, allocations: 233.8 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1977, allocations: 4 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1978, allocations: 3.984 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.1982, allocations: 161.4 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.94e-06/0.1982, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1982, allocations: 4 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.1982, allocations: 8 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.1988, allocations: 163.7 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.1995, allocations: 464.5 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.2, allocations: 178.4 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2001, allocations: 4 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.2001, allocations: 38.52 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.356e-06/0.2001, allocations: 0 / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001001/0.2011, allocations: 311.1 kB / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.2012, allocations: 63.34 kB / 0.986 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2014, allocations: 213 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2014, allocations: 29.7 kB / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.2015, allocations: 120 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.2015, allocations: 43.39 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.2015, allocations: 4 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.2016, allocations: 330.8 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.2019, allocations: 80.19 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.2022, allocations: 87.94 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.2025, allocations: 87.94 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2025, allocations: 0 / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006513/0.2032, allocations: 235.5 kB / 0.9872 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2032, allocations: 4 kB / 0.9872 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-06/0.2032, allocations: 3.953 kB / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2032, allocations: 4 kB / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.2036, allocations: 39.91 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.163e-06/0.2036, allocations: 0 / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.2038, allocations: 19.97 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.2038, allocations: 8 kB / 0.9872 GB, free: 19.28 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.2039, allocations: 129.8 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.204, allocations: 23.72 kB / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.2041, allocations: 21.84 kB / 0.9874 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-06/0.2041, allocations: 7.891 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2041, allocations: 0 / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-06/0.2041, allocations: 3.984 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.2044, allocations: 269.5 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-06/0.2044, allocations: 0 / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.2047, allocations: 47.84 kB / 0.9877 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2047, allocations: 4 kB / 0.9877 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2048, allocations: 3.984 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.615e-06/0.2048, allocations: 3.984 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.728e-06/0.2048, allocations: 3.953 kB / 0.9877 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.2055, allocations: 335.1 kB / 0.988 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.2056, allocations: 104.9 kB / 0.9881 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.2056, allocations: 8 kB / 0.9882 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.2059, allocations: 15.98 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.206, allocations: 15.94 kB / 0.9882 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.206, allocations: 7.984 kB / 0.9882 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001327/0.2061, allocations: 156.4 kB / 0.9883 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.45e-07/0.2062, allocations: 0 / 0.9883 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003579/0.2065, allocations: 36 kB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.2067, allocations: 111.2 kB / 0.9885 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006189/0.2073, allocations: 189.4 kB / 0.9887 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.853e-06/0.2073, allocations: 3.938 kB / 0.9887 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.2076, allocations: 99.92 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.208, allocations: 30.11 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.2088, allocations: 497.4 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.209, allocations: 0.7433 MB / 0.99 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.2093, allocations: 40.61 kB / 0.99 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.2094, allocations: 19.42 kB / 0.99 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.517e-06/0.2094, allocations: 0 / 0.99 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.005135/0.2145, allocations: 1.594 MB / 0.9916 GB, free: 14.67 MB / 0.6198 GB