Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.0009891/0.0009891, allocations: 197.5 kB / 382.3 MB, free: 14.81 MB / 314.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.335/1.335, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0008829, allocations: 97.59 kB / 0.7789 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 8 kB / 0.9058 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.5361, allocations: 119.2 MB / 1.022 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001534/0.5377, allocations: 1.227 MB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006595/0.5383, allocations: 0.58 MB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.5384, allocations: 2.969 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.812e-05/0.5385, allocations: 7.125 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.5385, allocations: 8.859 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.5387, allocations: 29.47 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.5388, allocations: 72.34 kB / 1.024 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.5389, allocations: 23.48 kB / 1.024 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.539, allocations: 37.56 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.5391, allocations: 36.72 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.5391, allocations: 3.406 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.5392, allocations: 2.625 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.5392, allocations: 7.453 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.5393, allocations: 59.05 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.5394, allocations: 63.89 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5394, allocations: 1.188 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5394, allocations: 0 / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.5394, allocations: 0.75 kB / 1.024 GB, free: 57.03 MB / 0.698 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.0005301/0.5399, allocations: 443.9 kB / 1.025 GB, free: 56.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.54, allocations: 13.42 kB / 1.025 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.54, allocations: 10.34 kB / 1.025 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.5402, allocations: 190.1 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.5402, allocations: 3.125 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.5402, allocations: 8.5 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.5405, allocations: 100.3 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5405, allocations: 0 / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5405, allocations: 6.25 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5406, allocations: 2.078 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.5409, allocations: 87.86 kB / 1.025 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.5414, allocations: 351.1 kB / 1.026 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.5417, allocations: 93.8 kB / 1.026 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.5418, allocations: 60.47 kB / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.5419, allocations: 1.422 kB / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.5422, allocations: 116.6 kB / 1.026 GB, free: 55.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.5422, allocations: 0 / 1.026 GB, free: 55.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.00057/0.5427, allocations: 232.2 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.5428, allocations: 85.84 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.5429, allocations: 125.4 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5429, allocations: 32.45 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.5429, allocations: 101.1 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.543, allocations: 18.97 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.543, allocations: 4 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.543, allocations: 324.3 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.5432, allocations: 60.3 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.5434, allocations: 53.91 kB / 1.027 GB, free: 55.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.5436, allocations: 183.3 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5437, allocations: 0 / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003823/0.544, allocations: 228.3 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.5441, allocations: 64.2 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.5441, allocations: 0 / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5441, allocations: 1.703 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.5442, allocations: 23.02 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5443, allocations: 1.188 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.5444, allocations: 24.11 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.5444, allocations: 6.875 kB / 1.027 GB, free: 54.77 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.5445, allocations: 159 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.5445, allocations: 6.859 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.5446, allocations: 16.73 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5446, allocations: 0.6094 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5446, allocations: 0 / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5446, allocations: 0.8438 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.545, allocations: 446 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5451, allocations: 2.781 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.704e-05/0.5452, allocations: 19.8 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5452, allocations: 4.219 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.5452, allocations: 3.547 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5452, allocations: 7.547 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5452, allocations: 4.875 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.5455, allocations: 287 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.5456, allocations: 87.7 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.5456, allocations: 4 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.5457, allocations: 24.45 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.5458, allocations: 21.92 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.5459, allocations: 7.062 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.5459, allocations: 99.03 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5459, allocations: 1.5 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002089/0.5461, allocations: 18.81 kB / 1.028 GB, free: 53.82 MB / 0.698 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.0001036/0.5462, allocations: 114 kB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.5466, allocations: 233.1 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5466, allocations: 4 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.5468, allocations: 122.4 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5471, allocations: 11.61 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.5476, allocations: 224.9 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.5477, allocations: 0.6945 MB / 1.03 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.577e-05/0.5478, allocations: 9.266 kB / 1.03 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.5478, allocations: 15.98 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.5478, allocations: 0 / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of Templates: time 0.003235/0.551, allocations: 1.131 MB / 1.031 GB, free: 52.55 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)