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.572/2.572, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001522/0.001521, allocations: 179 kB / 370.8 MB, free: 10.85 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.112/2.112, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 92.98 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 15.91 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2283, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9231/1.151, allocations: 144.7 MB / 1.12 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.152, allocations: 86.67 kB / 1.12 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04678/1.199, allocations: 12.54 MB / 1.132 GB, free: 29.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.986e-06/1.199, allocations: 192 / 1.132 GB, free: 29.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.656e-05/1.199, allocations: 23.44 kB / 1.132 GB, free: 29.54 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.002268/1.201, allocations: 0.9587 MB / 1.133 GB, free: 28.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.201, allocations: 11.7 kB / 1.133 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/1.201, allocations: 100.4 kB / 1.133 GB, free: 28.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/1.201, allocations: 85.03 kB / 1.133 GB, free: 28.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009991/1.202, allocations: 0.5334 MB / 1.134 GB, free: 28.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/1.202, allocations: 41.72 kB / 1.134 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/1.203, allocations: 59.78 kB / 1.134 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.204, allocations: 0.6604 MB / 1.134 GB, free: 28.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/1.204, allocations: 7.75 kB / 1.134 GB, free: 28.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/1.204, allocations: 24.55 kB / 1.134 GB, free: 28.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/1.204, allocations: 19.5 kB / 1.134 GB, free: 28.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/1.206, allocations: 0.5175 MB / 1.135 GB, free: 28.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/1.21, allocations: 2.095 MB / 1.137 GB, free: 27.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/1.212, allocations: 0.5335 MB / 1.137 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/1.212, allocations: 4.344 kB / 1.137 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009349/1.213, allocations: 295.2 kB / 1.138 GB, free: 26.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 3.537e-06/1.213, allocations: 3.938 kB / 1.138 GB, free: 26.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.0023/1.215, allocations: 0.7105 MB / 1.138 GB, free: 26.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/1.215, allocations: 166.2 kB / 1.139 GB, free: 26.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/1.216, allocations: 391.2 kB / 1.139 GB, free: 26.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/1.216, allocations: 41.09 kB / 1.139 GB, free: 26.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/1.216, allocations: 323.2 kB / 1.139 GB, free: 26.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/1.217, allocations: 161.3 kB / 1.139 GB, free: 25.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/1.217, allocations: 13.66 kB / 1.139 GB, free: 25.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.217, allocations: 366.3 kB / 1.14 GB, free: 25.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000835/1.218, allocations: 205 kB / 1.14 GB, free: 25.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/1.219, allocations: 305.4 kB / 1.14 GB, free: 25.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/1.219, allocations: 258 kB / 1.141 GB, free: 25.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.219, allocations: 3.938 kB / 1.141 GB, free: 25.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001794/1.221, allocations: 0.6293 MB / 1.141 GB, free: 25.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/1.221, allocations: 37.33 kB / 1.141 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.221, allocations: 0 / 1.141 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.221, allocations: 7.688 kB / 1.141 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/1.222, allocations: 117.8 kB / 1.141 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.222, allocations: 4.031 kB / 1.141 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/1.223, allocations: 88.45 kB / 1.141 GB, free: 25.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/1.223, allocations: 15.16 kB / 1.141 GB, free: 25.16 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.0004549/1.224, allocations: 220.1 kB / 1.142 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.224, allocations: 57.73 kB / 1.142 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/1.224, allocations: 63.48 kB / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.224, allocations: 7.531 kB / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.224, allocations: 0 / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.224, allocations: 0 / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/1.227, allocations: 1.322 MB / 1.143 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.227, allocations: 3.938 kB / 1.143 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009477/1.228, allocations: 108.6 kB / 1.143 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/1.228, allocations: 3.844 kB / 1.143 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/1.228, allocations: 9.969 kB / 1.143 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.228, allocations: 0 / 1.143 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.228, allocations: 4 kB / 1.143 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/1.23, allocations: 0.8982 MB / 1.144 GB, free: 24.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/1.23, allocations: 185.2 kB / 1.144 GB, free: 23.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.231, allocations: 11.69 kB / 1.144 GB, free: 23.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/1.231, allocations: 58.33 kB / 1.144 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.231, allocations: 35.45 kB / 1.144 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/1.231, allocations: 15.55 kB / 1.144 GB, free: 23.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004847/1.232, allocations: 311.6 kB / 1.145 GB, free: 23.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.5e-07/1.232, allocations: 0 / 1.145 GB, free: 23.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006622/1.233, allocations: 150.5 kB / 1.145 GB, free: 23.8 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.002739/1.235, allocations: 1.458 MB / 1.146 GB, free: 23.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001631/1.237, allocations: 0.543 MB / 1.147 GB, free: 22.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.237, allocations: 0 / 1.147 GB, free: 22.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/1.238, allocations: 264.2 kB / 1.147 GB, free: 22.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/1.239, allocations: 127.3 kB / 1.147 GB, free: 22.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/1.248, allocations: 4.827 MB / 1.152 GB, free: 20.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/1.249, allocations: 0.9001 MB / 1.153 GB, free: 19.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004667/1.25, allocations: 63.3 kB / 1.153 GB, free: 19.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/1.25, allocations: 223.8 kB / 1.153 GB, free: 19.19 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.25, allocations: 0 / 1.153 GB, free: 19.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/1.286, allocations: 11.55 MB / 1.164 GB, free: 10.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.287, allocations: 185.6 kB / 1.164 GB, free: 10.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.751/5.038, allocations: 4 kB / 1.164 GB, free: 10.07 MB / 0.698 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)