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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01061/0.01061, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001121/0.001121, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.871/1.871, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.651/2.651, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000774/0.0007741, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8496/0.8505, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/1.104, allocations: 131.6 MB / 0.8119 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.104, allocations: 83.95 kB / 0.812 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07444/1.179, allocations: 16.36 MB / 0.828 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.904e-06/1.179, allocations: 3.938 kB / 0.828 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.99e-05/1.179, allocations: 23.94 kB / 0.828 GB, free: 10.17 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.003092/1.182, allocations: 1.036 MB / 0.829 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.182, allocations: 8.031 kB / 0.829 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/1.182, allocations: 90.52 kB / 0.8291 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/1.183, allocations: 86.97 kB / 0.8292 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/1.184, allocations: 0.5703 MB / 0.8297 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/1.184, allocations: 92.41 kB / 0.8298 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.184, allocations: 56 kB / 0.8299 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/1.186, allocations: 0.6236 MB / 0.8305 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/1.186, allocations: 7.953 kB / 0.8305 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/1.186, allocations: 16 kB / 0.8305 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.187, allocations: 12 kB / 0.8305 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/1.188, allocations: 491.5 kB / 0.831 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004631/1.193, allocations: 2.004 MB / 0.8329 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/1.196, allocations: 0.6028 MB / 0.8335 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.038e-05/1.196, allocations: 4 kB / 0.8335 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/1.197, allocations: 317.3 kB / 0.8338 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 2.986e-06/1.197, allocations: 0 / 0.8338 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.002853/1.2, allocations: 0.7048 MB / 0.8345 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.2, allocations: 183.9 kB / 0.8347 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/1.201, allocations: 0.5152 MB / 0.8352 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.201, allocations: 37.7 kB / 0.8352 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/1.201, allocations: 351.6 kB / 0.8356 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/1.202, allocations: 149.8 kB / 0.8357 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/1.202, allocations: 8 kB / 0.8357 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.202, allocations: 386.8 kB / 0.8361 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/1.203, allocations: 197 kB / 0.8363 GB, free: 1.332 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.204, allocations: 329.9 kB / 0.8366 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/1.205, allocations: 262.4 kB / 0.8368 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.205, allocations: 0 / 0.8368 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002299/1.207, allocations: 0.6374 MB / 0.8375 GB, free: 60 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004226/1.208, allocations: 0.8212 MB / 0.8383 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.208, allocations: 0 / 0.8383 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/1.208, allocations: 7.953 kB / 0.8383 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.209, allocations: 115.9 kB / 0.8384 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/1.209, allocations: 7.938 kB / 0.8384 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/1.21, allocations: 87.42 kB / 0.8385 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/1.21, allocations: 20 kB / 0.8385 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.21, allocations: 5.25 kB / 0.8385 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001502/1.211, allocations: 479.9 kB / 0.839 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.211, allocations: 7.984 kB / 0.839 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.211, allocations: 4 kB / 0.839 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008047/1.212, allocations: 96.16 kB / 0.8391 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.212, allocations: 15.98 kB / 0.8391 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/1.213, allocations: 55.58 kB / 0.8391 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/1.213, allocations: 12 kB / 0.8391 GB, free: 14.27 MB / 0.6667 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 () * Number of clocked 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.0005723/1.214, allocations: 276.9 kB / 0.8394 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/1.214, allocations: 75.14 kB / 0.8395 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/1.214, allocations: 74.97 kB / 0.8396 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.214, allocations: 4 kB / 0.8396 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.214, allocations: 7.938 kB / 0.8396 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.214, allocations: 3.984 kB / 0.8396 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/1.215, allocations: 0.6297 MB / 0.8402 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.215, allocations: 0 / 0.8402 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/1.216, allocations: 91.88 kB / 0.8403 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/1.216, allocations: 7.984 kB / 0.8403 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/1.216, allocations: 15.98 kB / 0.8403 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.216, allocations: 0 / 0.8403 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/1.216, allocations: 7.984 kB / 0.8403 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/1.219, allocations: 0.814 MB / 0.8411 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/1.22, allocations: 192.1 kB / 0.8413 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.22, allocations: 15.98 kB / 0.8413 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009387/1.221, allocations: 63.95 kB / 0.8414 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.221, allocations: 35.89 kB / 0.8414 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/1.221, allocations: 15.98 kB / 0.8414 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008276/1.222, allocations: 415.1 kB / 0.8418 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.384e-06/1.222, allocations: 0 / 0.8418 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000967/1.223, allocations: 227.3 kB / 0.842 GB, free: 11.23 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) * Number of clocked states: 0 () * 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.003301/1.226, allocations: 1.383 MB / 0.8434 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00281/1.229, allocations: 0.8324 MB / 0.8442 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.229, allocations: 4.125 kB / 0.8442 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009579/1.23, allocations: 247.7 kB / 0.8444 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.231, allocations: 168.2 kB / 0.8446 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/1.236, allocations: 2.944 MB / 0.8475 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/1.237, allocations: 0.922 MB / 0.8484 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000752/1.237, allocations: 88.83 kB / 0.8484 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/1.238, allocations: 247.4 kB / 0.8487 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of SimCode: time 8.42e-07/1.238, allocations: 0 / 0.8487 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0493/1.287, allocations: 13.28 MB / 0.8616 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/1.288, allocations: 186.8 kB / 0.8618 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/4.432, allocations: 0 / 0.8618 GB, free: 6.934 MB / 0.6823 GB