Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.382/2.382, allocations: 248.5 MB / 261 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 178 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.2 MB / 0.571 GB, free: 11.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 96.72 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.38e-05, allocations: 8 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2412, allocations: 106.2 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8765/1.118, allocations: 133.8 MB / 1.021 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.118, allocations: 74.7 kB / 1.021 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03898/1.157, allocations: 7.97 MB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/1.157, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.792e-05/1.157, allocations: 12 kB / 1.029 GB, free: 10.39 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001759/1.159, allocations: 0.6439 MB / 1.03 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.243e-05/1.159, allocations: 8.031 kB / 1.03 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/1.159, allocations: 71.09 kB / 1.03 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/1.16, allocations: 47.44 kB / 1.03 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/1.161, allocations: 395.8 kB / 1.03 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/1.161, allocations: 38.59 kB / 1.03 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.161, allocations: 36.94 kB / 1.03 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/1.163, allocations: 360.7 kB / 1.031 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/1.163, allocations: 0 / 1.031 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/1.163, allocations: 14.31 kB / 1.031 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.163, allocations: 8 kB / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/1.164, allocations: 237.9 kB / 1.031 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00463/1.168, allocations: 1.428 MB / 1.032 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/1.17, allocations: 277.1 kB / 1.033 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/1.171, allocations: 117 kB / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-05/1.171, allocations: 0 / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/1.171, allocations: 34.56 kB / 1.033 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 3.016e-06/1.171, allocations: 0 / 1.033 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.001021/1.172, allocations: 232.4 kB / 1.033 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/1.172, allocations: 106.8 kB / 1.033 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/1.173, allocations: 354.1 kB / 1.033 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.773e-05/1.173, allocations: 29.52 kB / 1.033 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/1.174, allocations: 245.7 kB / 1.034 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.174, allocations: 86.91 kB / 1.034 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/1.174, allocations: 3.312 kB / 1.034 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000225/1.174, allocations: 357.8 kB / 1.034 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/1.174, allocations: 76.38 kB / 1.034 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/1.175, allocations: 164.4 kB / 1.034 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/1.175, allocations: 97.53 kB / 1.034 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.175, allocations: 3.938 kB / 1.034 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00119/1.177, allocations: 302.9 kB / 1.035 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/1.177, allocations: 444.4 kB / 1.035 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.177, allocations: 8 kB / 1.035 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/1.177, allocations: 0 / 1.035 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008484/1.178, allocations: 71.27 kB / 1.035 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/1.178, allocations: 4 kB / 1.035 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006813/1.179, allocations: 55.02 kB / 1.035 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/1.179, allocations: 19.48 kB / 1.035 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.179, allocations: 4 kB / 1.035 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009759/1.18, allocations: 229.7 kB / 1.036 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.18, allocations: 0 / 1.036 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.18, allocations: 4 kB / 1.036 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/1.181, allocations: 51.92 kB / 1.036 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/1.181, allocations: 0 / 1.036 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/1.181, allocations: 46.59 kB / 1.036 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/1.181, allocations: 8 kB / 1.036 GB, free: 4.688 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0002284/1.181, allocations: 126.5 kB / 1.036 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/1.182, allocations: 39.53 kB / 1.036 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/1.182, allocations: 49.45 kB / 1.036 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.182, allocations: 0 / 1.036 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.182, allocations: 0 / 1.036 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/1.182, allocations: 3.953 kB / 1.036 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/1.185, allocations: 0.8542 MB / 1.037 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.185, allocations: 4.281 kB / 1.037 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/1.186, allocations: 59.47 kB / 1.037 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.156e-05/1.186, allocations: 4 kB / 1.037 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/1.186, allocations: 7.5 kB / 1.037 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/1.186, allocations: 4 kB / 1.037 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.186, allocations: 8 kB / 1.037 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.188, allocations: 0.5964 MB / 1.037 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/1.188, allocations: 123.6 kB / 1.037 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.188, allocations: 7.5 kB / 1.037 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/1.189, allocations: 31.59 kB / 1.038 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/1.189, allocations: 19.88 kB / 1.038 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/1.189, allocations: 11.25 kB / 1.038 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007401/1.19, allocations: 287.8 kB / 1.038 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.42e-07/1.19, allocations: 4 kB / 1.038 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001275/1.191, allocations: 130.2 kB / 1.038 GB, free: 2.555 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002365/1.193, allocations: 1.765 MB / 1.04 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001456/1.195, allocations: 356.3 kB / 1.04 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.195, allocations: 4.062 kB / 1.04 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004095/1.195, allocations: 101.7 kB / 1.04 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/1.196, allocations: 82.34 kB / 1.04 GB, free: 464 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/1.2, allocations: 0.6576 MB / 1.041 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/1.201, allocations: 0.8238 MB / 1.042 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007228/1.201, allocations: 67.22 kB / 1.042 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/1.202, allocations: 134 kB / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of SimCode: time 1.673e-06/1.202, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04599/1.248, allocations: 7.712 MB / 1.049 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/1.248, allocations: 183.3 kB / 1.05 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/4.101, allocations: 0 / 1.05 GB, free: 7.121 MB / 0.6667 GB