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.268/2.268, allocations: 248.5 MB / 261.1 MB, free: 6.051 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.00143/0.001429, allocations: 178.9 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 1.95/1.95, 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.001165/0.001165, allocations: 99.53 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.585e-05/4.595e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8951/1.11, allocations: 138.3 MB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003913/1.111, allocations: 78.97 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06875/1.18, allocations: 12.6 MB / 1.038 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.494e-06/1.18, allocations: 0 / 1.038 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.361e-05/1.18, allocations: 12 kB / 1.038 GB, free: 2.379 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.002658/1.182, allocations: 0.874 MB / 1.039 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/1.182, allocations: 8.031 kB / 1.039 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002923/1.183, allocations: 97.58 kB / 1.039 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/1.183, allocations: 86.97 kB / 1.039 GB, free: 1.332 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/1.185, allocations: 0.5291 MB / 1.04 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/1.185, allocations: 43.06 kB / 1.04 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/1.185, allocations: 57.56 kB / 1.04 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/1.187, allocations: 0.6063 MB / 1.04 GB, free: 384 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/1.187, allocations: 7.953 kB / 1.04 GB, free: 376 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.765e-05/1.187, allocations: 23.94 kB / 1.04 GB, free: 372 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/1.187, allocations: 16 kB / 1.04 GB, free: 356 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/1.188, allocations: 431.1 kB / 1.041 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/1.194, allocations: 2.101 MB / 1.043 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/1.195, allocations: 436.8 kB / 1.043 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/1.196, allocations: 217.2 kB / 1.044 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.405e-05/1.196, allocations: 4.438 kB / 1.044 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/1.196, allocations: 252.4 kB / 1.044 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 6.492e-06/1.197, allocations: 0 / 1.044 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.001312/1.198, allocations: 435.4 kB / 1.044 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.198, allocations: 162.7 kB / 1.044 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/1.199, allocations: 395.6 kB / 1.045 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/1.199, allocations: 39.33 kB / 1.045 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/1.199, allocations: 312.8 kB / 1.045 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/1.2, allocations: 169.4 kB / 1.045 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/1.2, allocations: 13.81 kB / 1.045 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.2, allocations: 365.8 kB / 1.046 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/1.2, allocations: 151.9 kB / 1.046 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/1.201, allocations: 267.4 kB / 1.046 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/1.202, allocations: 205.8 kB / 1.046 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/1.202, allocations: 7.984 kB / 1.046 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00143/1.203, allocations: 0.5333 MB / 1.047 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/1.203, allocations: 29.7 kB / 1.047 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.203, allocations: 4 kB / 1.047 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.175e-05/1.203, allocations: 8.188 kB / 1.047 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.204, allocations: 114.7 kB / 1.047 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/1.204, allocations: 4 kB / 1.047 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/1.205, allocations: 93.61 kB / 1.047 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/1.205, allocations: 23.42 kB / 1.047 GB, free: 11.24 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.0002392/1.206, allocations: 137.6 kB / 1.047 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.206, allocations: 55.34 kB / 1.047 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/1.206, allocations: 65.86 kB / 1.047 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/1.206, allocations: 4 kB / 1.047 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.206, allocations: 4 kB / 1.047 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/1.206, allocations: 0 / 1.047 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/1.209, allocations: 1.225 MB / 1.048 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.209, allocations: 3.984 kB / 1.048 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.21, allocations: 107.4 kB / 1.049 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/1.21, allocations: 4 kB / 1.049 GB, free: 9.996 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/1.21, allocations: 11.12 kB / 1.049 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/1.21, allocations: 4 kB / 1.049 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.21, allocations: 3.938 kB / 1.049 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/1.212, allocations: 0.7582 MB / 1.049 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/1.213, allocations: 177.9 kB / 1.049 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.213, allocations: 10.69 kB / 1.049 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/1.214, allocations: 55.02 kB / 1.05 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.214, allocations: 36.08 kB / 1.05 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/1.214, allocations: 11.98 kB / 1.05 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005936/1.214, allocations: 311.5 kB / 1.05 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.31e-07/1.214, allocations: 4 kB / 1.05 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008266/1.215, allocations: 148.8 kB / 1.05 GB, free: 8.84 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.002231/1.218, allocations: 1.311 MB / 1.051 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001218/1.219, allocations: 465.5 kB / 1.052 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.219, allocations: 0 / 1.052 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000548/1.219, allocations: 212.1 kB / 1.052 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/1.221, allocations: 142.6 kB / 1.052 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005821/1.227, allocations: 1.374 MB / 1.053 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/1.227, allocations: 0.906 MB / 1.054 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006177/1.228, allocations: 60.53 kB / 1.054 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/1.229, allocations: 224.2 kB / 1.055 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of SimCode: time 1.312e-06/1.229, allocations: 3.938 kB / 1.055 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05734/1.286, allocations: 11.48 MB / 1.066 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003334/1.286, allocations: 161.4 kB / 1.066 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/4.037, allocations: 0 / 1.066 GB, free: 9.293 MB / 0.6823 GB