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.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.174/4.174, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.327e-05, allocations: 2.875 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2178, allocations: 98.74 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/0.4568, allocations: 131.3 MB / 0.7629 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.4572, allocations: 75.95 kB / 0.763 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05379/0.511, allocations: 12.63 MB / 0.7753 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.894e-06/0.511, allocations: 4 kB / 0.7753 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.113e-05/0.5111, allocations: 24.12 kB / 0.7753 GB, free: 1.688 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002414/0.5135, allocations: 0.8685 MB / 0.7762 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5136, allocations: 15.97 kB / 0.7762 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002356/0.5138, allocations: 106.5 kB / 0.7763 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.5141, allocations: 90.95 kB / 0.7764 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5398/1.054, allocations: 0.518 MB / 0.7769 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/1.054, allocations: 44.81 kB / 0.7769 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/1.054, allocations: 57.45 kB / 0.777 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/1.056, allocations: 0.6058 MB / 0.7776 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/1.056, allocations: 3.484 kB / 0.7776 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/1.056, allocations: 26.72 kB / 0.7776 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/1.056, allocations: 14.44 kB / 0.7776 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/1.058, allocations: 429.7 kB / 0.778 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/1.063, allocations: 2.097 MB / 0.7801 GB, free: 133 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.064, allocations: 435 kB / 0.7805 GB, free: 133 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/1.064, allocations: 216.9 kB / 0.7807 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.899e-05/1.064, allocations: 11.09 kB / 0.7807 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006573/1.065, allocations: 253.8 kB / 0.781 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 3.937e-06/1.065, allocations: 0 / 0.781 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.00132/1.066, allocations: 435.7 kB / 0.7814 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/1.067, allocations: 162.2 kB / 0.7815 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009144/1.067, allocations: 395.5 kB / 0.7819 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.068, allocations: 38.33 kB / 0.7819 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/1.068, allocations: 319.6 kB / 0.7822 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.068, allocations: 175.3 kB / 0.7824 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/1.068, allocations: 10.41 kB / 0.7824 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.069, allocations: 362.5 kB / 0.7828 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/1.069, allocations: 158.1 kB / 0.7829 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/1.07, allocations: 259.6 kB / 0.7832 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/1.07, allocations: 210.4 kB / 0.7834 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/1.07, allocations: 1.25 kB / 0.7834 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001415/1.072, allocations: 0.527 MB / 0.7839 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.072, allocations: 0.6466 MB / 0.7845 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/1.072, allocations: 4.312 kB / 0.7845 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/1.072, allocations: 6.219 kB / 0.7845 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.073, allocations: 124.5 kB / 0.7846 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/1.073, allocations: 5.25 kB / 0.7846 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008653/1.074, allocations: 81.97 kB / 0.7847 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/1.074, allocations: 19.69 kB / 0.7847 GB, free: 131 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.074, allocations: 6.25 kB / 0.7847 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/1.075, allocations: 461.2 kB / 0.7852 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.075, allocations: 1.562 kB / 0.7852 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/1.075, allocations: 8.5 kB / 0.7852 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/1.076, allocations: 107.5 kB / 0.7853 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.076, allocations: 4.328 kB / 0.7853 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/1.077, allocations: 74 kB / 0.7854 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/1.077, allocations: 19.64 kB / 0.7854 GB, free: 131 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.000242/1.077, allocations: 141.6 kB / 0.7855 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/1.077, allocations: 55.94 kB / 0.7856 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/1.078, allocations: 64.44 kB / 0.7856 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.078, allocations: 5.406 kB / 0.7856 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.078, allocations: 1.406 kB / 0.7856 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.078, allocations: 3.703 kB / 0.7857 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/1.08, allocations: 1.224 MB / 0.7868 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.08, allocations: 1.734 kB / 0.7868 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/1.081, allocations: 109.4 kB / 0.787 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.081, allocations: 1.281 kB / 0.787 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/1.081, allocations: 12.98 kB / 0.787 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/1.081, allocations: 2.688 kB / 0.787 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.081, allocations: 7.641 kB / 0.787 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/1.083, allocations: 0.7545 MB / 0.7877 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/1.083, allocations: 179.2 kB / 0.7879 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.084, allocations: 13.84 kB / 0.7879 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/1.084, allocations: 56.3 kB / 0.788 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.084, allocations: 34.06 kB / 0.788 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/1.085, allocations: 17.73 kB / 0.788 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005422/1.085, allocations: 312.5 kB / 0.7883 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.085, allocations: 0 / 0.7883 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001042/1.086, allocations: 270 kB / 0.7886 GB, free: 130 MB / 0.6511 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.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.002027/1.088, allocations: 1.314 MB / 0.7898 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.09, allocations: 0.7573 MB / 0.7906 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.09, allocations: 1.375 kB / 0.7906 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/1.091, allocations: 210.3 kB / 0.7908 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.092, allocations: 130.4 kB / 0.7909 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/1.097, allocations: 1.401 MB / 0.7923 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.097, allocations: 0.9042 MB / 0.7932 GB, free: 128 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007939/1.098, allocations: 104.6 kB / 0.7933 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/1.098, allocations: 218.3 kB / 0.7935 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.098, allocations: 0 / 0.7935 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05756/1.156, allocations: 12.78 MB / 0.8059 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/1.156, allocations: 166.3 kB / 0.8061 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/4.287, allocations: 0 / 0.8061 GB, free: 126.8 MB / 0.6511 GB