Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.433/2.433, allocations: 287.9 MB / 302.9 MB, free: 8.383 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.001456/0.001456, allocations: 173.1 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 1.938/1.938, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.001078/0.001077, allocations: 102.8 kB / 0.7434 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004647, allocations: 19 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 115.2 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003536/0.1578, allocations: 3.15 MB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.1605, allocations: 1.256 MB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006444/0.1612, allocations: 23.88 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1613, allocations: 47.39 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007542/0.1621, allocations: 199.2 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1635, allocations: 459.4 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.1647, allocations: 0.5983 MB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.1652, allocations: 259.1 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.1656, allocations: 302.6 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.1659, allocations: 262.4 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.166, allocations: 20 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.1661, allocations: 23.94 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.1662, allocations: 103.5 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1663, allocations: 145.2 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.1669, allocations: 0.6198 MB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.014e-06/0.1669, allocations: 0 / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.775e-06/0.1669, allocations: 0 / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.1669, allocations: 4 kB / 0.986 GB, free: 20.71 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001917/0.1689, allocations: 1.071 MB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1689, allocations: 12.02 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.1691, allocations: 94.88 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1703, allocations: 0.5745 MB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1704, allocations: 100.4 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.384e-05/0.1705, allocations: 55.94 kB / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.1719, allocations: 0.608 MB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1719, allocations: 0 / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.172, allocations: 20 kB / 0.9885 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.172, allocations: 12 kB / 0.9885 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.1732, allocations: 443.6 kB / 0.9889 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.1764, allocations: 2.137 MB / 0.991 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.178, allocations: 0.5235 MB / 0.9915 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.1781, allocations: 8 kB / 0.9915 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008046/0.1789, allocations: 294.9 kB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 4.092e-06/0.1789, allocations: 0 / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001872/0.1808, allocations: 0.6373 MB / 0.9924 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1809, allocations: 88.86 kB / 0.9925 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.1817, allocations: 0.61 MB / 0.9931 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/0.1818, allocations: 33.7 kB / 0.9931 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.1821, allocations: 368.6 kB / 0.9935 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1822, allocations: 153.9 kB / 0.9936 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.1822, allocations: 19.94 kB / 0.9936 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.1823, allocations: 329.9 kB / 0.994 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.1829, allocations: 185 kB / 0.9941 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.1836, allocations: 280.2 kB / 0.9944 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.1842, allocations: 238.4 kB / 0.9946 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.406e-06/0.1842, allocations: 0 / 0.9946 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00152/0.1857, allocations: 0.6102 MB / 0.9952 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.186, allocations: 0.9997 MB / 0.9962 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.186, allocations: 4 kB / 0.9962 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1861, allocations: 4 kB / 0.9962 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.1866, allocations: 107.9 kB / 0.9963 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1867, allocations: 11.94 kB / 0.9963 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.1872, allocations: 67.5 kB / 0.9964 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.1873, allocations: 20 kB / 0.9964 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1873, allocations: 4 kB / 0.9964 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001282/0.1886, allocations: 0.4998 MB / 0.9969 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.524e-06/0.1886, allocations: 7.953 kB / 0.9969 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.253e-06/0.1886, allocations: 4 kB / 0.9969 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.1892, allocations: 104.2 kB / 0.997 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1892, allocations: 11.92 kB / 0.997 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.1897, allocations: 67.41 kB / 0.9971 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.1897, allocations: 16 kB / 0.9971 GB, free: 8.891 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0003488/0.1901, allocations: 269 kB / 0.9974 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1902, allocations: 75.16 kB / 0.9974 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.1904, allocations: 87.28 kB / 0.9975 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.399e-06/0.1904, allocations: 8 kB / 0.9975 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.615e-06/0.1904, allocations: 0 / 0.9975 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.342e-06/0.1904, allocations: 7.969 kB / 0.9975 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007087/0.1912, allocations: 0.618 MB / 0.9981 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.116e-06/0.1912, allocations: 4 kB / 0.9981 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/0.1918, allocations: 91.88 kB / 0.9982 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.648e-06/0.1918, allocations: 4 kB / 0.9982 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.1919, allocations: 12 kB / 0.9982 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.662e-06/0.1919, allocations: 7.891 kB / 0.9982 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1919, allocations: 0 / 0.9982 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.1938, allocations: 0.7448 MB / 0.999 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.1941, allocations: 192.1 kB / 0.9991 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.1942, allocations: 11.94 kB / 0.9992 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.1947, allocations: 43.95 kB / 0.9992 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.1948, allocations: 39.91 kB / 0.9992 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.1949, allocations: 19.92 kB / 0.9993 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006044/0.1955, allocations: 427 kB / 0.9997 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.28e-07/0.1955, allocations: 0 / 0.9997 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000767/0.1963, allocations: 219.3 kB / 0.9999 GB, free: 5.941 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001407/0.1964, allocations: 111.1 kB / 1 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.1984, allocations: 0.8123 MB / 1.001 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.423e-06/0.1984, allocations: 0 / 1.001 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005869/0.199, allocations: 224.3 kB / 1.001 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000937/0.1999, allocations: 165.7 kB / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.2023, allocations: 1.38 MB / 1.002 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.2026, allocations: 0.9378 MB / 1.003 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000536/0.2032, allocations: 89.33 kB / 1.003 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.2034, allocations: 59.36 kB / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of SimCode: time 1.726e-06/0.2034, allocations: 0 / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of Templates: time 0.01849/0.2219, allocations: 6.889 MB / 1.01 GB, free: 11.28 MB / 0.6355 GB