Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.201/4.201, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.446e-05, allocations: 8.75 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2219, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2548/0.4768, allocations: 131.5 MB / 0.7631 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.4772, allocations: 75.95 kB / 0.7632 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5936/1.071, allocations: 16.34 MB / 0.7791 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/1.071, allocations: 0 / 0.7791 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.395e-05/1.071, allocations: 18.34 kB / 0.7791 GB, free: 135.3 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.002544/1.074, allocations: 0.9214 MB / 0.78 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/1.074, allocations: 9.875 kB / 0.7801 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002072/1.074, allocations: 89.12 kB / 0.7801 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/1.074, allocations: 91.75 kB / 0.7802 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.076, allocations: 0.5587 MB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/1.076, allocations: 103 kB / 0.7809 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/1.076, allocations: 51.41 kB / 0.7809 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/1.078, allocations: 0.5472 MB / 0.7815 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.078, allocations: 5.516 kB / 0.7815 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/1.078, allocations: 23.95 kB / 0.7815 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.078, allocations: 11.94 kB / 0.7815 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1.079, allocations: 356 kB / 0.7818 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005403/1.084, allocations: 1.996 MB / 0.7838 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.086, allocations: 460.1 kB / 0.7842 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/1.086, allocations: 164.4 kB / 0.7844 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.314e-05/1.086, allocations: 7.031 kB / 0.7844 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007337/1.087, allocations: 256.7 kB / 0.7846 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 3.126e-06/1.087, allocations: 0.9062 kB / 0.7846 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.00129/1.088, allocations: 406 kB / 0.785 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/1.089, allocations: 192.6 kB / 0.7852 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.09, allocations: 0.5078 MB / 0.7857 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/1.09, allocations: 37.14 kB / 0.7857 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/1.09, allocations: 342.6 kB / 0.7861 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/1.09, allocations: 153.4 kB / 0.7862 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/1.091, allocations: 10.09 kB / 0.7862 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.091, allocations: 383.1 kB / 0.7866 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/1.091, allocations: 140.9 kB / 0.7867 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/1.092, allocations: 266.7 kB / 0.787 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/1.092, allocations: 189.9 kB / 0.7871 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/1.092, allocations: 1.344 kB / 0.7871 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001652/1.094, allocations: 0.5188 MB / 0.7877 GB, free: 132 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00025/1.094, allocations: 0.8165 MB / 0.7885 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.094, allocations: 7.672 kB / 0.7885 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.57e-05/1.094, allocations: 12.34 kB / 0.7885 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.095, allocations: 114.6 kB / 0.7886 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/1.096, allocations: 4.484 kB / 0.7886 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.097, allocations: 80.11 kB / 0.7887 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/1.097, allocations: 19.3 kB / 0.7887 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.097, allocations: 7.688 kB / 0.7887 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/1.098, allocations: 435.2 kB / 0.7891 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.098, allocations: 2.531 kB / 0.7891 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.098, allocations: 8.766 kB / 0.7891 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/1.099, allocations: 93.83 kB / 0.7892 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.099, allocations: 10.05 kB / 0.7892 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/1.1, allocations: 60 kB / 0.7893 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/1.1, allocations: 18.12 kB / 0.7893 GB, free: 131 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.0002677/1.1, allocations: 136.2 kB / 0.7894 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/1.1, allocations: 72.75 kB / 0.7895 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/1.1, allocations: 77.61 kB / 0.7896 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.1, allocations: 4.281 kB / 0.7896 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.101, allocations: 0.75 kB / 0.7896 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.101, allocations: 11.66 kB / 0.7896 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/1.102, allocations: 0.6333 MB / 0.7902 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.102, allocations: 0 / 0.7902 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.103, allocations: 96.59 kB / 0.7903 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.103, allocations: 2.156 kB / 0.7903 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/1.103, allocations: 11.75 kB / 0.7903 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.103, allocations: 1.281 kB / 0.7903 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.103, allocations: 1.938 kB / 0.7903 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/1.105, allocations: 0.6371 MB / 0.7909 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/1.105, allocations: 200.7 kB / 0.7911 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.105, allocations: 10.73 kB / 0.7911 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.106, allocations: 60.05 kB / 0.7912 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.107, allocations: 37.39 kB / 0.7912 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/1.107, allocations: 17.28 kB / 0.7912 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008462/1.108, allocations: 407.3 kB / 0.7916 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.515e-06/1.108, allocations: 0 / 0.7916 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001099/1.109, allocations: 229.4 kB / 0.7918 GB, free: 130.2 MB / 0.6511 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.002175/1.111, allocations: 1.212 MB / 0.793 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00205/1.113, allocations: 0.7149 MB / 0.7937 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.113, allocations: 1.484 kB / 0.7937 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/1.114, allocations: 189.2 kB / 0.7939 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.115, allocations: 160.8 kB / 0.7941 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/1.12, allocations: 0.9776 MB / 0.795 GB, free: 129 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/1.12, allocations: 0.9205 MB / 0.7959 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001127/1.121, allocations: 132.8 kB / 0.796 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/1.122, allocations: 240.2 kB / 0.7963 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.122, allocations: 0 / 0.7963 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/1.174, allocations: 14.57 MB / 0.8105 GB, free: 126 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/1.174, allocations: 150.1 kB / 0.8106 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/4.23, allocations: 0 / 0.8106 GB, free: 125.8 MB / 0.6511 GB