Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.888/4.888, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002498/0.002498, allocations: 352.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.211/4.211, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001784, allocations: 172 kB / 1.226 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.000476, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 115.3 MB / 1.461 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003894/0.214, allocations: 2.664 MB / 1.464 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.2164, allocations: 0.9322 MB / 1.465 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.2169, allocations: 11.94 kB / 1.465 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.217, allocations: 31.64 kB / 1.465 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.2176, allocations: 99.27 kB / 1.465 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.2184, allocations: 179.4 kB / 1.465 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007318/0.2191, allocations: 491.8 kB / 1.466 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.2196, allocations: 183.7 kB / 1.466 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.2199, allocations: 135.2 kB / 1.466 GB, free: 1.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.2201, allocations: 151.1 kB / 1.466 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.2202, allocations: 12 kB / 1.466 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.2203, allocations: 16 kB / 1.466 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.2203, allocations: 63.62 kB / 1.466 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2205, allocations: 101.5 kB / 1.466 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.2211, allocations: 415.2 kB / 1.467 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2211, allocations: 0 / 1.467 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2211, allocations: 0 / 1.467 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.2212, allocations: 4 kB / 1.467 GB, free: 1.066 MB / 0.6042 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.001779/0.2229, allocations: 0.688 MB / 1.467 GB, free: 336 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.223, allocations: 8.031 kB / 1.467 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.2232, allocations: 63.34 kB / 1.467 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.2242, allocations: 403.5 kB / 1.468 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.2242, allocations: 32.94 kB / 1.468 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.2244, allocations: 39.94 kB / 1.468 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.2255, allocations: 393.6 kB / 1.468 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2255, allocations: 0 / 1.468 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.2256, allocations: 16 kB / 1.468 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.2256, allocations: 8 kB / 1.468 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009625/0.2266, allocations: 271.8 kB / 1.469 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.2296, allocations: 1.328 MB / 1.47 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.2308, allocations: 318.5 kB / 1.47 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.2313, allocations: 137.2 kB / 1.47 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.2313, allocations: 4 kB / 1.47 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000583/0.2319, allocations: 185.5 kB / 1.47 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.276e-06/0.232, allocations: 0 / 1.47 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001477/0.2335, allocations: 385.8 kB / 1.471 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.2336, allocations: 81.11 kB / 1.471 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.2342, allocations: 353.6 kB / 1.471 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.108e-05/0.2343, allocations: 37.7 kB / 1.471 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.2346, allocations: 229 kB / 1.471 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.2348, allocations: 102.5 kB / 1.472 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.2348, allocations: 8 kB / 1.472 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.235, allocations: 350.7 kB / 1.472 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.2354, allocations: 100.7 kB / 1.472 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.2359, allocations: 168.6 kB / 1.472 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.2364, allocations: 121.5 kB / 1.472 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.2364, allocations: 0 / 1.472 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001134/0.2375, allocations: 346.9 kB / 1.473 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.2376, allocations: 11.31 kB / 1.473 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2376, allocations: 4 kB / 1.473 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2377, allocations: 0 / 1.473 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.2382, allocations: 67.91 kB / 1.473 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.2383, allocations: 7.938 kB / 1.473 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.2387, allocations: 43.66 kB / 1.473 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.2387, allocations: 16 kB / 1.473 GB, free: 10.53 MB / 0.6198 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.0003415/0.2391, allocations: 182.1 kB / 1.473 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.2392, allocations: 35.53 kB / 1.473 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.2393, allocations: 48.25 kB / 1.473 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2394, allocations: 3.984 kB / 1.473 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2394, allocations: 0 / 1.473 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.2396, allocations: 136.5 kB / 1.473 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.2397, allocations: 8 kB / 1.473 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.24, allocations: 23.98 kB / 1.473 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.2401, allocations: 27.95 kB / 1.473 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001317/0.2415, allocations: 389.7 kB / 1.474 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001547/0.2431, allocations: 0.5882 MB / 1.474 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004259/0.2435, allocations: 132 kB / 1.474 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004166/0.244, allocations: 239.2 kB / 1.474 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of Backend: time 7.11e-07/0.244, allocations: 0 / 1.474 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.2452, allocations: 254.1 kB / 1.475 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of SimCode: time 0.002425/0.2476, allocations: 1.365 MB / 1.476 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of Templates: time 0.01971/0.2674, allocations: 3.613 MB / 1.48 GB, free: 3.43 MB / 0.6198 GB