Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.567/2.567, allocations: 287.9 MB / 302.9 MB, free: 8.238 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.001444/0.001444, allocations: 179.4 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.064/2.064, 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.001019/0.001019, allocations: 87.12 kB / 0.7434 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 11.75 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001057/0.1533, allocations: 0.9469 MB / 0.9797 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1549, allocations: 1.172 MB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.1549, allocations: 3.938 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.1549, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005492/0.1555, allocations: 159.5 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.1557, allocations: 27.95 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.493e-05/0.1557, allocations: 7.984 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1557, allocations: 0 / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.1558, allocations: 15.98 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.156, allocations: 13.08 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.156, allocations: 0 / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.1563, allocations: 191.7 kB / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.1563, allocations: 7.984 kB / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.1564, allocations: 29.64 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1566, allocations: 139.8 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.719e-06/0.1566, allocations: 0 / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.91e-06/0.1566, allocations: 0 / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.002e-06/0.1566, allocations: 0 / 0.9814 GB, free: 25.46 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.0002642/0.1569, allocations: 379.6 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.157, allocations: 12.03 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.157, allocations: 75.28 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/0.1571, allocations: 254.1 kB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.1572, allocations: 150.6 kB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1572, allocations: 158.5 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.881e-05/0.1572, allocations: 101 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1573, allocations: 79.28 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.1573, allocations: 154.6 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.1573, allocations: 154.6 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.1574, allocations: 150.6 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.1576, allocations: 445.9 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.1576, allocations: 181.1 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1577, allocations: 75.28 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1577, allocations: 105.8 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.65e-06/0.1577, allocations: 0 / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.93e-05/0.1578, allocations: 29.7 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1578, allocations: 211.7 kB / 0.984 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.1579, allocations: 101.8 kB / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.158, allocations: 29.64 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.158, allocations: 80.14 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-06/0.158, allocations: 0 / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-07/0.158, allocations: 0 / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.1581, allocations: 314.8 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-06/0.1581, allocations: 0 / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.1581, allocations: 22.58 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.1581, allocations: 83.27 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.1582, allocations: 79.23 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.785e-05/0.1582, allocations: 33.64 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1583, allocations: 79.28 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.1583, allocations: 75.28 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.1583, allocations: 154.6 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.559e-05/0.1584, allocations: 87.22 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.1584, allocations: 150.6 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.1586, allocations: 91.2 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1586, allocations: 79.33 kB / 0.9854 GB, free: 21.12 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 (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 prepare postOptimizeDAE: time 7.161e-05/0.1587, allocations: 260.4 kB / 0.9856 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.1587, allocations: 112.9 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.1588, allocations: 112 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.1588, allocations: 184.3 kB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.969e-05/0.1589, allocations: 180.2 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/0.1589, allocations: 176.3 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1591, allocations: 409.2 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.1591, allocations: 104.9 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.1591, allocations: 104.9 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.702e-05/0.1592, allocations: 180.2 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.1592, allocations: 184.2 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.677e-05/0.1592, allocations: 180.5 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.79e-05/0.1593, allocations: 180.3 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.854e-05/0.1594, allocations: 307.8 kB / 0.9879 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.1594, allocations: 190.1 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.1595, allocations: 188.2 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1596, allocations: 113 kB / 0.9884 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.1597, allocations: 176.3 kB / 0.9886 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.1597, allocations: 104.9 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.1597, allocations: 83.45 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.37e-07/0.1597, allocations: 0 / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004842/0.1602, allocations: 75.98 kB / 0.9888 GB, free: 17.37 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.000767/0.161, allocations: 404 kB / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.155e-05/0.1611, allocations: 0 / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.838e-06/0.1611, allocations: 0 / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.927e-06/0.1611, allocations: 0 / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1613, allocations: 0.5263 MB / 0.9897 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.1615, allocations: 160 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.1617, allocations: 0.677 MB / 0.9905 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.091e-05/0.1617, allocations: 4 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.832e-05/0.1617, allocations: 11.44 kB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.32e-06/0.1618, allocations: 0 / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.005295/0.1671, allocations: 2.017 MB / 0.9925 GB, free: 13.58 MB / 0.6198 GB