Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.LimPIDInitialState,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.407/2.407, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 188.6 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.432/2.432, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001199/0.001198, allocations: 100.9 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006393/0.0006393, allocations: 13.12 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2135, allocations: 106.3 MB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.451, allocations: 133.8 MB / 1.03 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.4514, allocations: 83.89 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03236/0.4837, allocations: 8.04 MB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.307e-06/0.4838, allocations: 0 / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.794e-05/0.4839, allocations: 12 kB / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001724/0.4856, allocations: 0.7129 MB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4857, allocations: 16.03 kB / 1.038 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.4858, allocations: 78.52 kB / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.486, allocations: 51.34 kB / 1.038 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.4869, allocations: 383.6 kB / 1.039 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.4869, allocations: 29 kB / 1.039 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/0.487, allocations: 40 kB / 1.039 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.4882, allocations: 426.4 kB / 1.039 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4883, allocations: 3.984 kB / 1.039 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.4883, allocations: 16 kB / 1.039 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.4884, allocations: 12 kB / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.4894, allocations: 307.7 kB / 1.039 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/0.4927, allocations: 1.63 MB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.4944, allocations: 364.3 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.4944, allocations: 4 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4945, allocations: 38.56 kB / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.176e-06/0.4945, allocations: 0 / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.001416/0.496, allocations: 379.8 kB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.4961, allocations: 110.8 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006785/0.4968, allocations: 377 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.4968, allocations: 29.7 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.4971, allocations: 240.2 kB / 1.043 GB, free: 14.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.4972, allocations: 90.66 kB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.4972, allocations: 4 kB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4974, allocations: 358.7 kB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.4979, allocations: 115.9 kB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.4984, allocations: 196.2 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.4989, allocations: 124.4 kB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.499, allocations: 0 / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001209/0.5002, allocations: 376.6 kB / 1.044 GB, free: 13.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002865/0.5005, allocations: 0.5254 MB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5005, allocations: 3.984 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.5005, allocations: 4 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.5011, allocations: 71.86 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.5011, allocations: 11.94 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.5016, allocations: 55.66 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.5016, allocations: 12 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.5016, allocations: 4 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006308/0.5023, allocations: 232.8 kB / 1.045 GB, free: 12.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5023, allocations: 4.125 kB / 1.045 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.5023, allocations: 4 kB / 1.045 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.5028, allocations: 59.91 kB / 1.045 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.5028, allocations: 4 kB / 1.045 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.5031, allocations: 35.69 kB / 1.045 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.5031, allocations: 15.98 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (limPI.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 (37): * Single equations (assignments): 37 * 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.0003488/0.5035, allocations: 233.1 kB / 1.045 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.5036, allocations: 51.39 kB / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.5038, allocations: 47.75 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5038, allocations: 0 / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5038, allocations: 0 / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5038, allocations: 7.984 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.506, allocations: 0.909 MB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.506, allocations: 0 / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.5065, allocations: 55.91 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.5066, allocations: 4 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.5066, allocations: 15.98 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.5066, allocations: 0 / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.5066, allocations: 7.984 kB / 1.046 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.5083, allocations: 0.6862 MB / 1.047 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.5084, allocations: 124.5 kB / 1.047 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.5085, allocations: 12 kB / 1.047 GB, free: 9.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.5089, allocations: 23.98 kB / 1.047 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.509, allocations: 31.84 kB / 1.047 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.509, allocations: 8 kB / 1.047 GB, free: 9.543 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005114/0.5095, allocations: 287.2 kB / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5095, allocations: 3.938 kB / 1.047 GB, free: 9.258 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007248/0.5103, allocations: 135.5 kB / 1.047 GB, free: 9.125 MB / 0.698 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,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.002261/0.5125, allocations: 1.857 MB / 1.049 GB, free: 7.176 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.5139, allocations: 401.1 kB / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5139, allocations: 0 / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.5144, allocations: 134.7 kB / 1.05 GB, free: 6.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.5152, allocations: 89.44 kB / 1.05 GB, free: 6.574 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006201/0.5214, allocations: 3.136 MB / 1.053 GB, free: 3.332 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.522, allocations: 0.8312 MB / 1.054 GB, free: 2.477 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003291/0.5223, allocations: 51.47 kB / 1.054 GB, free: 2.422 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.5227, allocations: 151.4 kB / 1.054 GB, free: 2.273 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/0.5227, allocations: 0 / 1.054 GB, free: 2.273 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6277/1.15, allocations: 7.423 MB / 1.061 GB, free: 149.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/1.151, allocations: 201.3 kB / 1.061 GB, free: 149.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.777, allocations: 0 / 1.061 GB, free: 149.3 MB / 0.698 GB