Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.531/2.531, allocations: 287.9 MB / 302.9 MB, free: 8.277 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.001403/0.001403, allocations: 175.3 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.047/2.047, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001029/0.001029, allocations: 98.34 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004698, allocations: 10.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1553, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001098/0.1565, allocations: 0.9375 MB / 0.9797 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001724/0.1567, allocations: 45.56 kB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.1567, allocations: 0 / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.1567, allocations: 0 / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1568, allocations: 3.984 kB / 0.9797 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.157, allocations: 15.98 kB / 0.9797 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.157, allocations: 7.984 kB / 0.9797 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.1571, allocations: 0 / 0.9797 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.1571, allocations: 4 kB / 0.9797 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.2e-05/0.1571, allocations: 11.92 kB / 0.9798 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1572, allocations: 3.938 kB / 0.9798 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.1572, allocations: 8 kB / 0.9798 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.1573, allocations: 39.89 kB / 0.9798 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1573, allocations: 41.64 kB / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.1574, allocations: 48.12 kB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.516e-06/0.1574, allocations: 3.938 kB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.85e-06/0.1574, allocations: 0 / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.957e-06/0.1575, allocations: 0 / 0.9799 GB, free: 26.98 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002991/0.1578, allocations: 407.8 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1578, allocations: 8.031 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.1579, allocations: 87.09 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.158, allocations: 270.1 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.158, allocations: 154.6 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1581, allocations: 150.6 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.559e-05/0.1581, allocations: 104.9 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1582, allocations: 75.28 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1582, allocations: 150.6 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.1582, allocations: 158.6 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/0.1583, allocations: 154.6 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.1585, allocations: 497.7 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.1586, allocations: 177.1 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1586, allocations: 75.28 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1586, allocations: 109.8 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.83e-06/0.1587, allocations: 0 / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.109e-05/0.1587, allocations: 37.66 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1588, allocations: 126.7 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.159, allocations: 227 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.159, allocations: 25.7 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.1591, allocations: 116.2 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-06/0.1591, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-06/0.1591, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.1592, allocations: 326.8 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.1593, allocations: 68.02 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.1594, allocations: 54.03 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/0.1595, allocations: 60.7 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.949e-06/0.1595, allocations: 7.953 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000314/0.1598, allocations: 168.4 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1599, allocations: 10.03 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.051e-06/0.1599, allocations: 4.062 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1599, allocations: 0 / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.576e-06/0.1599, allocations: 0 / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.557e-06/0.1599, allocations: 0 / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.16, allocations: 23.67 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.16, allocations: 4 kB / 0.9836 GB, free: 23.01 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 9.022e-05/0.1601, allocations: 201.1 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.1602, allocations: 120.8 kB / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.1602, allocations: 113.5 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/0.1603, allocations: 184.1 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-05/0.1603, allocations: 188.2 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.1604, allocations: 176.3 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1606, allocations: 441.1 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.1606, allocations: 105 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.1606, allocations: 112.9 kB / 0.9851 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.973e-05/0.1607, allocations: 177.3 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.1607, allocations: 180.3 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-05/0.1607, allocations: 180.2 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-05/0.1608, allocations: 180.3 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8e-05/0.1609, allocations: 319.6 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.1609, allocations: 193.9 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.161, allocations: 188.4 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.1611, allocations: 101 kB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1611, allocations: 188.2 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1611, allocations: 109 kB / 0.9869 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001234/0.1613, allocations: 152.6 kB / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.73e-07/0.1613, allocations: 0 / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000323/0.1616, allocations: 24 kB / 0.987 GB, free: 19.23 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 (0): * Single equations (assignments): 0 * 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.0001277/0.1618, allocations: 174.5 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1619, allocations: 91.78 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.743e-06/0.162, allocations: 0 / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.005e-06/0.162, allocations: 7.984 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.1622, allocations: 0.5224 MB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.1626, allocations: 305.4 kB / 0.9881 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.1628, allocations: 0.7188 MB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.1628, allocations: 11.98 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.1628, allocations: 7.438 kB / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.333e-06/0.1628, allocations: 0 / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.003238/0.1661, allocations: 0.6807 MB / 0.9895 GB, free: 16.66 MB / 0.6198 GB