Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.74/3.74, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003269/0.003269, allocations: 174.7 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.911/3.911, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001742/0.001742, allocations: 96.47 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006816/0.0006817, allocations: 12.69 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3261, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3472/0.6734, allocations: 133.1 MB / 1.029 GB, free: 12.27 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004904/0.674, allocations: 95.94 kB / 1.03 GB, free: 12.18 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.6848, allocations: 1.537 MB / 1.031 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.787e-06/0.6848, allocations: 4 kB / 1.031 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.6849, allocations: 0 / 1.031 GB, free: 10.63 MB / 0.6824 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.001223/0.6861, allocations: 450.6 kB / 1.031 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/0.6862, allocations: 8.031 kB / 1.031 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.829e-05/0.6863, allocations: 12.84 kB / 1.032 GB, free: 10.11 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.6867, allocations: 188.2 kB / 1.032 GB, free: 9.883 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.6868, allocations: 8.375 kB / 1.032 GB, free: 9.875 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.6868, allocations: 8.312 kB / 1.032 GB, free: 9.867 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.6875, allocations: 102.2 kB / 1.032 GB, free: 9.762 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.6876, allocations: 192 / 1.032 GB, free: 9.762 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.6876, allocations: 7.938 kB / 1.032 GB, free: 9.754 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.6876, allocations: 4 kB / 1.032 GB, free: 9.75 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.6884, allocations: 87.88 kB / 1.032 GB, free: 9.664 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.6897, allocations: 344.6 kB / 1.032 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.6905, allocations: 94.52 kB / 1.032 GB, free: 9.176 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.6909, allocations: 56.95 kB / 1.032 GB, free: 9.117 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.691, allocations: 4 kB / 1.032 GB, free: 9.113 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006651/0.6917, allocations: 119.3 kB / 1.032 GB, free: 8.984 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 5.641e-06/0.6917, allocations: 0 / 1.032 GB, free: 8.984 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7): time 0.001641/0.6934, allocations: 235.2 kB / 1.033 GB, free: 8.742 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.6935, allocations: 77.11 kB / 1.033 GB, free: 8.648 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.6938, allocations: 131.1 kB / 1.033 GB, free: 8.508 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.6939, allocations: 29.7 kB / 1.033 GB, free: 8.473 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.694, allocations: 99.98 kB / 1.033 GB, free: 8.371 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.6941, allocations: 23.73 kB / 1.033 GB, free: 8.348 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.6941, allocations: 0 / 1.033 GB, free: 8.348 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002325/0.6944, allocations: 326.7 kB / 1.033 GB, free: 8.02 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.6949, allocations: 55.95 kB / 1.033 GB, free: 7.965 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.6953, allocations: 59.95 kB / 1.033 GB, free: 7.906 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.6959, allocations: 99.38 kB / 1.034 GB, free: 7.797 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6959, allocations: 0 / 1.034 GB, free: 7.797 MB / 0.6824 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001155/0.6971, allocations: 228.9 kB / 1.034 GB, free: 7.555 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.6972, allocations: 63.41 kB / 1.034 GB, free: 7.48 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6972, allocations: 0 / 1.034 GB, free: 7.48 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.6973, allocations: 0 / 1.034 GB, free: 7.48 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.6976, allocations: 23.97 kB / 1.034 GB, free: 7.457 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6976, allocations: 288 / 1.034 GB, free: 7.457 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.698, allocations: 23.98 kB / 1.034 GB, free: 7.434 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.6981, allocations: 4 kB / 1.034 GB, free: 7.43 MB / 0.6824 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 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.6983, allocations: 155.4 kB / 1.034 GB, free: 7.262 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.6984, allocations: 7.906 kB / 1.034 GB, free: 7.254 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.6985, allocations: 16.66 kB / 1.034 GB, free: 7.242 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6985, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6985, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.6986, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.7001, allocations: 456.3 kB / 1.035 GB, free: 6.734 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.7002, allocations: 0 / 1.035 GB, free: 6.734 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.7004, allocations: 19.98 kB / 1.035 GB, free: 6.715 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.7004, allocations: 0 / 1.035 GB, free: 6.715 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.7005, allocations: 7.984 kB / 1.035 GB, free: 6.707 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.7005, allocations: 0 / 1.035 GB, free: 6.707 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.7005, allocations: 80 / 1.035 GB, free: 6.707 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.7017, allocations: 302.5 kB / 1.035 GB, free: 6.391 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.7019, allocations: 81.11 kB / 1.035 GB, free: 6.293 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.702, allocations: 0 / 1.035 GB, free: 6.293 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.7024, allocations: 31.98 kB / 1.035 GB, free: 6.262 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.7026, allocations: 23.91 kB / 1.035 GB, free: 6.238 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.7027, allocations: 3.984 kB / 1.035 GB, free: 6.234 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.000168/0.7029, allocations: 104.5 kB / 1.035 GB, free: 6.133 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.61e-07/0.7029, allocations: 0 / 1.035 GB, free: 6.133 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0006718/0.7036, allocations: 19.91 kB / 1.035 GB, free: 6.113 MB / 0.6824 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 (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.000276/0.7039, allocations: 107.2 kB / 1.035 GB, free: 5.996 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.705, allocations: 234.7 kB / 1.035 GB, free: 5.742 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7051, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.7057, allocations: 123.4 kB / 1.036 GB, free: 5.609 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.7063, allocations: 8 kB / 1.036 GB, free: 5.602 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.7075, allocations: 225 kB / 1.036 GB, free: 5.352 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.7081, allocations: 0.6926 MB / 1.036 GB, free: 4.633 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.7084, allocations: 15.84 kB / 1.036 GB, free: 4.617 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.7085, allocations: 11.42 kB / 1.036 GB, free: 4.609 MB / 0.6824 GB Notification: Performance of SimCode: time 1.282e-06/0.7086, allocations: 4 kB / 1.036 GB, free: 4.605 MB / 0.6824 GB Notification: Performance of Templates: time 0.007891/0.7165, allocations: 1.097 MB / 1.038 GB, free: 3.527 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)