Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.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.LimPID,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",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.235/2.235, allocations: 251 MB / 265.9 MB, free: 11.68 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.001699/0.001698, allocations: 174.6 kB / 325.5 MB, free: 2.891 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.386/2.386, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001225/0.001225, allocations: 107 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004907, allocations: 15.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.223, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.4486, allocations: 134.4 MB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.449, allocations: 83.95 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09632/0.5453, allocations: 21.89 MB / 1.052 GB, free: 4.863 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5454, allocations: 3.938 kB / 1.052 GB, free: 4.859 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001201/0.5455, allocations: 32 kB / 1.052 GB, free: 4.828 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.005091/0.5506, allocations: 1.505 MB / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.5507, allocations: 8.031 kB / 1.053 GB, free: 3.258 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000494/0.5512, allocations: 160.5 kB / 1.053 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000448/0.5516, allocations: 154.1 kB / 1.053 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.554, allocations: 0.7813 MB / 1.054 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.5542, allocations: 82.08 kB / 1.054 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.5545, allocations: 115.9 kB / 1.054 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/0.5578, allocations: 1.11 MB / 1.055 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.5579, allocations: 4 kB / 1.055 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.5581, allocations: 40 kB / 1.055 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.5582, allocations: 28 kB / 1.055 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6283/1.187, allocations: 0.9029 MB / 1.056 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/1.197, allocations: 3.95 MB / 1.06 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004588/1.201, allocations: 1.157 MB / 1.061 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.912e-05/1.202, allocations: 10.12 kB / 1.061 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001692/1.203, allocations: 471.2 kB / 1.062 GB, free: 141.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 4.639e-06/1.203, allocations: 3.812 kB / 1.062 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.00443/1.208, allocations: 1.189 MB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.208, allocations: 220.9 kB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/1.21, allocations: 0.7703 MB / 1.064 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/1.21, allocations: 42.17 kB / 1.064 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/1.21, allocations: 0.5383 MB / 1.064 GB, free: 140.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/1.211, allocations: 295 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/1.211, allocations: 20.88 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.211, allocations: 343.2 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.212, allocations: 351 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/1.214, allocations: 0.5076 MB / 1.066 GB, free: 139.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/1.216, allocations: 390 kB / 1.066 GB, free: 139.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.216, allocations: 0.7188 kB / 1.066 GB, free: 139.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004132/1.22, allocations: 0.9953 MB / 1.067 GB, free: 139.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/1.22, allocations: 456.9 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.22, allocations: 2.125 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/1.22, allocations: 5.344 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/1.222, allocations: 215.2 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/1.222, allocations: 5.438 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/1.223, allocations: 165.6 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.224, allocations: 28.91 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.224, allocations: 3.688 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002097/1.226, allocations: 0.6875 MB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.226, allocations: 2.281 kB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.226, allocations: 8.391 kB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.227, allocations: 169.4 kB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/1.227, allocations: 5.5 kB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.228, allocations: 124 kB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/1.228, allocations: 30.09 kB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * 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.0007842/1.229, allocations: 332.2 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/1.229, allocations: 111.3 kB / 1.07 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/1.23, allocations: 122.7 kB / 1.07 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.23, allocations: 17.77 kB / 1.07 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/1.23, allocations: 0.6562 kB / 1.07 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.23, allocations: 4.359 kB / 1.07 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/1.232, allocations: 0.9961 MB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.232, allocations: 0 / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.234, allocations: 185 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/1.234, allocations: 3.891 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/1.234, allocations: 16.5 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/1.234, allocations: 3.5 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.234, allocations: 5.422 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/1.239, allocations: 1.363 MB / 1.072 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/1.239, allocations: 201 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.24, allocations: 18.2 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/1.241, allocations: 84.56 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.241, allocations: 59.22 kB / 1.073 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/1.241, allocations: 24.45 kB / 1.073 GB, free: 138.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001466/1.242, allocations: 0.6055 MB / 1.073 GB, free: 138.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.71e-07/1.243, allocations: 1.094 kB / 1.073 GB, free: 138.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001561/1.244, allocations: 381 kB / 1.073 GB, free: 138.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (88): * Single equations (assignments): 86 * 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.005232/1.249, allocations: 1.956 MB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004865/1.254, allocations: 1.221 MB / 1.077 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.254, allocations: 1.344 kB / 1.077 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/1.256, allocations: 433.3 kB / 1.077 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.258, allocations: 245.7 kB / 1.077 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.277, allocations: 7.114 MB / 1.084 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/1.278, allocations: 1.107 MB / 1.085 GB, free: 133.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001021/1.279, allocations: 126.7 kB / 1.085 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008904/1.28, allocations: 476.5 kB / 1.086 GB, free: 133.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.28, allocations: 0 / 1.086 GB, free: 133.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06944/1.35, allocations: 20.09 MB / 1.105 GB, free: 123.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/1.35, allocations: 189 kB / 1.106 GB, free: 123.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/4.598, allocations: 0 / 1.106 GB, free: 123.3 MB / 0.698 GB