Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.668/2.668, allocations: 287.9 MB / 302.9 MB, free: 8.297 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.0025/0.0025, allocations: 188 kB / 371.4 MB, free: 10.67 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.992/1.992, 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.001019/0.001019, allocations: 102.8 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 18.78 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1529, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00398/0.1569, allocations: 3.42 MB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1594, allocations: 1.287 MB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004492/0.1599, allocations: 23.88 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.16, allocations: 59.36 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.1606, allocations: 227.2 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.1615, allocations: 295.8 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007424/0.1623, allocations: 0.5899 MB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.1627, allocations: 299.5 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.163, allocations: 234.9 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1633, allocations: 246.6 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.649e-05/0.1633, allocations: 24 kB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.1634, allocations: 24 kB / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.1635, allocations: 95.53 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1637, allocations: 153.3 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007172/0.1644, allocations: 0.8027 MB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1644, allocations: 0 / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.1644, allocations: 0 / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.1644, allocations: 0 / 0.9863 GB, free: 20.42 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001577/0.166, allocations: 0.961 MB / 0.9872 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1661, allocations: 20 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1662, allocations: 83.06 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.1671, allocations: 0.5251 MB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.1672, allocations: 45.31 kB / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1673, allocations: 60 kB / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.1686, allocations: 0.5998 MB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.1687, allocations: 7.938 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.1687, allocations: 20 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1688, allocations: 16 kB / 0.9886 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.17, allocations: 465 kB / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.1733, allocations: 2.028 MB / 0.991 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1744, allocations: 457 kB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.1745, allocations: 8.422 kB / 0.9914 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006583/0.1751, allocations: 265.2 kB / 0.9917 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 4.516e-06/0.1752, allocations: 7.938 kB / 0.9917 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001569/0.1768, allocations: 0.589 MB / 0.9923 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1768, allocations: 59.84 kB / 0.9923 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.1774, allocations: 445.9 kB / 0.9928 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.1774, allocations: 37.7 kB / 0.9928 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.1777, allocations: 324.3 kB / 0.9931 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1778, allocations: 165.6 kB / 0.9933 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.1779, allocations: 12 kB / 0.9933 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.178, allocations: 362.8 kB / 0.9936 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.1785, allocations: 177 kB / 0.9938 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.179, allocations: 249.8 kB / 0.994 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.1796, allocations: 223.9 kB / 0.9942 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.656e-06/0.1796, allocations: 0 / 0.9942 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001322/0.1809, allocations: 0.5662 MB / 0.9948 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.181, allocations: 37.69 kB / 0.9948 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.181, allocations: 3.953 kB / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.181, allocations: 11.94 kB / 0.9948 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.1816, allocations: 111.9 kB / 0.995 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.1817, allocations: 7.938 kB / 0.995 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.1821, allocations: 71.75 kB / 0.995 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.1822, allocations: 20 kB / 0.9951 GB, free: 11.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003239/0.1825, allocations: 201.8 kB / 0.9952 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.1826, allocations: 59.33 kB / 0.9953 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.1828, allocations: 61.59 kB / 0.9954 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.533e-06/0.1828, allocations: 7.953 kB / 0.9954 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1828, allocations: 4 kB / 0.9954 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.602e-06/0.1828, allocations: 3.984 kB / 0.9954 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.185, allocations: 1.185 MB / 0.9965 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.389e-06/0.185, allocations: 0 / 0.9965 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.1856, allocations: 103.9 kB / 0.9966 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.1857, allocations: 7.953 kB / 0.9966 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.1857, allocations: 4 kB / 0.9966 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.879e-06/0.1857, allocations: 7.938 kB / 0.9966 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.294e-06/0.1857, allocations: 0 / 0.9966 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.1881, allocations: 0.7757 MB / 0.9974 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.1886, allocations: 168.4 kB / 0.9976 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.1888, allocations: 15.95 kB / 0.9976 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008965/0.1898, allocations: 31.91 kB / 0.9976 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.19, allocations: 40.38 kB / 0.9977 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-05/0.1901, allocations: 23.98 kB / 0.9977 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008779/0.191, allocations: 306.9 kB / 0.998 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.31e-07/0.191, allocations: 3.938 kB / 0.998 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001227/0.1923, allocations: 139.4 kB / 0.9981 GB, free: 7.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0002363/0.1925, allocations: 113.3 kB / 0.9982 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002178/0.1947, allocations: 493 kB / 0.9987 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.1948, allocations: 0 / 0.9987 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.1958, allocations: 226.8 kB / 0.9989 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.1973, allocations: 127.1 kB / 0.999 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/0.2033, allocations: 1.618 MB / 1.001 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.204, allocations: 0.9019 MB / 1.001 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000824/0.2049, allocations: 64.58 kB / 1.002 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.2052, allocations: 43.44 kB / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of SimCode: time 2.638e-06/0.2052, allocations: 0 / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of Templates: time 0.02614/0.2313, allocations: 5.345 MB / 1.007 GB, free: 15 MB / 0.6355 GB