Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.514/2.514, 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.00142/0.00142, allocations: 186.1 kB / 371.4 MB, free: 10.66 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.333/2.333, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001005/0.001005, allocations: 94.84 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004828, allocations: 12.06 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1506, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001887/0.1525, allocations: 1.632 MB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003646/0.1562, allocations: 3.253 MB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1563, allocations: 0 / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1565, allocations: 39.75 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.1568, allocations: 119.6 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1571, allocations: 95.75 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.1574, allocations: 163.6 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1575, allocations: 36.58 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1577, allocations: 95.66 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1579, allocations: 103.6 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.1579, allocations: 11.94 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.1581, allocations: 99.84 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.1582, allocations: 39.81 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.1582, allocations: 53.64 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1585, allocations: 175.6 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.083e-06/0.1585, allocations: 0 / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.086e-06/0.1585, allocations: 3.938 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.725e-06/0.1585, allocations: 0 / 0.9845 GB, free: 22.25 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001001/0.1595, allocations: 0.588 MB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1596, allocations: 8.031 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.1596, allocations: 23.72 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.16, allocations: 262.5 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1601, allocations: 4 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.1601, allocations: 12 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.1607, allocations: 194.8 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.635e-06/0.1607, allocations: 0 / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1608, allocations: 7.984 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1608, allocations: 4 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008378/0.1616, allocations: 231.8 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.1625, allocations: 0.4886 MB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.163, allocations: 150.6 kB / 0.9864 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008421/0.1639, allocations: 0.5728 MB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.1639, allocations: 34.56 kB / 0.987 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.29e-06/0.1639, allocations: 0 / 0.987 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00146/0.1654, allocations: 421.1 kB / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1655, allocations: 51.62 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1657, allocations: 230.7 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1657, allocations: 33.64 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.1658, allocations: 140 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.1659, allocations: 39.45 kB / 0.9879 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.1659, allocations: 0 / 0.9879 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.166, allocations: 330.8 kB / 0.9882 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.1664, allocations: 115.9 kB / 0.9883 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.1668, allocations: 119.9 kB / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.1673, allocations: 115.9 kB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-06/0.1673, allocations: 0 / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0009725/0.1683, allocations: 301.8 kB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1683, allocations: 15.92 kB / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.157e-06/0.1683, allocations: 0 / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1684, allocations: 0 / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.1688, allocations: 59.95 kB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1688, allocations: 4 kB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.1691, allocations: 39.89 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.1691, allocations: 4 kB / 0.9889 GB, free: 17.38 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 (11): * Single equations (assignments): 11 * 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.000122/0.1692, allocations: 129.8 kB / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.1693, allocations: 23.67 kB / 0.9891 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.1704, allocations: 327.2 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1704, allocations: 0 / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-06/0.1704, allocations: 3.984 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.975e-06/0.1705, allocations: 0 / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.1708, allocations: 277.4 kB / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-06/0.1708, allocations: 4 kB / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.1712, allocations: 55.94 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.094e-06/0.1712, allocations: 0 / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1712, allocations: 7.953 kB / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.391e-06/0.1712, allocations: 3.984 kB / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1712, allocations: 0 / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.1722, allocations: 403 kB / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1724, allocations: 112.8 kB / 0.9902 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.1724, allocations: 0 / 0.9902 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.1727, allocations: 39.92 kB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.1728, allocations: 19.91 kB / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.1729, allocations: 4 kB / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001438/0.173, allocations: 166 kB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.73e-07/0.173, allocations: 0 / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004181/0.1735, allocations: 59.92 kB / 0.9905 GB, free: 15.68 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 (11): * Single equations (assignments): 11 * 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.0002013/0.1737, allocations: 135.2 kB / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009464/0.1746, allocations: 259.7 kB / 0.9909 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.192e-06/0.1746, allocations: 4 kB / 0.9909 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005472/0.1752, allocations: 135.8 kB / 0.991 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1756, allocations: 28.39 kB / 0.9911 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/0.1765, allocations: 489.2 kB / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.1767, allocations: 0.7433 MB / 0.9922 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002577/0.177, allocations: 44.81 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.1771, allocations: 19.42 kB / 0.9923 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of SimCode: time 1.603e-06/0.1771, allocations: 3.938 kB / 0.9923 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.006382/0.1835, allocations: 2.302 MB / 0.9946 GB, free: 11.5 MB / 0.6198 GB