Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008692/0.0008692, allocations: 91.67 kB / 20.95 MB, free: 3.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003605/0.003605, allocations: 162.3 kB / 24.38 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8801/0.8801, allocations: 177.1 MB / 204.8 MB, free: 4.984 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.845/1.845, allocations: 389.6 MB / 0.6356 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7756 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.544e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002407/0.002432, allocations: 1.631 MB / 0.7772 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.003265, allocations: 0.5061 MB / 0.7777 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.003336, allocations: 0 / 0.7777 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.00345, allocations: 9.016 kB / 0.7777 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.003505, allocations: 21.06 kB / 0.7777 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.003743, allocations: 39.83 kB / 0.7777 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.003895, allocations: 94.39 kB / 0.7778 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.003983, allocations: 16.66 kB / 0.7778 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.004168, allocations: 63.81 kB / 0.7779 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.004233, allocations: 24.5 kB / 0.7779 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.004252, allocations: 4.625 kB / 0.7779 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.004304, allocations: 8 kB / 0.7779 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.004346, allocations: 24.5 kB / 0.7779 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.004386, allocations: 25.42 kB / 0.778 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.004522, allocations: 67.8 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004525, allocations: 0 / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004526, allocations: 0 / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.00453, allocations: 0 / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000438/0.004968, allocations: 353.1 kB / 0.7784 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.005, allocations: 9.5 kB / 0.7784 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.005118, allocations: 20.86 kB / 0.7784 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.005267, allocations: 128.6 kB / 0.7785 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.005277, allocations: 5.094 kB / 0.7785 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.00529, allocations: 8.375 kB / 0.7785 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.005445, allocations: 105.2 kB / 0.7786 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.005451, allocations: 1.094 kB / 0.7786 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.005462, allocations: 4.375 kB / 0.7786 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.005467, allocations: 3.938 kB / 0.7786 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.005508, allocations: 55 kB / 0.7787 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.005793, allocations: 183 kB / 0.7789 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.005877, allocations: 68.95 kB / 0.7789 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.005909, allocations: 39.09 kB / 0.779 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.005923, allocations: 4 kB / 0.779 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.006047, allocations: 106.8 kB / 0.7791 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.006048, allocations: 0 / 0.7791 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001608/0.006209, allocations: 158.7 kB / 0.7792 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.006249, allocations: 77.11 kB / 0.7793 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.006326, allocations: 139.5 kB / 0.7794 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.006339, allocations: 25.7 kB / 0.7795 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.006384, allocations: 100.5 kB / 0.7796 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.006397, allocations: 20.59 kB / 0.7796 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/0.006707, allocations: 29.7 kB / 0.7796 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.00678, allocations: 324.5 kB / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-05/0.006821, allocations: 63.41 kB / 0.78 GB, free: 476 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.006858, allocations: 75.39 kB / 0.78 GB, free: 388 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.006932, allocations: 116.7 kB / 0.7802 GB, free: 248 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006935, allocations: 0 / 0.7802 GB, free: 248 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001142/0.007049, allocations: 185.3 kB / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.007105, allocations: 63.41 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007111, allocations: 5.047 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.007121, allocations: 3.984 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.007262, allocations: 17.69 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.007267, allocations: 3.984 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.007337, allocations: 15.94 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.007348, allocations: 3.984 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.894e-05/0.007437, allocations: 147.6 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.007456, allocations: 11.92 kB / 0.7806 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.007481, allocations: 16.78 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.007484, allocations: 0.6562 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007487, allocations: 1.125 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00749, allocations: 0 / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.0077, allocations: 274.2 kB / 0.7809 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007702, allocations: 0.5938 kB / 0.7809 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.007739, allocations: 15.92 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.007741, allocations: 4.719 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.007749, allocations: 3.984 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007751, allocations: 0.9375 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007752, allocations: 0 / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.007871, allocations: 215.8 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.007883, allocations: 11.89 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.007899, allocations: 9.422 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.406e-05/0.007953, allocations: 8 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.008033, allocations: 23.97 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.00804, allocations: 4.797 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.008064, allocations: 19.67 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008064, allocations: 2.75 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001476/0.008212, allocations: 27.94 kB / 0.7812 GB, free: 15.06 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001226/0.008334, allocations: 88.47 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.008505, allocations: 240.7 kB / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.008509, allocations: 0 / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.008576, allocations: 110 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.008737, allocations: 19.3 kB / 0.7816 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.009212, allocations: 237.1 kB / 0.7819 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.475e-05/0.009247, allocations: 60.75 kB / 0.7819 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.00928, allocations: 5.406 kB / 0.7819 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.009351, allocations: 71.36 kB / 0.782 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.009352, allocations: 3.938 kB / 0.782 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.003096/0.01245, allocations: 1.417 MB / 0.7834 GB, free: 12.77 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & (cd run_cvode && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_gbode.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_ida.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.86917710583657]