Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.579/1.579, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001623/0.001623, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.521/1.521, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009233/0.0009233, allocations: 97.52 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.302e-05/1.32e-05, allocations: 0 / 0.8517 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6598, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.8681, allocations: 144 MB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.8685, allocations: 79.95 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01819/0.8867, allocations: 6.844 MB / 1.112 GB, free: 5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8867, allocations: 192 / 1.112 GB, free: 5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.592e-05/0.8868, allocations: 19.92 kB / 1.112 GB, free: 4.98 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001144/0.888, allocations: 0.5879 MB / 1.112 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.888, allocations: 8.031 kB / 1.112 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.8882, allocations: 52.3 kB / 1.112 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000765/0.889, allocations: 384.2 kB / 1.113 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.889, allocations: 12 kB / 1.113 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.8891, allocations: 16 kB / 1.113 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004681/0.8896, allocations: 193.5 kB / 1.113 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.8901, allocations: 290.2 kB / 1.113 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.8902, allocations: 7.938 kB / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.8902, allocations: 0 / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.8902, allocations: 15.98 kB / 1.113 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.8921, allocations: 1.174 MB / 1.114 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.8926, allocations: 219.8 kB / 1.115 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.8928, allocations: 94.91 kB / 1.115 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.8929, allocations: 4.188 kB / 1.115 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.8929, allocations: 42.75 kB / 1.115 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.8929, allocations: 0 / 1.115 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0004847/0.8934, allocations: 204.7 kB / 1.115 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.8935, allocations: 158.2 kB / 1.115 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.8939, allocations: 266.3 kB / 1.115 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.8939, allocations: 29.7 kB / 1.115 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.8942, allocations: 212 kB / 1.116 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.8942, allocations: 74.84 kB / 1.116 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.8943, allocations: 0 / 1.116 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.8945, allocations: 346.8 kB / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.8946, allocations: 68 kB / 1.116 GB, free: 328 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.8948, allocations: 132.5 kB / 1.116 GB, free: 168 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.8949, allocations: 85.55 kB / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8949, allocations: 0 / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004323/0.8954, allocations: 231.5 kB / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.8954, allocations: 5.094 kB / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8954, allocations: 0 / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8955, allocations: 4 kB / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.8957, allocations: 65.28 kB / 1.117 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.8957, allocations: 0 / 1.117 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.896, allocations: 43.94 kB / 1.117 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.8961, allocations: 7.781 kB / 1.117 GB, free: 15.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001163/0.8962, allocations: 116.9 kB / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.8963, allocations: 31.62 kB / 1.117 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.737e-05/0.8964, allocations: 35.06 kB / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.8964, allocations: 4 kB / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8964, allocations: 0 / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.8964, allocations: 3.984 kB / 1.117 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.8968, allocations: 365.8 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8968, allocations: 7.875 kB / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.8971, allocations: 50.86 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.8971, allocations: 7.984 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.8971, allocations: 0 / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8971, allocations: 0 / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.8971, allocations: 4 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.8977, allocations: 401.5 kB / 1.118 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.8979, allocations: 132.7 kB / 1.118 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.8979, allocations: 8 kB / 1.118 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.8982, allocations: 24.05 kB / 1.118 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.8982, allocations: 15.97 kB / 1.118 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.8983, allocations: 7.984 kB / 1.118 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002358/0.8985, allocations: 216.6 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8985, allocations: 3.938 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003748/0.8989, allocations: 67.69 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB 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 (22): * Single equations (assignments): 22 * 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.0001714/0.8991, allocations: 103 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.8994, allocations: 170.5 kB / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8994, allocations: 0 / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.8996, allocations: 95.88 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.9001, allocations: 73.36 kB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.9013, allocations: 0.4921 MB / 1.119 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.9017, allocations: 0.8036 MB / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.9019, allocations: 36.39 kB / 1.12 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.902, allocations: 23.44 kB / 1.12 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.902, allocations: 4 kB / 1.12 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.007282/0.9093, allocations: 2.985 MB / 1.123 GB, free: 9.453 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)