Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004259/0.004259, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001121/0.001121, allocations: 190 kB / 16.67 MB, free: 5.977 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.174/1.174, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.336/1.336, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001293/0.001293, allocations: 71.91 kB / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1804, allocations: 104.7 MB / 0.828 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002272/0.1827, allocations: 1.517 MB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.1835, allocations: 0.4995 MB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.1836, allocations: 0 / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1837, allocations: 3.938 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.1838, allocations: 11.81 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.184, allocations: 35.94 kB / 0.8301 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1842, allocations: 79.72 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1843, allocations: 28.11 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1844, allocations: 47.83 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.1845, allocations: 35.84 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1845, allocations: 4 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.1845, allocations: 8 kB / 0.8303 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.1846, allocations: 15.92 kB / 0.8303 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.1846, allocations: 39.8 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1848, allocations: 67.77 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1848, allocations: 3.938 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1848, allocations: 4 kB / 0.8304 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1848, allocations: 0 / 0.8304 GB, free: 13.83 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006428/0.1855, allocations: 442.6 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1855, allocations: 12.03 kB / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.1855, allocations: 8.844 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1857, allocations: 188.2 kB / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1857, allocations: 12.38 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1858, allocations: 8.312 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.186, allocations: 93.75 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.186, allocations: 0 / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1861, allocations: 4 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1861, allocations: 4 kB / 0.8311 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.1864, allocations: 71.94 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.1869, allocations: 336.5 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1872, allocations: 82.52 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1874, allocations: 52.95 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1874, allocations: 4 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.1877, allocations: 103.4 kB / 0.8317 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1877, allocations: 0 / 0.8317 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005709/0.1882, allocations: 215.2 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1883, allocations: 81.11 kB / 0.832 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.1884, allocations: 134 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1884, allocations: 25.7 kB / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.1885, allocations: 96.05 kB / 0.8323 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1885, allocations: 23.73 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.1885, allocations: 21.72 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.1886, allocations: 334.7 kB / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1888, allocations: 51.95 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.189, allocations: 43.97 kB / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.1893, allocations: 170 kB / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1893, allocations: 0 / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003928/0.1897, allocations: 216.9 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.1897, allocations: 58.22 kB / 0.8331 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1897, allocations: 0 / 0.8331 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1898, allocations: 4 kB / 0.8331 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1899, allocations: 11.98 kB / 0.8332 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1899, allocations: 3.984 kB / 0.8332 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.19, allocations: 23.89 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.19, allocations: 11.94 kB / 0.8332 GB, free: 10.65 MB / 0.6544 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 0.0001111/0.1902, allocations: 147.5 kB / 0.8333 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.1902, allocations: 11.89 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.1902, allocations: 8.719 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1902, allocations: 0 / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1902, allocations: 0 / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1903, allocations: 4 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.1908, allocations: 436.5 kB / 0.8338 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1908, allocations: 4 kB / 0.8338 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.1909, allocations: 11.98 kB / 0.8338 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1909, allocations: 4 kB / 0.8338 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1909, allocations: 3.938 kB / 0.8338 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1909, allocations: 7.922 kB / 0.8338 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1909, allocations: 0 / 0.8338 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.1913, allocations: 265.2 kB / 0.8341 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.1913, allocations: 89 kB / 0.8341 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1914, allocations: 4 kB / 0.8341 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1915, allocations: 15.92 kB / 0.8342 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.1916, allocations: 27.95 kB / 0.8342 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1916, allocations: 8.031 kB / 0.8342 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.1917, allocations: 114.2 kB / 0.8343 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1917, allocations: 0 / 0.8343 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002361/0.1919, allocations: 20 kB / 0.8343 GB, free: 9.379 MB / 0.6544 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.0001109/0.1921, allocations: 107.2 kB / 0.8344 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.1925, allocations: 218.7 kB / 0.8346 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1925, allocations: 0 / 0.8346 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.1927, allocations: 119.3 kB / 0.8348 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.193, allocations: 11.98 kB / 0.8348 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.1934, allocations: 195.1 kB / 0.8349 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1937, allocations: 0.6961 MB / 0.8356 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.1937, allocations: 11.98 kB / 0.8356 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.1938, allocations: 11.44 kB / 0.8357 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.1938, allocations: 0 / 0.8357 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of Templates: time 0.003533/0.1973, allocations: 1.324 MB / 0.8369 GB, free: 6.641 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)