Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.406/2.406, allocations: 251.2 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 185.3 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.702/2.702, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.0009998, allocations: 96.78 kB / 0.6813 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007081/0.0007083, allocations: 15.41 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2605, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003913/0.2644, allocations: 2.671 MB / 0.9016 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2666, allocations: 0.9556 MB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.2671, allocations: 15.94 kB / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.2673, allocations: 43.52 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.2675, allocations: 71.42 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000701/0.2683, allocations: 162.2 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000573/0.2689, allocations: 495.7 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/0.2693, allocations: 235.7 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.2696, allocations: 139.2 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.2698, allocations: 147.1 kB / 0.9038 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.2699, allocations: 16 kB / 0.9038 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.466e-05/0.2699, allocations: 12 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.27, allocations: 63.62 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.411e-05/0.2701, allocations: 101.5 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.2706, allocations: 423.2 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2706, allocations: 0 / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2706, allocations: 0 / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2706, allocations: 0 / 0.9044 GB, free: 59.88 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.001439/0.2721, allocations: 0.692 MB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2721, allocations: 11.97 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.2722, allocations: 60.27 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.2729, allocations: 389 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.273, allocations: 33.38 kB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.2731, allocations: 36.38 kB / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/0.274, allocations: 397.9 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.274, allocations: 4 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.2741, allocations: 20 kB / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2741, allocations: 11.94 kB / 0.906 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.2749, allocations: 263.8 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.2772, allocations: 1.336 MB / 0.9076 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.2782, allocations: 306.6 kB / 0.9079 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.2786, allocations: 144.7 kB / 0.908 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.2786, allocations: 7.984 kB / 0.908 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.2791, allocations: 173.6 kB / 0.9082 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.926e-06/0.2792, allocations: 0 / 0.9082 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001212/0.2804, allocations: 385.8 kB / 0.9085 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.2805, allocations: 81.11 kB / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.2809, allocations: 353.5 kB / 0.9089 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.281, allocations: 37.7 kB / 0.909 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.2811, allocations: 240.8 kB / 0.9092 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.2812, allocations: 98.56 kB / 0.9093 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.2813, allocations: 8 kB / 0.9093 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.322e-05/0.2814, allocations: 346.8 kB / 0.9096 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.2817, allocations: 104.7 kB / 0.9097 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.2821, allocations: 168.4 kB / 0.9099 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.2825, allocations: 110.3 kB / 0.91 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2825, allocations: 0 / 0.91 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000897/0.2834, allocations: 358.7 kB / 0.9104 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2835, allocations: 4 kB / 0.9104 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2835, allocations: 4 kB / 0.9104 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.2835, allocations: 4 kB / 0.9104 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.284, allocations: 63.91 kB / 0.9104 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.284, allocations: 7.984 kB / 0.9104 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.2844, allocations: 51.86 kB / 0.9105 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2845, allocations: 8 kB / 0.9105 GB, free: 53.36 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.0002371/0.2847, allocations: 181.5 kB / 0.9107 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.2848, allocations: 39.53 kB / 0.9107 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.78e-05/0.2849, allocations: 40.25 kB / 0.9107 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2849, allocations: 4 kB / 0.9107 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2849, allocations: 7.922 kB / 0.9107 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2849, allocations: 4 kB / 0.9108 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.2864, allocations: 0.8103 MB / 0.9115 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2864, allocations: 0 / 0.9115 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.2868, allocations: 43.98 kB / 0.9116 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2869, allocations: 8 kB / 0.9116 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.2869, allocations: 7.984 kB / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2869, allocations: 4 kB / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2869, allocations: 0 / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.2881, allocations: 0.5273 MB / 0.9121 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.2883, allocations: 136.7 kB / 0.9123 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.2884, allocations: 4 kB / 0.9123 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.2887, allocations: 23.89 kB / 0.9123 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.2888, allocations: 31.94 kB / 0.9123 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.2889, allocations: 8 kB / 0.9123 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003039/0.2892, allocations: 239.2 kB / 0.9125 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2892, allocations: 8.062 kB / 0.9126 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000461/0.2897, allocations: 91.62 kB / 0.9126 GB, free: 51.05 MB / 0.6042 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.000129/0.2898, allocations: 111.2 kB / 0.9127 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007962/0.2906, allocations: 264 kB / 0.913 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2906, allocations: 4 kB / 0.913 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.291, allocations: 139.8 kB / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.2918, allocations: 69.5 kB / 0.9132 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.2938, allocations: 0.9622 MB / 0.9141 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.2941, allocations: 0.8152 MB / 0.9149 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.2944, allocations: 43.2 kB / 0.915 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2946, allocations: 39.42 kB / 0.915 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/0.2946, allocations: 0 / 0.915 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.01016/0.3048, allocations: 3.254 MB / 0.9182 GB, free: 45.32 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)