Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009915, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008153/0.008153, allocations: 169.2 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 6.719 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4048, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003803/0.4087, allocations: 2.666 MB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.4109, allocations: 0.8885 MB / 1.078 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.4115, allocations: 11.94 kB / 1.078 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.4118, allocations: 43.58 kB / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.4123, allocations: 71.44 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.413, allocations: 195 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000687/0.4137, allocations: 459.2 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.4142, allocations: 201.2 kB / 1.079 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.4145, allocations: 135.2 kB / 1.079 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.4148, allocations: 139 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.4148, allocations: 8 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.4149, allocations: 12 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.415, allocations: 55.64 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.4152, allocations: 188.6 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.4156, allocations: 458.5 kB / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.4157, allocations: 0 / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4157, allocations: 3.938 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.4157, allocations: 0 / 1.079 GB, free: 2.051 MB / 0.8262 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.001216/0.4169, allocations: 0.639 MB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.417, allocations: 8.031 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.4171, allocations: 56.38 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.4176, allocations: 388.3 kB / 1.081 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.4177, allocations: 25.03 kB / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.4177, allocations: 32.38 kB / 1.081 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.4183, allocations: 349.4 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4183, allocations: 0 / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.4184, allocations: 16 kB / 1.081 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4184, allocations: 8 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.4188, allocations: 218.1 kB / 1.081 GB, free: 224 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.4204, allocations: 1.193 MB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.4209, allocations: 242.7 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.4212, allocations: 117.6 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.4212, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4213, allocations: 42.88 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.213e-06/0.4213, allocations: 4 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0006921/0.422, allocations: 290.4 kB / 1.083 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.422, allocations: 110.8 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.4224, allocations: 337.6 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.4224, allocations: 37.64 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4226, allocations: 228.2 kB / 1.084 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.4227, allocations: 74.91 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.4227, allocations: 21.72 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4229, allocations: 346.8 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.4231, allocations: 83.95 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.4233, allocations: 144.2 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.4237, allocations: 213.5 kB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4237, allocations: 0 / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004928/0.4242, allocations: 288.9 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4242, allocations: 7.938 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4242, allocations: 0 / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4242, allocations: 4 kB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.4245, allocations: 55.91 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.4245, allocations: 0 / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.4247, allocations: 51.84 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4247, allocations: 15.98 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.4249, allocations: 163.1 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.425, allocations: 31.62 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.367e-05/0.425, allocations: 35.36 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4251, allocations: 4 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4251, allocations: 0 / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4251, allocations: 7.984 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.4255, allocations: 401.2 kB / 1.086 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4255, allocations: 0 / 1.086 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.4257, allocations: 43.92 kB / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4257, allocations: 0 / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.4258, allocations: 8 kB / 1.086 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4258, allocations: 3.984 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4258, allocations: 0 / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/0.4264, allocations: 429.5 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.4266, allocations: 128.7 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.4266, allocations: 4 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.4268, allocations: 27.97 kB / 1.086 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.4269, allocations: 19.98 kB / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.4269, allocations: 11.98 kB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002192/0.4271, allocations: 235.2 kB / 1.086 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4271, allocations: 0 / 1.086 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000297/0.4274, allocations: 67.75 kB / 1.086 GB, free: 10.48 MB / 0.8419 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.4275, allocations: 107.2 kB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.428, allocations: 211.7 kB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.428, allocations: 3.938 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.4282, allocations: 99.91 kB / 1.087 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.4288, allocations: 77.67 kB / 1.087 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4301, allocations: 0.8802 MB / 1.088 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4304, allocations: 0.7914 MB / 1.089 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.4306, allocations: 42.95 kB / 1.089 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.4306, allocations: 27.42 kB / 1.089 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4306, allocations: 0 / 1.089 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.006782/0.4374, allocations: 2.946 MB / 1.092 GB, free: 5.262 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)