Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.14/2.14, allocations: 254.9 MB / 269.9 MB, free: 9.641 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 201.4 kB / 329.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.407/2.407, allocations: 225.6 MB / 0.6001 GB, free: 2.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 102.1 kB / 0.7074 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004889, allocations: 10.16 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2797, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002337/0.2821, allocations: 1.232 MB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2832, allocations: 427.2 kB / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.2833, allocations: 0 / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.821e-05/0.2834, allocations: 3.938 kB / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.2835, allocations: 11.92 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.2838, allocations: 27.91 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.284, allocations: 71.77 kB / 0.9325 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2841, allocations: 16.17 kB / 0.9325 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.2843, allocations: 35.89 kB / 0.9325 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2844, allocations: 35.84 kB / 0.9326 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.2845, allocations: 4 kB / 0.9326 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.463e-05/0.2845, allocations: 4 kB / 0.9326 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.2845, allocations: 15.92 kB / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.2846, allocations: 29.7 kB / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2847, allocations: 48.17 kB / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2848, allocations: 4 kB / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2848, allocations: 0 / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.2848, allocations: 0 / 0.9327 GB, free: 23.14 MB / 0.5886 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.0008867/0.2857, allocations: 442.6 kB / 0.9331 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2858, allocations: 12.02 kB / 0.9331 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.2858, allocations: 8.844 kB / 0.9331 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.286, allocations: 180.3 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.2861, allocations: 8.375 kB / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.2861, allocations: 4.375 kB / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.2866, allocations: 105.8 kB / 0.9334 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2867, allocations: 3.938 kB / 0.9334 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.2867, allocations: 7.984 kB / 0.9334 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.2867, allocations: 4 kB / 0.9334 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.2874, allocations: 83.94 kB / 0.9335 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.2882, allocations: 340.6 kB / 0.9338 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.2886, allocations: 102.5 kB / 0.9339 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.2889, allocations: 64.88 kB / 0.934 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.289, allocations: 4 kB / 0.934 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.2894, allocations: 107.3 kB / 0.9341 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.2894, allocations: 0 / 0.9341 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0009268/0.2903, allocations: 239.1 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.2904, allocations: 81.11 kB / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2905, allocations: 138 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.2905, allocations: 25.7 kB / 0.9345 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.2906, allocations: 104 kB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.2906, allocations: 19.8 kB / 0.9347 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.2907, allocations: 0 / 0.9347 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.2907, allocations: 326.8 kB / 0.935 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.291, allocations: 51.97 kB / 0.935 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.2913, allocations: 59.95 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.2916, allocations: 103.3 kB / 0.9352 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2916, allocations: 0 / 0.9352 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006796/0.2923, allocations: 224.9 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/0.2923, allocations: 67.39 kB / 0.9355 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2924, allocations: 0 / 0.9355 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2924, allocations: 0 / 0.9355 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.2926, allocations: 23.92 kB / 0.9355 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2926, allocations: 0 / 0.9355 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.2928, allocations: 27.83 kB / 0.9355 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.2929, allocations: 15.94 kB / 0.9355 GB, free: 19.93 MB / 0.5886 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.0001092/0.293, allocations: 147.5 kB / 0.9357 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.293, allocations: 7.906 kB / 0.9357 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.2931, allocations: 12.72 kB / 0.9357 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2931, allocations: 0 / 0.9357 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2931, allocations: 0 / 0.9357 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2931, allocations: 4.266 kB / 0.9357 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.2939, allocations: 444.1 kB / 0.9361 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2939, allocations: 3.984 kB / 0.9361 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2941, allocations: 19.92 kB / 0.9361 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2941, allocations: 8 kB / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2941, allocations: 4 kB / 0.9361 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.2941, allocations: 3.938 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2941, allocations: 3.938 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.2948, allocations: 285.1 kB / 0.9364 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.2948, allocations: 85.02 kB / 0.9365 GB, free: 18.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.2948, allocations: 0 / 0.9365 GB, free: 18.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.2951, allocations: 31.91 kB / 0.9365 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.2952, allocations: 19.97 kB / 0.9366 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2953, allocations: 11.94 kB / 0.9366 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.242e-05/0.2953, allocations: 99.27 kB / 0.9367 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2953, allocations: 0 / 0.9367 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002972/0.2957, allocations: 16 kB / 0.9367 GB, free: 18.63 MB / 0.5886 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.0001182/0.2958, allocations: 114.3 kB / 0.9368 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006623/0.2965, allocations: 230.7 kB / 0.937 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2965, allocations: 0 / 0.937 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.2968, allocations: 123.3 kB / 0.9371 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.2972, allocations: 19.98 kB / 0.9371 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.2978, allocations: 217 kB / 0.9374 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2979, allocations: 0.6926 MB / 0.938 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.677e-05/0.298, allocations: 11.98 kB / 0.938 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.2981, allocations: 11.44 kB / 0.9381 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.2981, allocations: 0 / 0.9381 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of Templates: time 0.004298/0.3024, allocations: 1.096 MB / 0.9391 GB, free: 16.04 MB / 0.5886 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)