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.0009985/0.0009985, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001423/0.001423, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.69/1.69, allocations: 252 MB / 0.5102 GB, free: 4.742 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.0009265/0.0009265, allocations: 12 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6038, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004095/0.6079, allocations: 2.671 MB / 0.7307 GB, free: 8.715 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.6098, allocations: 0.9478 MB / 0.7316 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.6102, allocations: 11.94 kB / 0.7317 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.6104, allocations: 47.52 kB / 0.7317 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.6106, allocations: 71.42 kB / 0.7318 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.6112, allocations: 162.6 kB / 0.7319 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.6118, allocations: 491.8 kB / 0.7324 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.6122, allocations: 175.7 kB / 0.7326 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.6124, allocations: 147.2 kB / 0.7327 GB, free: 6.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.6126, allocations: 151 kB / 0.7328 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.6126, allocations: 15.94 kB / 0.7329 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.804e-05/0.6127, allocations: 16 kB / 0.7329 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.6127, allocations: 55.7 kB / 0.7329 GB, free: 6.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.6128, allocations: 101.5 kB / 0.733 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.6132, allocations: 420.9 kB / 0.7334 GB, free: 5.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.6132, allocations: 0 / 0.7334 GB, free: 5.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6132, allocations: 4 kB / 0.7334 GB, free: 5.918 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6132, allocations: 0 / 0.7334 GB, free: 5.918 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.001115/0.6144, allocations: 0.6919 MB / 0.7341 GB, free: 5.172 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6144, allocations: 15.95 kB / 0.7341 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.6145, allocations: 55.34 kB / 0.7342 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.6151, allocations: 395.6 kB / 0.7346 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.447e-05/0.6152, allocations: 29 kB / 0.7346 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.6152, allocations: 39.91 kB / 0.7346 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.6159, allocations: 397.6 kB / 0.735 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.616, allocations: 0 / 0.735 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.616, allocations: 16 kB / 0.735 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.616, allocations: 8 kB / 0.735 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.6165, allocations: 271.8 kB / 0.7353 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.6183, allocations: 1.332 MB / 0.7366 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.6189, allocations: 313.7 kB / 0.7369 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.6192, allocations: 143.2 kB / 0.737 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.6193, allocations: 8 kB / 0.737 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.6197, allocations: 169.6 kB / 0.7372 GB, free: 1.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 5.14e-06/0.6197, allocations: 0 / 0.7372 GB, free: 1.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008491/0.6205, allocations: 389.7 kB / 0.7376 GB, free: 1.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.6206, allocations: 81.11 kB / 0.7376 GB, free: 1.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.621, allocations: 349.6 kB / 0.738 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.6211, allocations: 41.7 kB / 0.738 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.6213, allocations: 244.8 kB / 0.7382 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.6213, allocations: 102.5 kB / 0.7383 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.6214, allocations: 4 kB / 0.7383 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6215, allocations: 350.8 kB / 0.7387 GB, free: 288 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.6217, allocations: 100.7 kB / 0.7388 GB, free: 184 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.622, allocations: 176.4 kB / 0.7389 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.6223, allocations: 113.6 kB / 0.739 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6223, allocations: 0 / 0.739 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006082/0.6229, allocations: 346.9 kB / 0.7394 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6229, allocations: 4 kB / 0.7394 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6229, allocations: 8.188 kB / 0.7394 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.6229, allocations: 0 / 0.7394 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.6232, allocations: 79.77 kB / 0.7395 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.6232, allocations: 4 kB / 0.7395 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.6234, allocations: 43.67 kB / 0.7395 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.6235, allocations: 16 kB / 0.7395 GB, free: 15.38 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 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.6237, allocations: 177.7 kB / 0.7397 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.6237, allocations: 35.53 kB / 0.7397 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.6238, allocations: 48.23 kB / 0.7398 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6238, allocations: 4 kB / 0.7398 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6238, allocations: 0 / 0.7398 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6239, allocations: 0 / 0.7398 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.6249, allocations: 0.8065 MB / 0.7406 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6249, allocations: 0 / 0.7406 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.6252, allocations: 51.92 kB / 0.7406 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6252, allocations: 3.984 kB / 0.7406 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.6252, allocations: 8 kB / 0.7406 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.6252, allocations: 0 / 0.7406 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6252, allocations: 0 / 0.7406 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008293/0.6261, allocations: 0.5274 MB / 0.7411 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.6262, allocations: 136.6 kB / 0.7413 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.6263, allocations: 11.94 kB / 0.7413 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.6264, allocations: 24.05 kB / 0.7413 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.6265, allocations: 27.95 kB / 0.7413 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.6266, allocations: 15.92 kB / 0.7414 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002387/0.6268, allocations: 235.2 kB / 0.7416 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6268, allocations: 0 / 0.7416 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003448/0.6272, allocations: 91.69 kB / 0.7417 GB, free: 13.09 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 (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.0001272/0.6273, allocations: 111.9 kB / 0.7418 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.6278, allocations: 267.7 kB / 0.742 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6279, allocations: 0 / 0.742 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.6281, allocations: 131.9 kB / 0.7422 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.6286, allocations: 80.45 kB / 0.7422 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.6302, allocations: 0.9738 MB / 0.7432 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.6307, allocations: 0.8113 MB / 0.744 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.6309, allocations: 47.27 kB / 0.744 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.631, allocations: 27.44 kB / 0.744 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.631, allocations: 4 kB / 0.744 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.007428/0.6385, allocations: 3.252 MB / 0.7472 GB, free: 7.359 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: