Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadModel(Buildings): time 3.841/3.841, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.618e-05, allocations: 4 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4929, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.6898, allocations: 130.8 MB / 0.7566 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.6901, allocations: 79.91 kB / 0.7567 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06528/0.7554, allocations: 16.24 MB / 0.7726 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7554, allocations: 0 / 0.7726 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.945e-05/0.7555, allocations: 16 kB / 0.7726 GB, free: 12.38 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001849/0.7574, allocations: 0.9156 MB / 0.7735 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.7574, allocations: 16.02 kB / 0.7735 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.7576, allocations: 86.97 kB / 0.7736 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.7589, allocations: 0.5668 MB / 0.7741 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.7591, allocations: 76.72 kB / 0.7742 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.7592, allocations: 35.89 kB / 0.7742 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008876/0.7601, allocations: 326.6 kB / 0.7745 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.7612, allocations: 0.4928 MB / 0.775 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.7613, allocations: 0 / 0.775 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.7613, allocations: 4 kB / 0.775 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.7614, allocations: 12 kB / 0.775 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.7653, allocations: 1.894 MB / 0.7769 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.7664, allocations: 439.6 kB / 0.7773 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.7668, allocations: 152.8 kB / 0.7775 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.7669, allocations: 11.94 kB / 0.7775 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005725/0.7675, allocations: 225.4 kB / 0.7777 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 4.094e-06/0.7675, allocations: 7.938 kB / 0.7777 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.001001/0.7685, allocations: 380.8 kB / 0.7781 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.7687, allocations: 183.9 kB / 0.7782 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/0.7695, allocations: 459.5 kB / 0.7787 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.7695, allocations: 25.7 kB / 0.7787 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.7699, allocations: 348.8 kB / 0.779 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.7701, allocations: 145.8 kB / 0.7792 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.7701, allocations: 0 / 0.7792 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.7704, allocations: 370.8 kB / 0.7795 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.7708, allocations: 153 kB / 0.7797 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.7713, allocations: 240.9 kB / 0.7799 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.7717, allocations: 163.7 kB / 0.7801 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.074e-06/0.7717, allocations: 0 / 0.7801 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001146/0.7729, allocations: 467.2 kB / 0.7805 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004906/0.7734, allocations: 0.8095 MB / 0.7813 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.7734, allocations: 8 kB / 0.7813 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.7734, allocations: 7.984 kB / 0.7813 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.7741, allocations: 115.8 kB / 0.7814 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.7741, allocations: 7.953 kB / 0.7814 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.7747, allocations: 67.64 kB / 0.7815 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.7748, allocations: 20 kB / 0.7815 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7749, allocations: 4 kB / 0.7815 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009439/0.7758, allocations: 362.3 kB / 0.7819 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.39e-06/0.7758, allocations: 4 kB / 0.7819 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.7758, allocations: 4 kB / 0.7819 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.7764, allocations: 103.9 kB / 0.782 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7764, allocations: 4 kB / 0.782 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.7769, allocations: 39.67 kB / 0.782 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.777, allocations: 16.06 kB / 0.782 GB, free: 2.285 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0002146/0.7772, allocations: 132.8 kB / 0.7821 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.7774, allocations: 71.09 kB / 0.7822 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.7776, allocations: 66.61 kB / 0.7823 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.7776, allocations: 4 kB / 0.7823 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.164e-06/0.7776, allocations: 0 / 0.7823 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-06/0.7776, allocations: 0 / 0.7823 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009323/0.7786, allocations: 0.56 MB / 0.7828 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-06/0.7786, allocations: 0 / 0.7828 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.7792, allocations: 99.88 kB / 0.7829 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.7793, allocations: 7.953 kB / 0.7829 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.7793, allocations: 4 kB / 0.7829 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.99e-06/0.7793, allocations: 4 kB / 0.7829 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.719e-06/0.7794, allocations: 0 / 0.7829 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.7808, allocations: 0.6075 MB / 0.7835 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.7811, allocations: 192.2 kB / 0.7837 GB, free: 472 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.7813, allocations: 11.95 kB / 0.7837 GB, free: 460 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.7819, allocations: 51.95 kB / 0.7838 GB, free: 408 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.782, allocations: 39.89 kB / 0.7838 GB, free: 368 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.7821, allocations: 12 kB / 0.7838 GB, free: 356 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005784/0.7827, allocations: 351.2 kB / 0.7842 GB, free: 8 kB / 0.6511 GB Notification: Performance of sort global known variables: time 8.31e-07/0.7827, allocations: 3.938 kB / 0.7842 GB, free: 4 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009351/0.7836, allocations: 215.2 kB / 0.7844 GB, free: 15.79 MB / 0.6667 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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.0002093/0.7838, allocations: 107.2 kB / 0.7845 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.7853, allocations: 0.6774 MB / 0.7851 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.284e-06/0.7853, allocations: 0 / 0.7851 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.7857, allocations: 179.8 kB / 0.7853 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/0.7866, allocations: 158.1 kB / 0.7855 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.7888, allocations: 0.8224 MB / 0.7863 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.7896, allocations: 0.9267 MB / 0.7872 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001077/0.7907, allocations: 119 kB / 0.7873 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.7909, allocations: 43.42 kB / 0.7873 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of SimCode: time 1.964e-06/0.791, allocations: 0 / 0.7873 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of Templates: time 0.02106/0.812, allocations: 8.007 MB / 0.7951 GB, free: 4.742 MB / 0.6667 GB