Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001315, allocations: 179.7 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009438/0.0009436, allocations: 98.73 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 15.14 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003953/0.2206, allocations: 2.671 MB / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.223, allocations: 0.9517 MB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.2235, allocations: 11.94 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.2237, allocations: 51.5 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.224, allocations: 63.44 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.2247, allocations: 166 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000656/0.2254, allocations: 0.4918 MB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.226, allocations: 231.7 kB / 0.904 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.2263, allocations: 139.2 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.2266, allocations: 147.1 kB / 0.9043 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.2266, allocations: 12 kB / 0.9043 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.2267, allocations: 12 kB / 0.9043 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.2268, allocations: 67.64 kB / 0.9044 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.2269, allocations: 101.5 kB / 0.9045 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.2273, allocations: 415.2 kB / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2274, allocations: 0 / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2274, allocations: 0 / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2274, allocations: 0 / 0.9049 GB, free: 59.98 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.001421/0.2288, allocations: 0.6959 MB / 0.9055 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2289, allocations: 12.03 kB / 0.9055 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.229, allocations: 52.28 kB / 0.9056 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.2297, allocations: 397 kB / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.2298, allocations: 29.38 kB / 0.906 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/0.2299, allocations: 44.36 kB / 0.906 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/0.2308, allocations: 405.9 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2309, allocations: 4 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.2309, allocations: 16 kB / 0.9065 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2309, allocations: 8 kB / 0.9065 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.2318, allocations: 271.7 kB / 0.9067 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.2341, allocations: 1.324 MB / 0.908 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.2352, allocations: 314.5 kB / 0.9083 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/0.2356, allocations: 150.3 kB / 0.9085 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.2357, allocations: 4 kB / 0.9085 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.2362, allocations: 169.6 kB / 0.9086 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.517e-06/0.2362, allocations: 0 / 0.9086 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001195/0.2374, allocations: 385.8 kB / 0.909 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.2375, allocations: 89.09 kB / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.238, allocations: 345.5 kB / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.238, allocations: 33.7 kB / 0.9094 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.2382, allocations: 240.8 kB / 0.9097 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/0.2383, allocations: 102.5 kB / 0.9098 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.2383, allocations: 12 kB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.2384, allocations: 350.8 kB / 0.9101 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.2388, allocations: 100.7 kB / 0.9102 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.2392, allocations: 172.4 kB / 0.9104 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.2396, allocations: 110.3 kB / 0.9105 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2396, allocations: 0 / 0.9105 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009396/0.2406, allocations: 358.8 kB / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.2406, allocations: 11.94 kB / 0.9108 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2406, allocations: 0 / 0.9108 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2407, allocations: 4 kB / 0.9108 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.2412, allocations: 63.91 kB / 0.9109 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2412, allocations: 4.188 kB / 0.9109 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.2416, allocations: 47.67 kB / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.2416, allocations: 12 kB / 0.911 GB, free: 53.45 MB / 0.6042 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.0003061/0.2419, allocations: 177.6 kB / 0.9111 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.242, allocations: 47.45 kB / 0.9112 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.2421, allocations: 44.25 kB / 0.9112 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.914e-06/0.2422, allocations: 4 kB / 0.9112 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2422, allocations: 0 / 0.9112 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.2423, allocations: 140.5 kB / 0.9113 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.2424, allocations: 11.98 kB / 0.9114 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.2427, allocations: 23.98 kB / 0.9114 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.2428, allocations: 23.95 kB / 0.9114 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001134/0.244, allocations: 376.7 kB / 0.9118 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001245/0.2452, allocations: 0.6049 MB / 0.9124 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000353/0.2456, allocations: 119.9 kB / 0.9125 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003603/0.246, allocations: 239.2 kB / 0.9127 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of Backend: time 7.21e-07/0.246, allocations: 0 / 0.9127 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009503/0.247, allocations: 260.3 kB / 0.9129 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of SimCode: time 0.00197/0.249, allocations: 1.373 MB / 0.9143 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.01099/0.26, allocations: 3.608 MB / 0.9178 GB, free: 46.34 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)