Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.597/2.597, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001464, allocations: 184.8 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 95.55 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.153e-05, allocations: 4 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8307, allocations: 115.2 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.25/1.081, allocations: 143.9 MB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/1.081, allocations: 75.95 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05208/1.133, allocations: 12.42 MB / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/1.133, allocations: 0 / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.916e-05/1.133, allocations: 16 kB / 1.116 GB, free: 44 kB / 0.7136 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.002335/1.136, allocations: 0.8722 MB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.136, allocations: 16.02 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/1.136, allocations: 83.02 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/1.137, allocations: 0.5315 MB / 1.118 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/1.138, allocations: 20 kB / 1.118 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.138, allocations: 39.98 kB / 1.118 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001236/1.139, allocations: 398.4 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/1.14, allocations: 0.5215 MB / 1.119 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/1.14, allocations: 3.984 kB / 1.119 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/1.14, allocations: 6.578 kB / 1.119 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/1.14, allocations: 16 kB / 1.119 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004952/1.145, allocations: 1.976 MB / 1.121 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/1.147, allocations: 425.4 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/1.147, allocations: 203.4 kB / 1.121 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/1.147, allocations: 4.438 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006385/1.148, allocations: 240.5 kB / 1.121 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 3.376e-06/1.148, allocations: 0 / 1.121 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.001234/1.149, allocations: 395.5 kB / 1.122 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.149, allocations: 166.6 kB / 1.122 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/1.15, allocations: 350 kB / 1.122 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/1.15, allocations: 25.7 kB / 1.122 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/1.15, allocations: 316.3 kB / 1.123 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/1.151, allocations: 165.6 kB / 1.123 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/1.151, allocations: 0 / 1.123 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.151, allocations: 358.8 kB / 1.123 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/1.151, allocations: 149.1 kB / 1.123 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/1.152, allocations: 254.4 kB / 1.123 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/1.152, allocations: 166.1 kB / 1.124 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/1.152, allocations: 0 / 1.124 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001324/1.154, allocations: 470.3 kB / 1.124 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/1.154, allocations: 37.66 kB / 1.124 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.154, allocations: 2.109 kB / 1.124 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.154, allocations: 4 kB / 1.124 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/1.155, allocations: 132 kB / 1.124 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.155, allocations: 4 kB / 1.124 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008008/1.156, allocations: 75.52 kB / 1.124 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/1.156, allocations: 16 kB / 1.124 GB, free: 7.395 MB / 0.7292 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.0002006/1.156, allocations: 118.5 kB / 1.124 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00105/1.157, allocations: 395.5 kB / 1.125 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/1.157, allocations: 59.3 kB / 1.125 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/1.157, allocations: 61.19 kB / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.157, allocations: 4.047 kB / 1.125 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.157, allocations: 7.984 kB / 1.125 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/1.157, allocations: 4 kB / 1.125 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/1.16, allocations: 1.11 MB / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.16, allocations: 1.438 kB / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.161, allocations: 107.9 kB / 1.126 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/1.161, allocations: 0 / 1.126 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/1.161, allocations: 8 kB / 1.126 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.161, allocations: 0 / 1.126 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.161, allocations: 3.984 kB / 1.126 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/1.163, allocations: 0.7211 MB / 1.127 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/1.163, allocations: 176.4 kB / 1.127 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.163, allocations: 0 / 1.127 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/1.164, allocations: 48.45 kB / 1.127 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.164, allocations: 36.39 kB / 1.127 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/1.164, allocations: 15.98 kB / 1.127 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004829/1.165, allocations: 267 kB / 1.127 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.3e-07/1.165, allocations: 0 / 1.127 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007604/1.165, allocations: 135.5 kB / 1.128 GB, free: 4.059 MB / 0.7292 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.002024/1.167, allocations: 1.275 MB / 1.129 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0011/1.169, allocations: 435.2 kB / 1.129 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.169, allocations: 4.375 kB / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004989/1.169, allocations: 197.6 kB / 1.129 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.17, allocations: 118.6 kB / 1.129 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/1.175, allocations: 1.34 MB / 1.131 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/1.176, allocations: 0.9096 MB / 1.132 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004886/1.177, allocations: 56.36 kB / 1.132 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/1.177, allocations: 223.4 kB / 1.132 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of SimCode: time 1.272e-06/1.177, allocations: 0 / 1.132 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0656/1.243, allocations: 10.36 MB / 1.142 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/1.243, allocations: 143.4 kB / 1.142 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/4.009, allocations: 0 / 1.142 GB, free: 5.117 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)