Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4455/0.4455, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.3 MB / 348.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.0009223, allocations: 90.12 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.693e-05, allocations: 0 / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.439, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.5869, allocations: 109.5 MB / 0.6672 GB, free: 10.76 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.5873, allocations: 79.95 kB / 0.6673 GB, free: 10.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02009/0.6074, allocations: 7.528 MB / 0.6746 GB, free: 3.141 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6074, allocations: 1.219 kB / 0.6746 GB, free: 3.141 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.44e-05/0.6075, allocations: 12 kB / 0.6746 GB, free: 3.129 MB / 490.7 MB 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.001141/0.6086, allocations: 0.6445 MB / 0.6753 GB, free: 2.441 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6087, allocations: 11.98 kB / 0.6753 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.6089, allocations: 55.34 kB / 0.6753 GB, free: 2.375 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.6095, allocations: 392.2 kB / 0.6757 GB, free: 1.953 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.6096, allocations: 32.78 kB / 0.6757 GB, free: 1.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.6097, allocations: 36 kB / 0.6758 GB, free: 1.887 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.6103, allocations: 395.2 kB / 0.6761 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.6104, allocations: 4 kB / 0.6761 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.6104, allocations: 19.95 kB / 0.6762 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.6105, allocations: 8 kB / 0.6762 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.6109, allocations: 255 kB / 0.6764 GB, free: 1.191 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.6129, allocations: 1.371 MB / 0.6778 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.6135, allocations: 312.7 kB / 0.6781 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.6137, allocations: 128.8 kB / 0.6782 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.6137, allocations: 4 kB / 0.6782 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.614, allocations: 177.5 kB / 0.6784 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.614, allocations: 4 kB / 0.6784 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0005275/0.6146, allocations: 278.7 kB / 0.6786 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.6147, allocations: 140.5 kB / 0.6788 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.615, allocations: 311.5 kB / 0.6791 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.615, allocations: 37.7 kB / 0.6791 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.6152, allocations: 230.5 kB / 0.6793 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.6153, allocations: 106.5 kB / 0.6794 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.6153, allocations: 4 kB / 0.6794 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6154, allocations: 350.8 kB / 0.6797 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.6156, allocations: 96 kB / 0.6798 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.6158, allocations: 155.9 kB / 0.68 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.616, allocations: 113.5 kB / 0.6801 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.616, allocations: 0 / 0.6801 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004692/0.6165, allocations: 322.3 kB / 0.6804 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6165, allocations: 8 kB / 0.6804 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.6165, allocations: 0 / 0.6804 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6165, allocations: 4 kB / 0.6804 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.6168, allocations: 71.97 kB / 0.6805 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6168, allocations: 4 kB / 0.6805 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.6171, allocations: 55.61 kB / 0.6805 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.6171, allocations: 12 kB / 0.6806 GB, free: 12.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001042/0.6172, allocations: 124.9 kB / 0.6807 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.6173, allocations: 43.53 kB / 0.6807 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.913e-05/0.6174, allocations: 40.38 kB / 0.6808 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6174, allocations: 8.031 kB / 0.6808 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6174, allocations: 0 / 0.6808 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6174, allocations: 3.984 kB / 0.6808 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.6185, allocations: 0.834 MB / 0.6816 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6185, allocations: 0 / 0.6816 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.6188, allocations: 59.91 kB / 0.6816 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.6188, allocations: 5.156 kB / 0.6816 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.6188, allocations: 4 kB / 0.6816 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6188, allocations: 4 kB / 0.6816 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6188, allocations: 3.953 kB / 0.6816 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.6195, allocations: 0.4951 MB / 0.6821 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.6197, allocations: 148.6 kB / 0.6823 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.6197, allocations: 8.062 kB / 0.6823 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.6199, allocations: 27.98 kB / 0.6823 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.62, allocations: 31.89 kB / 0.6823 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.6201, allocations: 11.95 kB / 0.6824 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002687/0.6203, allocations: 246.2 kB / 0.6826 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6204, allocations: 0 / 0.6826 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003365/0.6207, allocations: 91.75 kB / 0.6827 GB, free: 10.5 MB / 0.4948 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * 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.0001398/0.6208, allocations: 109.6 kB / 0.6828 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.6213, allocations: 244.2 kB / 0.683 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6213, allocations: 4 kB / 0.683 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.6215, allocations: 136.4 kB / 0.6831 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.622, allocations: 76.7 kB / 0.6832 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.6232, allocations: 0.5745 MB / 0.6838 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.6236, allocations: 0.823 MB / 0.6846 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.6237, allocations: 47.25 kB / 0.6846 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.6238, allocations: 27.44 kB / 0.6847 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.6238, allocations: 4 kB / 0.6847 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of Templates: time 0.007923/0.6318, allocations: 3.727 MB / 0.6883 GB, free: 4.75 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)