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/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009437/0.0009437, allocations: 184.3 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205 MB / 0.5767 GB, free: 21.02 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.0007991/0.0007993, allocations: 96.66 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003406, allocations: 12.08 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2325, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00337/0.2359, allocations: 2.853 MB / 0.8995 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.238, allocations: 0.9902 MB / 0.9005 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.2388, allocations: 15.94 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.2392, allocations: 51.5 kB / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.2397, allocations: 71.44 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.2404, allocations: 220 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.2411, allocations: 0.5075 MB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.2415, allocations: 231.3 kB / 0.9016 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.2418, allocations: 151.1 kB / 0.9017 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.242, allocations: 154.9 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.2421, allocations: 12 kB / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.981e-05/0.2422, allocations: 12 kB / 0.9019 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.2422, allocations: 63.62 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.2424, allocations: 186.7 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.2428, allocations: 0.4981 MB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2428, allocations: 0 / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2429, allocations: 0 / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.2429, allocations: 0 / 0.9026 GB, free: 62.18 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.001219/0.2441, allocations: 0.6959 MB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.2442, allocations: 12.03 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.2443, allocations: 52.28 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.2448, allocations: 412.6 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.2448, allocations: 33.31 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.2449, allocations: 40.36 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.2454, allocations: 398 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2454, allocations: 0 / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.2455, allocations: 16 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2455, allocations: 11.94 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.2459, allocations: 271.9 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2473, allocations: 1.328 MB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.2479, allocations: 310.6 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.2481, allocations: 140.8 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.2482, allocations: 7.938 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.2485, allocations: 174.1 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.2485, allocations: 0 / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0006842/0.2492, allocations: 393.7 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2492, allocations: 89.08 kB / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.2495, allocations: 345.6 kB / 0.9072 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2496, allocations: 37.7 kB / 0.9072 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2497, allocations: 240.3 kB / 0.9074 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.2497, allocations: 98.55 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.2498, allocations: 49.69 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.2499, allocations: 350.8 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.2501, allocations: 100.7 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2503, allocations: 176.4 kB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.2507, allocations: 260.4 kB / 0.9084 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2507, allocations: 4 kB / 0.9084 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000514/0.2512, allocations: 354.5 kB / 0.9087 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2512, allocations: 8 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2512, allocations: 0 / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2512, allocations: 4 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.2515, allocations: 71.84 kB / 0.9088 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.2515, allocations: 4 kB / 0.9088 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2517, allocations: 51.84 kB / 0.9089 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2517, allocations: 12 kB / 0.9089 GB, free: 55.4 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 (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.0001527/0.2519, allocations: 169.8 kB / 0.9091 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.2519, allocations: 43.47 kB / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.252, allocations: 40.25 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.252, allocations: 3.984 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.252, allocations: 4 kB / 0.9091 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.2521, allocations: 140.5 kB / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.2522, allocations: 4 kB / 0.9093 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.2523, allocations: 19.98 kB / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.2524, allocations: 27.95 kB / 0.9093 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006188/0.253, allocations: 400.5 kB / 0.9097 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007061/0.2538, allocations: 0.5932 MB / 0.9103 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001897/0.254, allocations: 124 kB / 0.9104 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001743/0.2542, allocations: 239.2 kB / 0.9106 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of Backend: time 5.91e-07/0.2542, allocations: 3.938 kB / 0.9106 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.2548, allocations: 271.8 kB / 0.9109 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001391/0.2562, allocations: 1.377 MB / 0.9122 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.006795/0.263, allocations: 3.724 MB / 0.9159 GB, free: 48.17 MB / 0.6042 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)