Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5828/0.5828, allocations: 94.76 MB / 102.2 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001143/0.001144, allocations: 173.4 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.861/1.861, allocations: 170.6 MB / 319.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00197/0.001971, allocations: 107.1 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.525e-05, allocations: 0 / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1738, allocations: 61.54 MB / 0.4987 GB, free: 4.109 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.553/0.7269, allocations: 98.65 MB / 0.595 GB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.7272, allocations: 77.48 kB / 0.5951 GB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02128/0.7485, allocations: 8.042 MB / 0.6029 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7485, allocations: 0 / 0.6029 GB, free: 11.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.7486, allocations: 8 kB / 0.6029 GB, free: 11.24 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009451/0.7495, allocations: 0.5962 MB / 0.6035 GB, free: 10.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.7496, allocations: 12.03 kB / 0.6035 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.7497, allocations: 47.47 kB / 0.6036 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/0.7504, allocations: 374.4 kB / 0.6039 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.7504, allocations: 8 kB / 0.6039 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.7505, allocations: 19.94 kB / 0.604 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003921/0.7509, allocations: 177.1 kB / 0.6041 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.7514, allocations: 270.4 kB / 0.6044 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.7514, allocations: 4 kB / 0.6044 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.7514, allocations: 1.781 kB / 0.6044 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.7514, allocations: 8 kB / 0.6044 GB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.753, allocations: 0.9154 MB / 0.6053 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.7536, allocations: 214.2 kB / 0.6055 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.7537, allocations: 96.08 kB / 0.6056 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.7538, allocations: 4.188 kB / 0.6056 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.7538, allocations: 38.73 kB / 0.6056 GB, free: 8.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.297e-06/0.7538, allocations: 4 kB / 0.6056 GB, free: 8.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004158/0.7542, allocations: 192.2 kB / 0.6058 GB, free: 8.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.7544, allocations: 132.5 kB / 0.6059 GB, free: 7.969 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.7547, allocations: 253.2 kB / 0.6062 GB, free: 7.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.7548, allocations: 29.7 kB / 0.6062 GB, free: 7.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.755, allocations: 208 kB / 0.6064 GB, free: 7.477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.7551, allocations: 66.92 kB / 0.6065 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.7551, allocations: 0 / 0.6065 GB, free: 7.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.7553, allocations: 342.8 kB / 0.6068 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.7555, allocations: 64 kB / 0.6069 GB, free: 7.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.7556, allocations: 109.3 kB / 0.607 GB, free: 6.883 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.7558, allocations: 63.98 kB / 0.607 GB, free: 6.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7558, allocations: 0 / 0.607 GB, free: 6.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003488/0.7561, allocations: 202.6 kB / 0.6072 GB, free: 6.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.7562, allocations: 13.12 kB / 0.6072 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7562, allocations: 0 / 0.6072 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.7562, allocations: 3.984 kB / 0.6072 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.7565, allocations: 51.92 kB / 0.6073 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7565, allocations: 0 / 0.6073 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.7567, allocations: 39.81 kB / 0.6073 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.7567, allocations: 4 kB / 0.6073 GB, free: 6.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.con.hys.y,con.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001251/0.7568, allocations: 112.9 kB / 0.6074 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.7569, allocations: 25.45 kB / 0.6075 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-05/0.757, allocations: 34.88 kB / 0.6075 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.757, allocations: 4 kB / 0.6075 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.757, allocations: 1.594 kB / 0.6075 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.757, allocations: 3.984 kB / 0.6075 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.7575, allocations: 359.7 kB / 0.6079 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7575, allocations: 4 kB / 0.6079 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.7577, allocations: 43.91 kB / 0.6079 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7577, allocations: 4 kB / 0.6079 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.7577, allocations: 0 / 0.6079 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7577, allocations: 0 / 0.6079 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7577, allocations: 0 / 0.6079 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.7583, allocations: 385.3 kB / 0.6083 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.7584, allocations: 136.8 kB / 0.6084 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.7585, allocations: 0 / 0.6084 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.7587, allocations: 27.91 kB / 0.6084 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.7588, allocations: 19.97 kB / 0.6084 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.7588, allocations: 4 kB / 0.6084 GB, free: 5.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.759, allocations: 196.6 kB / 0.6086 GB, free: 5.105 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.759, allocations: 4 kB / 0.6086 GB, free: 5.102 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.7593, allocations: 64.44 kB / 0.6087 GB, free: 5.039 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001685/0.7595, allocations: 111.2 kB / 0.6088 GB, free: 4.922 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.7599, allocations: 151.9 kB / 0.609 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7599, allocations: 0 / 0.609 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.76, allocations: 91.92 kB / 0.609 GB, free: 4.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.7605, allocations: 57.66 kB / 0.6091 GB, free: 4.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.7616, allocations: 481.3 kB / 0.6096 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.762, allocations: 0.7951 MB / 0.6103 GB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.7622, allocations: 31.19 kB / 0.6104 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.7622, allocations: 23.44 kB / 0.6104 GB, free: 3.285 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7622, allocations: 0 / 0.6104 GB, free: 3.285 MB / 426.7 MB Notification: Performance of Templates: time 0.006346/0.7686, allocations: 2.665 MB / 0.613 GB, free: 0.6992 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)