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.007852/0.007852, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.00136/0.001361, allocations: 190 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.677/1.677, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001495/0.001495, allocations: 71.89 kB / 0.7257 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.286, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005582/0.2916, allocations: 3.138 MB / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.2939, allocations: 1.021 MB / 0.8321 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.2943, allocations: 11.94 kB / 0.8321 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.2946, allocations: 71.25 kB / 0.8322 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.2948, allocations: 95.11 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.2954, allocations: 247 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005684/0.296, allocations: 0.5465 MB / 0.833 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.2964, allocations: 247.5 kB / 0.8332 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.2967, allocations: 207.1 kB / 0.8334 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.297, allocations: 206.8 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.407e-05/0.297, allocations: 52 kB / 0.8337 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.2971, allocations: 52 kB / 0.8337 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2972, allocations: 119.5 kB / 0.8339 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.2975, allocations: 234.8 kB / 0.8341 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.2982, allocations: 0.5566 MB / 0.8346 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.2982, allocations: 3.984 kB / 0.8346 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2982, allocations: 0 / 0.8346 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.2982, allocations: 4 kB / 0.8346 GB, free: 9.41 MB / 0.6544 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.001506/0.2997, allocations: 0.7763 MB / 0.8354 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.2998, allocations: 12.02 kB / 0.8354 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2999, allocations: 60.22 kB / 0.8355 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008056/0.3007, allocations: 412.7 kB / 0.8359 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.3008, allocations: 29.38 kB / 0.8359 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.3009, allocations: 36.38 kB / 0.8359 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.3016, allocations: 401.9 kB / 0.8363 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.3017, allocations: 4 kB / 0.8363 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.3017, allocations: 19.94 kB / 0.8363 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3017, allocations: 12 kB / 0.8363 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.3023, allocations: 263.8 kB / 0.8366 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.3042, allocations: 1.313 MB / 0.8379 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.3051, allocations: 319 kB / 0.8382 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.3053, allocations: 136.8 kB / 0.8383 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.3054, allocations: 4.547 kB / 0.8383 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.3057, allocations: 181.4 kB / 0.8385 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.145e-06/0.3058, allocations: 0 / 0.8385 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.0008444/0.3066, allocations: 389.7 kB / 0.8388 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.3067, allocations: 81.11 kB / 0.8389 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.3071, allocations: 349.7 kB / 0.8393 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.3071, allocations: 33.7 kB / 0.8393 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.3073, allocations: 232.3 kB / 0.8395 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.3074, allocations: 110.5 kB / 0.8396 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3075, allocations: 66.08 kB / 0.8397 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3077, allocations: 354.8 kB / 0.84 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.3079, allocations: 96.7 kB / 0.8401 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.3083, allocations: 172.4 kB / 0.8403 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.3088, allocations: 259.8 kB / 0.8405 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3088, allocations: 4 kB / 0.8405 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006561/0.3094, allocations: 354.4 kB / 0.8409 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3095, allocations: 8 kB / 0.8409 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3095, allocations: 0 / 0.8409 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.3095, allocations: 4 kB / 0.8409 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.3098, allocations: 60.09 kB / 0.8409 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3098, allocations: 11.94 kB / 0.8409 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.31, allocations: 39.67 kB / 0.841 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.31, allocations: 16 kB / 0.841 GB, free: 2.566 MB / 0.6544 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.000202/0.3103, allocations: 169.7 kB / 0.8412 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.3103, allocations: 39.52 kB / 0.8412 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.3104, allocations: 48.25 kB / 0.8412 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3105, allocations: 3.938 kB / 0.8412 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3105, allocations: 8 kB / 0.8413 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3105, allocations: 0 / 0.8413 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.3117, allocations: 0.807 MB / 0.842 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3117, allocations: 3.938 kB / 0.842 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3119, allocations: 47.91 kB / 0.8421 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3119, allocations: 0 / 0.8421 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.312, allocations: 8 kB / 0.8421 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.312, allocations: 4 kB / 0.8421 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.312, allocations: 0 / 0.8421 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008359/0.3128, allocations: 0.513 MB / 0.8426 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.313, allocations: 140.6 kB / 0.8427 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.313, allocations: 7.984 kB / 0.8427 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3132, allocations: 24.05 kB / 0.8428 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.3133, allocations: 23.97 kB / 0.8428 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3133, allocations: 12 kB / 0.8428 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002692/0.3136, allocations: 243.2 kB / 0.843 GB, free: 388 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3137, allocations: 0 / 0.843 GB, free: 388 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003428/0.314, allocations: 87.62 kB / 0.8431 GB, free: 300 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001789/0.3142, allocations: 115.2 kB / 0.8432 GB, free: 176 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000629/0.3148, allocations: 264.1 kB / 0.8435 GB, free: 15.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3148, allocations: 0 / 0.8435 GB, free: 15.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.3151, allocations: 135.8 kB / 0.8436 GB, free: 15.78 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.3157, allocations: 81.88 kB / 0.8437 GB, free: 15.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.3174, allocations: 0.7977 MB / 0.8445 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.3179, allocations: 0.8152 MB / 0.8453 GB, free: 14.03 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.3181, allocations: 43.27 kB / 0.8453 GB, free: 13.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.3182, allocations: 39.42 kB / 0.8453 GB, free: 13.95 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/0.3182, allocations: 0 / 0.8453 GB, free: 13.95 MB / 0.67 GB Notification: Performance of Templates: time 0.00889/0.3271, allocations: 3.697 MB / 0.849 GB, free: 10.28 MB / 0.67 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)