Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001358/0.001358, allocations: 186.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.577/1.577, allocations: 251.6 MB / 0.5089 GB, free: 3.297 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 68.47 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6142, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005069/0.6193, allocations: 3.183 MB / 0.7271 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.6213, allocations: 0.9824 MB / 0.728 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.6216, allocations: 11.94 kB / 0.7281 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.6219, allocations: 51.56 kB / 0.7281 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.6222, allocations: 75.42 kB / 0.7282 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.6227, allocations: 222.2 kB / 0.7284 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.6233, allocations: 0.5504 MB / 0.7289 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.6237, allocations: 253.4 kB / 0.7292 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.6239, allocations: 203.1 kB / 0.7294 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.6241, allocations: 206.9 kB / 0.7296 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.323e-05/0.6242, allocations: 52 kB / 0.7296 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-05/0.6243, allocations: 52 kB / 0.7297 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-05/0.6244, allocations: 119.5 kB / 0.7298 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.6246, allocations: 234.8 kB / 0.73 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.6252, allocations: 0.5373 MB / 0.7305 GB, free: 6.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6252, allocations: 7.984 kB / 0.7305 GB, free: 6.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6252, allocations: 0 / 0.7305 GB, free: 6.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.515e-06/0.6252, allocations: 0 / 0.7305 GB, free: 6.344 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001235/0.6265, allocations: 0.7655 MB / 0.7313 GB, free: 5.527 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6265, allocations: 12.02 kB / 0.7313 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.6266, allocations: 56.28 kB / 0.7313 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.6272, allocations: 416.5 kB / 0.7317 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.6272, allocations: 29.38 kB / 0.7318 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.6273, allocations: 36.38 kB / 0.7318 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.6279, allocations: 401.9 kB / 0.7322 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.628, allocations: 0 / 0.7322 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.628, allocations: 20 kB / 0.7322 GB, free: 4.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.628, allocations: 11.94 kB / 0.7322 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.6285, allocations: 263.8 kB / 0.7325 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.6304, allocations: 1.309 MB / 0.7337 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.6311, allocations: 318.6 kB / 0.734 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.6314, allocations: 145.5 kB / 0.7342 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.6314, allocations: 7.938 kB / 0.7342 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.6318, allocations: 177.4 kB / 0.7344 GB, free: 2.211 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.6318, allocations: 4 kB / 0.7344 GB, free: 2.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008064/0.6326, allocations: 381.8 kB / 0.7347 GB, free: 1.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.6327, allocations: 81.11 kB / 0.7348 GB, free: 1.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.6331, allocations: 349.6 kB / 0.7351 GB, free: 1.379 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.6331, allocations: 37.7 kB / 0.7352 GB, free: 1.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.6333, allocations: 236.9 kB / 0.7354 GB, free: 1.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.6334, allocations: 102.5 kB / 0.7355 GB, free: 1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.6335, allocations: 74.06 kB / 0.7356 GB, free: 0.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6337, allocations: 346.8 kB / 0.7359 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.6339, allocations: 100.7 kB / 0.736 GB, free: 484 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.6342, allocations: 176.3 kB / 0.7362 GB, free: 284 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.6346, allocations: 255.8 kB / 0.7364 GB, free: 8 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6346, allocations: 0 / 0.7364 GB, free: 8 kB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005634/0.6352, allocations: 362 kB / 0.7368 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6352, allocations: 5.719 kB / 0.7368 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6352, allocations: 4 kB / 0.7368 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6352, allocations: 4 kB / 0.7368 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.6355, allocations: 64.09 kB / 0.7368 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6355, allocations: 4 kB / 0.7368 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.6357, allocations: 39.67 kB / 0.7369 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.6357, allocations: 19.98 kB / 0.7369 GB, free: 15.51 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002287/0.636, allocations: 169.7 kB / 0.7371 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.636, allocations: 35.53 kB / 0.7371 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.718e-05/0.6361, allocations: 48.25 kB / 0.7371 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.6362, allocations: 4 kB / 0.7371 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6362, allocations: 3.938 kB / 0.7371 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.6362, allocations: 3.984 kB / 0.7371 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.6372, allocations: 0.8064 MB / 0.7379 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6373, allocations: 0 / 0.7379 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.6375, allocations: 51.91 kB / 0.738 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.6375, allocations: 0 / 0.738 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.6376, allocations: 8 kB / 0.738 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.6376, allocations: 3.984 kB / 0.738 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6376, allocations: 0 / 0.738 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.6384, allocations: 0.5158 MB / 0.7385 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.6386, allocations: 140.6 kB / 0.7386 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.6386, allocations: 4 kB / 0.7386 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.6388, allocations: 23.92 kB / 0.7387 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.6389, allocations: 23.97 kB / 0.7387 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.639, allocations: 11.98 kB / 0.7387 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002516/0.6392, allocations: 251.1 kB / 0.7389 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6392, allocations: 0 / 0.7389 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003495/0.6396, allocations: 87.69 kB / 0.739 GB, free: 13.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001552/0.6397, allocations: 115.2 kB / 0.7391 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006055/0.6403, allocations: 279.9 kB / 0.7394 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6404, allocations: 0 / 0.7394 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.6406, allocations: 131.9 kB / 0.7395 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.6411, allocations: 94.44 kB / 0.7396 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.6429, allocations: 0.9734 MB / 0.7406 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.6433, allocations: 0.8112 MB / 0.7413 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000188/0.6435, allocations: 51.27 kB / 0.7414 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.6436, allocations: 35.42 kB / 0.7414 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.6436, allocations: 4 kB / 0.7414 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.007914/0.6515, allocations: 3.532 MB / 0.7449 GB, free: 7.188 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)