Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.393/2.393, allocations: 248.7 MB / 256.2 MB, free: 7 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.001499/0.001499, allocations: 190.3 kB / 315.4 MB, free: 4.008 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.114/2.114, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 89.8 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.895e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.074, allocations: 138.6 MB / 1.019 GB, free: 312 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.075, allocations: 80 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0532/1.128, allocations: 12.49 MB / 1.032 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/1.128, allocations: 0 / 1.032 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.08e-05/1.128, allocations: 24.12 kB / 1.032 GB, free: 5.938 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002286/1.13, allocations: 0.8661 MB / 1.033 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.13, allocations: 8.031 kB / 1.033 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/1.131, allocations: 91.72 kB / 1.033 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/1.132, allocations: 0.5349 MB / 1.033 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/1.132, allocations: 20 kB / 1.033 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.132, allocations: 32 kB / 1.033 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001208/1.133, allocations: 396.1 kB / 1.034 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/1.135, allocations: 0.5209 MB / 1.034 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/1.135, allocations: 4 kB / 1.034 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/1.135, allocations: 0 / 1.034 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/1.135, allocations: 19.92 kB / 1.034 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/1.14, allocations: 1.989 MB / 1.036 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.141, allocations: 406.9 kB / 1.036 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/1.142, allocations: 209.2 kB / 1.037 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-05/1.142, allocations: 4.438 kB / 1.037 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006047/1.142, allocations: 236.1 kB / 1.037 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 3.957e-06/1.142, allocations: 0 / 1.037 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.001176/1.144, allocations: 395.4 kB / 1.037 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.144, allocations: 166.7 kB / 1.037 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006432/1.144, allocations: 351 kB / 1.038 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/1.144, allocations: 25.7 kB / 1.038 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/1.145, allocations: 322.8 kB / 1.038 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/1.145, allocations: 159.8 kB / 1.038 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/1.145, allocations: 0 / 1.038 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002224/1.145, allocations: 368 kB / 1.039 GB, free: 256 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/1.146, allocations: 144.3 kB / 1.039 GB, free: 180 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/1.146, allocations: 248.1 kB / 1.039 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/1.147, allocations: 171.8 kB / 1.039 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.147, allocations: 0 / 1.039 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001288/1.148, allocations: 469.5 kB / 1.04 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/1.148, allocations: 33.69 kB / 1.04 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.148, allocations: 4 kB / 1.04 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/1.148, allocations: 4 kB / 1.04 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/1.149, allocations: 123.5 kB / 1.04 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.149, allocations: 4 kB / 1.04 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/1.15, allocations: 71.55 kB / 1.04 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/1.15, allocations: 18.81 kB / 1.04 GB, free: 15.29 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0002013/1.15, allocations: 116.2 kB / 1.04 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001044/1.151, allocations: 405.2 kB / 1.04 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/1.152, allocations: 55.34 kB / 1.04 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/1.152, allocations: 68.09 kB / 1.04 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/1.152, allocations: 4 kB / 1.04 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.152, allocations: 4 kB / 1.04 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/1.152, allocations: 3.984 kB / 1.04 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/1.154, allocations: 1.105 MB / 1.042 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.154, allocations: 0 / 1.042 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.155, allocations: 107.2 kB / 1.042 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/1.155, allocations: 3.938 kB / 1.042 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/1.155, allocations: 11.98 kB / 1.042 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/1.155, allocations: 3.938 kB / 1.042 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.155, allocations: 0 / 1.042 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/1.157, allocations: 0.7089 MB / 1.042 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/1.157, allocations: 182.2 kB / 1.043 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/1.157, allocations: 0 / 1.043 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006812/1.158, allocations: 43.95 kB / 1.043 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.158, allocations: 40.19 kB / 1.043 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/1.158, allocations: 16.12 kB / 1.043 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004626/1.159, allocations: 269.7 kB / 1.043 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.159, allocations: 0 / 1.043 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007357/1.159, allocations: 147.4 kB / 1.043 GB, free: 12.75 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.001945/1.161, allocations: 1.267 MB / 1.044 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001059/1.162, allocations: 433.2 kB / 1.045 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.163, allocations: 4.375 kB / 1.045 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004852/1.163, allocations: 200.6 kB / 1.045 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/1.164, allocations: 114.4 kB / 1.045 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/1.17, allocations: 1.343 MB / 1.046 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007363/1.17, allocations: 0.9056 MB / 1.047 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006489/1.171, allocations: 64.34 kB / 1.047 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/1.172, allocations: 219.6 kB / 1.047 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of SimCode: time 1.533e-06/1.172, allocations: 0 / 1.047 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06642/1.238, allocations: 10.37 MB / 1.058 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/1.238, allocations: 143.5 kB / 1.058 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.873, allocations: 0 / 1.058 GB, free: 14.35 MB / 0.6823 GB