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.008989/0.008989, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001394/0.001394, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.416/1.416, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.91 kB / 0.7257 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8011, allocations: 104.7 MB / 0.828 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.0052/0.8064, allocations: 3.158 MB / 0.8311 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.8087, allocations: 1.01 MB / 0.8321 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.809, allocations: 15.94 kB / 0.8321 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.8093, allocations: 71.25 kB / 0.8322 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.8095, allocations: 107.1 kB / 0.8323 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.8101, allocations: 236.7 kB / 0.8325 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.8107, allocations: 0.5543 MB / 0.833 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.8111, allocations: 263 kB / 0.8333 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.8114, allocations: 203.1 kB / 0.8335 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.8117, allocations: 206.9 kB / 0.8337 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.8118, allocations: 52 kB / 0.8337 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.8118, allocations: 52 kB / 0.8338 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.8119, allocations: 111.6 kB / 0.8339 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.8121, allocations: 238.7 kB / 0.8341 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.8128, allocations: 0.5627 MB / 0.8346 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.8128, allocations: 0 / 0.8346 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8128, allocations: 7.938 kB / 0.8347 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.8128, allocations: 4 kB / 0.8347 GB, free: 11.78 MB / 0.6387 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.001371/0.8142, allocations: 0.7661 MB / 0.8354 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8142, allocations: 12.03 kB / 0.8354 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.8144, allocations: 56.28 kB / 0.8355 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/0.8151, allocations: 412.6 kB / 0.8359 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.8152, allocations: 29.38 kB / 0.8359 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.8152, allocations: 36.38 kB / 0.8359 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.8159, allocations: 405.9 kB / 0.8363 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.8159, allocations: 4 kB / 0.8363 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.816, allocations: 12 kB / 0.8363 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.816, allocations: 8 kB / 0.8363 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.8165, allocations: 267.8 kB / 0.8366 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.8182, allocations: 1.301 MB / 0.8379 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.8189, allocations: 310 kB / 0.8382 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.8192, allocations: 148.6 kB / 0.8383 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.979e-05/0.8192, allocations: 11.92 kB / 0.8383 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.8195, allocations: 175.2 kB / 0.8385 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.8195, allocations: 0 / 0.8385 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.0007738/0.8203, allocations: 382.3 kB / 0.8388 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/0.8204, allocations: 85.09 kB / 0.8389 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.8208, allocations: 357.5 kB / 0.8393 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.8208, allocations: 33.7 kB / 0.8393 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.821, allocations: 232.4 kB / 0.8395 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.8211, allocations: 110.5 kB / 0.8396 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.8212, allocations: 73.97 kB / 0.8397 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8214, allocations: 350.8 kB / 0.84 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.8216, allocations: 96.7 kB / 0.8401 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.8218, allocations: 172.4 kB / 0.8403 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.8223, allocations: 260.5 kB / 0.8405 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8223, allocations: 0 / 0.8405 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005885/0.8229, allocations: 354.4 kB / 0.8409 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8229, allocations: 11.94 kB / 0.8409 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8229, allocations: 192 / 0.8409 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.823, allocations: 8 kB / 0.8409 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.8232, allocations: 63.91 kB / 0.841 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.8232, allocations: 4 kB / 0.841 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.8234, allocations: 35.67 kB / 0.841 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.8235, allocations: 19.98 kB / 0.841 GB, free: 4.953 MB / 0.6387 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.0001855/0.8236, allocations: 174.7 kB / 0.8412 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.8237, allocations: 35.53 kB / 0.8412 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.8238, allocations: 52.25 kB / 0.8413 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8238, allocations: 4 kB / 0.8413 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8238, allocations: 0 / 0.8413 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.8238, allocations: 3.984 kB / 0.8413 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.8249, allocations: 0.8031 MB / 0.8421 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8249, allocations: 4 kB / 0.8421 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.8252, allocations: 43.97 kB / 0.8421 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.8252, allocations: 4 kB / 0.8421 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.8252, allocations: 12 kB / 0.8421 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.8252, allocations: 3.984 kB / 0.8421 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8252, allocations: 0 / 0.8421 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.8261, allocations: 0.5138 MB / 0.8426 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.8262, allocations: 140.6 kB / 0.8428 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.8263, allocations: 12 kB / 0.8428 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.8265, allocations: 15.98 kB / 0.8428 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.8266, allocations: 23.97 kB / 0.8428 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.8266, allocations: 11.98 kB / 0.8428 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000244/0.8268, allocations: 243.2 kB / 0.843 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8268, allocations: 3.938 kB / 0.8431 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000356/0.8272, allocations: 83.69 kB / 0.8431 GB, free: 2.684 MB / 0.6387 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.0001801/0.8274, allocations: 115.5 kB / 0.8432 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005846/0.828, allocations: 263.7 kB / 0.8435 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.828, allocations: 0 / 0.8435 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.8283, allocations: 135.8 kB / 0.8436 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.8288, allocations: 87.59 kB / 0.8437 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.8304, allocations: 0.8028 MB / 0.8445 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.8309, allocations: 0.8152 MB / 0.8453 GB, free: 436 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00018/0.831, allocations: 47.19 kB / 0.8453 GB, free: 384 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.8311, allocations: 31.44 kB / 0.8454 GB, free: 352 kB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.8311, allocations: 0 / 0.8454 GB, free: 352 kB / 0.6387 GB Notification: Performance of Templates: time 0.00929/0.8404, allocations: 3.698 MB / 0.849 GB, free: 12.67 MB / 0.6544 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)