Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001103/0.001103, allocations: 178.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0008788/0.0008788, allocations: 92.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 8.969 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1936, allocations: 106.3 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.3648, allocations: 138.6 MB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.3651, allocations: 79.95 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03385/0.399, allocations: 12.61 MB / 1.048 GB, free: 8.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.399, allocations: 0 / 1.048 GB, free: 8.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.306e-05/0.3991, allocations: 20.11 kB / 1.048 GB, free: 8.887 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.001947/0.401, allocations: 0.9659 MB / 1.049 GB, free: 7.859 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4011, allocations: 12.03 kB / 1.049 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.4013, allocations: 110.5 kB / 1.049 GB, free: 7.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.4015, allocations: 79.06 kB / 1.049 GB, free: 7.652 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/0.4024, allocations: 0.5251 MB / 1.05 GB, free: 7.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.4025, allocations: 45.31 kB / 1.05 GB, free: 7.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.725e-05/0.4026, allocations: 56 kB / 1.05 GB, free: 6.992 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.4039, allocations: 0.66 MB / 1.05 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.4039, allocations: 0 / 1.05 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.404, allocations: 27.95 kB / 1.05 GB, free: 6.273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.404, allocations: 16 kB / 1.05 GB, free: 6.258 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.4051, allocations: 0.5204 MB / 1.051 GB, free: 5.738 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.4083, allocations: 2.103 MB / 1.053 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.4095, allocations: 0.5253 MB / 1.053 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.4095, allocations: 12.44 kB / 1.053 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006339/0.4102, allocations: 297.3 kB / 1.054 GB, free: 2.719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 2.635e-06/0.4102, allocations: 4 kB / 1.054 GB, free: 2.715 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.001474/0.4117, allocations: 0.6976 MB / 1.054 GB, free: 2.012 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.4118, allocations: 166.7 kB / 1.055 GB, free: 1.812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.4123, allocations: 401.2 kB / 1.055 GB, free: 1.414 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.4123, allocations: 37.7 kB / 1.055 GB, free: 1.371 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.4126, allocations: 321.1 kB / 1.055 GB, free: 1.055 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4127, allocations: 173.5 kB / 1.055 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.4128, allocations: 12 kB / 1.055 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.413, allocations: 362.8 kB / 1.056 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.4134, allocations: 209 kB / 1.056 GB, free: 312 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.441/0.8544, allocations: 307.5 kB / 1.056 GB, free: 145.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007737/0.8552, allocations: 254.9 kB / 1.057 GB, free: 145.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.8552, allocations: 1.281 kB / 1.057 GB, free: 145.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001242/0.8565, allocations: 0.6237 MB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.8565, allocations: 32.92 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8566, allocations: 2.875 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.8566, allocations: 3.188 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.8571, allocations: 126.5 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.8571, allocations: 3.141 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.8576, allocations: 79.23 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.8577, allocations: 17.88 kB / 1.057 GB, free: 145.1 MB / 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.0003422/0.858, allocations: 217.3 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.8581, allocations: 55.06 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.8582, allocations: 68.09 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8582, allocations: 2.812 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8583, allocations: 6.062 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.8583, allocations: 2.109 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.8602, allocations: 1.319 MB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.8602, allocations: 0 / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/0.8607, allocations: 108.3 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.8607, allocations: 6.234 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.8607, allocations: 8.031 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8607, allocations: 0 / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8607, allocations: 1.781 kB / 1.059 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.8621, allocations: 0.8936 MB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.8623, allocations: 183.6 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.8624, allocations: 13.09 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.8628, allocations: 53.09 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.8629, allocations: 38.83 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.8629, allocations: 16.16 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003131/0.8632, allocations: 315.8 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8632, allocations: 0 / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004595/0.8637, allocations: 146.4 kB / 1.061 GB, free: 144.3 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.001552/0.8652, allocations: 1.457 MB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009669/0.8662, allocations: 0.5484 MB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8662, allocations: 5.047 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.8667, allocations: 259.8 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.8673, allocations: 132.6 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/0.8744, allocations: 4.827 MB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.8748, allocations: 0.9066 MB / 1.069 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.8752, allocations: 61.78 kB / 1.069 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.8755, allocations: 224.7 kB / 1.069 GB, free: 140.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/0.8755, allocations: 0 / 1.069 GB, free: 140.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.903, allocations: 11.54 MB / 1.08 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.9032, allocations: 188.6 kB / 1.08 GB, free: 139.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.086, allocations: 0.9688 kB / 1.08 GB, free: 139.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)