Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.007/2.007, allocations: 291.7 MB / 306.8 MB, free: 7.73 MB / 234.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.0009687/0.0009689, allocations: 183 kB / 375.4 MB, free: 5.133 MB / 298.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 1.439/1.439, allocations: 225.7 MB / 0.6538 GB, free: 13.69 MB / 490.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.0008829/0.0008827, allocations: 105.4 kB / 0.7699 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 8.844 kB / 0.8956 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6036, allocations: 118.1 MB / 1.011 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001488/0.6051, allocations: 1.234 MB / 1.012 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000581/0.6057, allocations: 420.2 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.6058, allocations: 5.719 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.561e-05/0.6059, allocations: 4.688 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.6059, allocations: 8.297 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.6061, allocations: 26.5 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.864e-05/0.6062, allocations: 71.39 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.6063, allocations: 17.88 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.6064, allocations: 34.48 kB / 1.013 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.6065, allocations: 32.41 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.6065, allocations: 3.594 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.6065, allocations: 2.469 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.6066, allocations: 18.59 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.6066, allocations: 33.61 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.894e-05/0.6067, allocations: 48.06 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6067, allocations: 0.5156 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6067, allocations: 1.75 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.6067, allocations: 2.438 kB / 1.013 GB, free: 57.11 MB / 0.7136 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.0005128/0.6073, allocations: 442.4 kB / 1.013 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.6073, allocations: 8.75 kB / 1.013 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.6073, allocations: 12.92 kB / 1.013 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.6075, allocations: 184.2 kB / 1.013 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6075, allocations: 5 kB / 1.013 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.6075, allocations: 5.375 kB / 1.013 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.6078, allocations: 111.1 kB / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6078, allocations: 0 / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.6078, allocations: 0 / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.6078, allocations: 2.938 kB / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.6081, allocations: 89.58 kB / 1.014 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.6086, allocations: 350 kB / 1.014 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.6088, allocations: 99.59 kB / 1.014 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.609, allocations: 58.66 kB / 1.014 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.609, allocations: 0.8438 kB / 1.014 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.6093, allocations: 110.6 kB / 1.014 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.6093, allocations: 1.844 kB / 1.014 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005501/0.6099, allocations: 238.8 kB / 1.014 GB, free: 56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.6099, allocations: 81.73 kB / 1.015 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.61, allocations: 129.9 kB / 1.015 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.61, allocations: 28.58 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.6101, allocations: 101.9 kB / 1.015 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.6101, allocations: 16.09 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.6101, allocations: 3.688 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.6101, allocations: 333.9 kB / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6103, allocations: 51.41 kB / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.6104, allocations: 57.77 kB / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.6107, allocations: 187.4 kB / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6107, allocations: 0 / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003701/0.6111, allocations: 225.8 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.6112, allocations: 58.56 kB / 1.016 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.6112, allocations: 4.031 kB / 1.016 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.6112, allocations: 0 / 1.016 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6113, allocations: 27.45 kB / 1.016 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6113, allocations: 0 / 1.016 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.6115, allocations: 25.75 kB / 1.016 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.6115, allocations: 10.88 kB / 1.016 GB, free: 55.08 MB / 0.7136 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 7.901e-05/0.6116, allocations: 145.4 kB / 1.016 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.6116, allocations: 12.09 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.6116, allocations: 10.59 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6116, allocations: 0.5312 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6116, allocations: 1.125 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6117, allocations: 8.078 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.6121, allocations: 447.4 kB / 1.016 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6121, allocations: 2.906 kB / 1.016 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.6122, allocations: 17.62 kB / 1.016 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6122, allocations: 2.031 kB / 1.016 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.6123, allocations: 6.812 kB / 1.016 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6123, allocations: 3.938 kB / 1.016 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6123, allocations: 0 / 1.016 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.6127, allocations: 286.5 kB / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.6127, allocations: 88.28 kB / 1.017 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.6127, allocations: 5.656 kB / 1.017 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.6129, allocations: 26.83 kB / 1.017 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.613, allocations: 28.47 kB / 1.017 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.613, allocations: 0 / 1.017 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.6131, allocations: 105.6 kB / 1.017 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6131, allocations: 0 / 1.017 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000207/0.6133, allocations: 15.31 kB / 1.017 GB, free: 54.24 MB / 0.7136 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.0001067/0.6134, allocations: 107.5 kB / 1.017 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.6138, allocations: 241.7 kB / 1.017 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6138, allocations: 0.8438 kB / 1.017 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.614, allocations: 121.2 kB / 1.017 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.6142, allocations: 12.33 kB / 1.017 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.6147, allocations: 223 kB / 1.018 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.6148, allocations: 0.6892 MB / 1.018 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.496e-05/0.6148, allocations: 10.31 kB / 1.018 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.6149, allocations: 13.62 kB / 1.018 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.6149, allocations: 1.125 kB / 1.018 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.002892/0.6178, allocations: 1.102 MB / 1.019 GB, free: 53.07 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)