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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.22/4.22, allocations: 433.2 MB / 440.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.914e-05, allocations: 2.25 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2023, allocations: 98.75 MB / 0.6289 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.4498, allocations: 130.8 MB / 0.7566 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/0.4502, allocations: 75.95 kB / 0.7567 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1116/0.5619, allocations: 16.23 MB / 0.7725 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.675e-06/0.562, allocations: 0 / 0.7725 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001341/0.5621, allocations: 19.94 kB / 0.7726 GB, free: 5.676 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.004546/0.5667, allocations: 0.9157 MB / 0.7735 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.5667, allocations: 12.03 kB / 0.7735 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.5671, allocations: 90.97 kB / 0.7736 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.5685, allocations: 0.5707 MB / 0.7741 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.5687, allocations: 80.72 kB / 0.7742 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5688, allocations: 35.89 kB / 0.7742 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009887/0.5698, allocations: 322.6 kB / 0.7745 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.571, allocations: 0.489 MB / 0.775 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.5711, allocations: 0 / 0.775 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.5711, allocations: 7.938 kB / 0.775 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.5712, allocations: 12 kB / 0.775 GB, free: 3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/0.5755, allocations: 1.894 MB / 0.7769 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.5777, allocations: 435.8 kB / 0.7773 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/0.5784, allocations: 156.8 kB / 0.7774 GB, free: 460 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.9e-05/0.5785, allocations: 4 kB / 0.7775 GB, free: 456 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008682/0.5794, allocations: 233.9 kB / 0.7777 GB, free: 212 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 4.729e-06/0.5794, allocations: 0 / 0.7777 GB, free: 212 kB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.5314/1.111, allocations: 380 kB / 0.778 GB, free: 139 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.111, allocations: 186.3 kB / 0.7782 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/1.112, allocations: 453.2 kB / 0.7786 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/1.112, allocations: 33.19 kB / 0.7787 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/1.112, allocations: 347 kB / 0.779 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/1.112, allocations: 141.1 kB / 0.7791 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/1.113, allocations: 3.312 kB / 0.7791 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.113, allocations: 375.5 kB / 0.7795 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/1.113, allocations: 134.9 kB / 0.7796 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/1.114, allocations: 259 kB / 0.7799 GB, free: 138 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/1.114, allocations: 160.6 kB / 0.78 GB, free: 138 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.114, allocations: 0 / 0.78 GB, free: 138 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00121/1.115, allocations: 463.1 kB / 0.7805 GB, free: 138 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000217/1.115, allocations: 0.8159 MB / 0.7813 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.115, allocations: 3.625 kB / 0.7813 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/1.116, allocations: 5.219 kB / 0.7813 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/1.117, allocations: 119.4 kB / 0.7814 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.117, allocations: 5.953 kB / 0.7814 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/1.118, allocations: 65.56 kB / 0.7815 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/1.118, allocations: 17.56 kB / 0.7815 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.118, allocations: 7.391 kB / 0.7815 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/1.119, allocations: 359.4 kB / 0.7818 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.119, allocations: 2.406 kB / 0.7818 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.119, allocations: 6.906 kB / 0.7818 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/1.12, allocations: 98.73 kB / 0.7819 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/1.12, allocations: 6.281 kB / 0.7819 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/1.121, allocations: 45.08 kB / 0.782 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/1.121, allocations: 17.06 kB / 0.782 GB, free: 137.1 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.0002568/1.121, allocations: 124.2 kB / 0.7821 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001201/1.122, allocations: 372.4 kB / 0.7825 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/1.122, allocations: 68.8 kB / 0.7825 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/1.123, allocations: 66.59 kB / 0.7826 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.123, allocations: 5.812 kB / 0.7826 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.123, allocations: 0 / 0.7826 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.123, allocations: 5.422 kB / 0.7826 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009493/1.124, allocations: 0.5583 MB / 0.7832 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.124, allocations: 7.5 kB / 0.7832 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/1.125, allocations: 98.88 kB / 0.7833 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/1.125, allocations: 5.891 kB / 0.7833 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/1.125, allocations: 1.938 kB / 0.7833 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/1.125, allocations: 1.812 kB / 0.7833 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.125, allocations: 0 / 0.7833 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/1.126, allocations: 0.61 MB / 0.7839 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/1.127, allocations: 198.5 kB / 0.7841 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.127, allocations: 7.219 kB / 0.7841 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009325/1.128, allocations: 58.09 kB / 0.7841 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.128, allocations: 31.11 kB / 0.7841 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/1.128, allocations: 17.98 kB / 0.7842 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005904/1.129, allocations: 350.6 kB / 0.7845 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.129, allocations: 0 / 0.7845 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001051/1.13, allocations: 205.3 kB / 0.7847 GB, free: 136.3 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.001753/1.132, allocations: 1.165 MB / 0.7858 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001598/1.133, allocations: 0.6776 MB / 0.7865 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.133, allocations: 1.125 kB / 0.7865 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004672/1.134, allocations: 175.7 kB / 0.7867 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.135, allocations: 156.1 kB / 0.7868 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/1.139, allocations: 0.9449 MB / 0.7877 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/1.139, allocations: 0.9192 MB / 0.7886 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001118/1.14, allocations: 126.4 kB / 0.7888 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/1.141, allocations: 245.8 kB / 0.789 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.163e-06/1.141, allocations: 2.625 kB / 0.789 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06255/1.203, allocations: 13.28 MB / 0.802 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.204, allocations: 152.4 kB / 0.8021 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/4.498, allocations: 0 / 0.8021 GB, free: 133.6 MB / 0.6511 GB