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.229/2.229, allocations: 251 MB / 265.9 MB, free: 11.69 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.001535/0.001535, allocations: 178 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.336/2.336, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001125/0.001125, allocations: 103.6 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004793, allocations: 12.06 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.234, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.4681, allocations: 138.4 MB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.4684, allocations: 75.97 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05166/0.5201, allocations: 12.61 MB / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5202, allocations: 0 / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.324e-05/0.5203, allocations: 16 kB / 1.046 GB, free: 10.15 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002771/0.523, allocations: 0.9675 MB / 1.047 GB, free: 9.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.5231, allocations: 8.031 kB / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003062/0.5234, allocations: 98.52 kB / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.5237, allocations: 83.06 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.525, allocations: 0.5329 MB / 1.048 GB, free: 8.359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.525, allocations: 45.25 kB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.5252, allocations: 60 kB / 1.048 GB, free: 8.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.5272, allocations: 0.6561 MB / 1.049 GB, free: 7.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.5273, allocations: 3.953 kB / 1.049 GB, free: 7.566 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/0.5274, allocations: 28 kB / 1.049 GB, free: 7.539 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.5275, allocations: 12 kB / 1.049 GB, free: 7.527 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.5294, allocations: 0.5204 MB / 1.049 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005858/0.5353, allocations: 2.095 MB / 1.051 GB, free: 4.844 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/0.5387, allocations: 0.5315 MB / 1.052 GB, free: 4.301 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.5389, allocations: 8.422 kB / 1.052 GB, free: 4.293 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/0.5407, allocations: 297.3 kB / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 7.665e-06/0.5408, allocations: 0 / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.00435/0.5451, allocations: 0.7054 MB / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.5454, allocations: 166.6 kB / 1.053 GB, free: 3.082 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.5466, allocations: 397.2 kB / 1.053 GB, free: 2.688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.5468, allocations: 33.7 kB / 1.053 GB, free: 2.648 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/0.5473, allocations: 321.1 kB / 1.054 GB, free: 2.332 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.5477, allocations: 169.6 kB / 1.054 GB, free: 2.164 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.5478, allocations: 15.94 kB / 1.054 GB, free: 2.148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000257/0.5481, allocations: 366.8 kB / 1.054 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.5493, allocations: 205 kB / 1.054 GB, free: 1.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.5508, allocations: 307.5 kB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.5522, allocations: 251.8 kB / 1.055 GB, free: 1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.5522, allocations: 3.953 kB / 1.055 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003229/0.5555, allocations: 0.6287 MB / 1.056 GB, free: 360 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/0.5556, allocations: 43.25 kB / 1.056 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5557, allocations: 0 / 1.056 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.5557, allocations: 4 kB / 1.056 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.5572, allocations: 119.9 kB / 1.056 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.5573, allocations: 4 kB / 1.056 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.5586, allocations: 87.67 kB / 1.056 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/0.5587, allocations: 16 kB / 1.056 GB, free: 80 kB / 0.698 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 () * Number of clocked 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.6527/1.211, allocations: 203.2 kB / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/1.212, allocations: 59.08 kB / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/1.212, allocations: 65 kB / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.212, allocations: 7.906 kB / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.212, allocations: 0 / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/1.212, allocations: 2.062 kB / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/1.215, allocations: 1.32 MB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.215, allocations: 0 / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009767/1.216, allocations: 108.2 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/1.216, allocations: 5.625 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/1.216, allocations: 9.844 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.216, allocations: 9.969 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.216, allocations: 1.031 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/1.219, allocations: 0.892 MB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/1.219, allocations: 182.7 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.22, allocations: 14.78 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/1.22, allocations: 52.75 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/1.22, allocations: 43.98 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/1.22, allocations: 11.94 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005679/1.221, allocations: 317.8 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.221, allocations: 0 / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007624/1.222, allocations: 149.2 kB / 1.059 GB, free: 145.6 MB / 0.698 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) * Number of clocked states: 0 () * 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.002862/1.225, allocations: 1.446 MB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001806/1.227, allocations: 0.5487 MB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.227, allocations: 1.5 kB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008277/1.227, allocations: 265.2 kB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.229, allocations: 131 kB / 1.062 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.24, allocations: 4.823 MB / 1.066 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/1.241, allocations: 0.9031 MB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006049/1.242, allocations: 66.81 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/1.242, allocations: 221.1 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.242, allocations: 0 / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06258/1.305, allocations: 11.55 MB / 1.079 GB, free: 141.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/1.305, allocations: 192 kB / 1.079 GB, free: 141 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.914/4.219, allocations: 0 / 1.079 GB, free: 141 MB / 0.698 GB