Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.0009931/0.0009932, allocations: 186.3 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001012/0.001012, allocations: 96.66 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.721e-05/4.723e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9809/1.298, allocations: 145.8 MB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.298, allocations: 76.73 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03166/1.33, allocations: 12.52 MB / 1.135 GB, free: 33.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.194e-06/1.33, allocations: 0 / 1.135 GB, free: 33.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.478e-05/1.33, allocations: 20 kB / 1.135 GB, free: 33.08 MB / 0.7448 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.002028/1.332, allocations: 0.8706 MB / 1.135 GB, free: 32.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.332, allocations: 8.031 kB / 1.135 GB, free: 32.29 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002817/1.332, allocations: 103.4 kB / 1.135 GB, free: 32.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003093/1.333, allocations: 83.86 kB / 1.136 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/1.334, allocations: 0.5306 MB / 1.136 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/1.334, allocations: 44.56 kB / 1.136 GB, free: 31.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.334, allocations: 55.19 kB / 1.136 GB, free: 31.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.335, allocations: 0.6095 MB / 1.137 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/1.335, allocations: 5.453 kB / 1.137 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.235e-05/1.335, allocations: 25.91 kB / 1.137 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/1.335, allocations: 19.95 kB / 1.137 GB, free: 31.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/1.336, allocations: 425.9 kB / 1.137 GB, free: 31.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004115/1.34, allocations: 2.094 MB / 1.139 GB, free: 29.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/1.341, allocations: 433.4 kB / 1.14 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/1.341, allocations: 218.7 kB / 1.14 GB, free: 29.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/1.341, allocations: 4.438 kB / 1.14 GB, free: 29.44 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/1.342, allocations: 249.2 kB / 1.14 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=50): time 2.725e-06/1.342, allocations: 4 kB / 1.14 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50): time 0.0008166/1.343, allocations: 434.3 kB / 1.141 GB, free: 29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/1.343, allocations: 159.9 kB / 1.141 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/1.343, allocations: 397.8 kB / 1.141 GB, free: 28.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/1.343, allocations: 36.81 kB / 1.141 GB, free: 28.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/1.344, allocations: 322.8 kB / 1.141 GB, free: 28.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/1.344, allocations: 165.5 kB / 1.142 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/1.344, allocations: 9.938 kB / 1.142 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.344, allocations: 367.5 kB / 1.142 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/1.344, allocations: 157.4 kB / 1.142 GB, free: 27.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/1.345, allocations: 266 kB / 1.142 GB, free: 27.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/1.345, allocations: 213.1 kB / 1.143 GB, free: 27.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.345, allocations: 0 / 1.143 GB, free: 27.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009324/1.346, allocations: 0.5301 MB / 1.143 GB, free: 27.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/1.346, allocations: 35.16 kB / 1.143 GB, free: 27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.346, allocations: 4 kB / 1.143 GB, free: 27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/1.346, allocations: 4.516 kB / 1.143 GB, free: 26.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/1.347, allocations: 123.4 kB / 1.143 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/1.347, allocations: 8.5 kB / 1.143 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/1.347, allocations: 85.52 kB / 1.143 GB, free: 26.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/1.347, allocations: 20.73 kB / 1.143 GB, free: 26.8 MB / 0.7448 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.0001719/1.348, allocations: 130.7 kB / 1.143 GB, free: 26.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.348, allocations: 60.05 kB / 1.144 GB, free: 26.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/1.348, allocations: 69.25 kB / 1.144 GB, free: 26.6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/1.348, allocations: 8 kB / 1.144 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.348, allocations: 0 / 1.144 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.348, allocations: 3.234 kB / 1.144 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/1.35, allocations: 1.224 MB / 1.145 GB, free: 25.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.35, allocations: 0.6094 kB / 1.145 GB, free: 25.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/1.351, allocations: 107.5 kB / 1.145 GB, free: 25.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.351, allocations: 4 kB / 1.145 GB, free: 25.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/1.351, allocations: 11.55 kB / 1.145 GB, free: 25.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/1.351, allocations: 0.6562 kB / 1.145 GB, free: 25.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.351, allocations: 3.938 kB / 1.145 GB, free: 25.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.352, allocations: 0.7499 MB / 1.146 GB, free: 25.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/1.352, allocations: 180.6 kB / 1.146 GB, free: 25.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/1.352, allocations: 15.67 kB / 1.146 GB, free: 25.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/1.353, allocations: 50.86 kB / 1.146 GB, free: 25.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/1.353, allocations: 37.06 kB / 1.146 GB, free: 25.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/1.353, allocations: 12.12 kB / 1.146 GB, free: 25.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000428/1.353, allocations: 315.9 kB / 1.146 GB, free: 24.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.353, allocations: 0.75 kB / 1.146 GB, free: 24.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005752/1.354, allocations: 159.4 kB / 1.146 GB, free: 24.7 MB / 0.7448 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.001413/1.355, allocations: 1.311 MB / 1.148 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006901/1.356, allocations: 467.1 kB / 1.148 GB, free: 23.31 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.356, allocations: 3.812 kB / 1.148 GB, free: 23.31 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/1.356, allocations: 205 kB / 1.148 GB, free: 23.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/1.357, allocations: 139.3 kB / 1.148 GB, free: 23.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.36, allocations: 1.388 MB / 1.15 GB, free: 21.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/1.361, allocations: 0.9015 MB / 1.151 GB, free: 21.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003795/1.361, allocations: 64.3 kB / 1.151 GB, free: 21.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.362, allocations: 221.2 kB / 1.151 GB, free: 21.06 MB / 0.7448 GB Notification: Performance of SimCode: time 1.353e-06/1.362, allocations: 4 kB / 1.151 GB, free: 21.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/1.392, allocations: 11.49 MB / 1.162 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/1.392, allocations: 161.9 kB / 1.162 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.836, allocations: 0 / 1.162 GB, free: 14.11 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)