Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 255.9 MB / 271.2 MB, free: 8.879 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.0009069/0.0009069, allocations: 189.7 kB / 330.8 MB, free: 460 kB / 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 1.336/1.336, allocations: 225.7 MB / 0.6016 GB, free: 1.656 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.0007327/0.0007327, allocations: 99.66 kB / 0.709 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002841, allocations: 17.5 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001251/0.1473, allocations: 1.232 MB / 0.934 GB, free: 5.012 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.1479, allocations: 0.5718 MB / 0.9345 GB, free: 4.398 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.1479, allocations: 0 / 0.9345 GB, free: 4.398 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 7.216e-05/0.148, allocations: 3.938 kB / 0.9345 GB, free: 4.395 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.392e-05/0.148, allocations: 19.8 kB / 0.9345 GB, free: 4.375 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.1482, allocations: 31.97 kB / 0.9346 GB, free: 4.344 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.923e-05/0.1483, allocations: 75.77 kB / 0.9346 GB, free: 4.27 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.1484, allocations: 12.19 kB / 0.9347 GB, free: 4.258 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.1485, allocations: 35.89 kB / 0.9347 GB, free: 4.223 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1485, allocations: 35.84 kB / 0.9347 GB, free: 4.188 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1486, allocations: 4 kB / 0.9347 GB, free: 4.184 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.1486, allocations: 4 kB / 0.9347 GB, free: 4.18 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.1486, allocations: 15.92 kB / 0.9347 GB, free: 4.164 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.1487, allocations: 53.5 kB / 0.9348 GB, free: 4.105 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.727e-05/0.1488, allocations: 64.05 kB / 0.9349 GB, free: 4.043 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1488, allocations: 0 / 0.9349 GB, free: 4.043 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1488, allocations: 3.938 kB / 0.9349 GB, free: 4.039 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1488, allocations: 0 / 0.9349 GB, free: 4.039 MB / 0.573 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.0004735/0.1493, allocations: 446.3 kB / 0.9353 GB, free: 3.547 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1493, allocations: 11.98 kB / 0.9353 GB, free: 3.535 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.1494, allocations: 12.84 kB / 0.9353 GB, free: 3.523 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1495, allocations: 184.2 kB / 0.9355 GB, free: 3.305 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1495, allocations: 4.375 kB / 0.9355 GB, free: 3.301 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1495, allocations: 8.375 kB / 0.9355 GB, free: 3.293 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1498, allocations: 109.7 kB / 0.9356 GB, free: 3.18 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1498, allocations: 0 / 0.9356 GB, free: 3.18 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1498, allocations: 4 kB / 0.9356 GB, free: 3.176 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1498, allocations: 0 / 0.9356 GB, free: 3.176 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.1501, allocations: 87.94 kB / 0.9357 GB, free: 3.09 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.1505, allocations: 344.6 kB / 0.936 GB, free: 2.703 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1508, allocations: 102.5 kB / 0.9361 GB, free: 2.594 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.1509, allocations: 56.95 kB / 0.9362 GB, free: 2.535 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.151, allocations: 7.984 kB / 0.9362 GB, free: 2.527 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.1512, allocations: 115.3 kB / 0.9363 GB, free: 2.402 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1512, allocations: 3.938 kB / 0.9363 GB, free: 2.398 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0005257/0.1518, allocations: 231.2 kB / 0.9365 GB, free: 2.16 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.1518, allocations: 85.09 kB / 0.9366 GB, free: 2.059 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.1519, allocations: 130.1 kB / 0.9367 GB, free: 1.918 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1519, allocations: 29.7 kB / 0.9368 GB, free: 1.883 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.1519, allocations: 99.98 kB / 0.9368 GB, free: 1.781 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.152, allocations: 15.8 kB / 0.9369 GB, free: 1.766 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.152, allocations: 4 kB / 0.9369 GB, free: 1.762 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.152, allocations: 330.8 kB / 0.9372 GB, free: 1.43 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1522, allocations: 47.97 kB / 0.9372 GB, free: 1.383 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1523, allocations: 55.95 kB / 0.9373 GB, free: 1.328 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.1526, allocations: 181.8 kB / 0.9375 GB, free: 1.129 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1526, allocations: 4 kB / 0.9375 GB, free: 1.125 MB / 0.573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003419/0.1529, allocations: 224.9 kB / 0.9377 GB, free: 0.8867 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.153, allocations: 71.3 kB / 0.9377 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.153, allocations: 0 / 0.9377 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.153, allocations: 0 / 0.9377 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1531, allocations: 23.98 kB / 0.9378 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1531, allocations: 0 / 0.9378 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1532, allocations: 28.2 kB / 0.9378 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1533, allocations: 3.938 kB / 0.9378 GB, free: 0.75 MB / 0.573 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 6.805e-05/0.1533, allocations: 152.7 kB / 0.9379 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1534, allocations: 11.84 kB / 0.9379 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.1534, allocations: 16.72 kB / 0.938 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1534, allocations: 0 / 0.938 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1534, allocations: 0 / 0.938 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1534, allocations: 3.984 kB / 0.938 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1538, allocations: 456 kB / 0.9384 GB, free: 48 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1538, allocations: 0 / 0.9384 GB, free: 48 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.769e-05/0.1539, allocations: 15.98 kB / 0.9384 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1539, allocations: 4 kB / 0.9384 GB, free: 28 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.154, allocations: 0 / 0.9384 GB, free: 28 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.154, allocations: 3.938 kB / 0.9384 GB, free: 24 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.154, allocations: 0 / 0.9384 GB, free: 24 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.1544, allocations: 285.1 kB / 0.9387 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1544, allocations: 85.02 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1545, allocations: 7.938 kB / 0.9388 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.1546, allocations: 27.91 kB / 0.9388 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.1547, allocations: 23.97 kB / 0.9388 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1547, allocations: 4 kB / 0.9388 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.1548, allocations: 95.27 kB / 0.9389 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1548, allocations: 0 / 0.9389 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002002/0.155, allocations: 20 kB / 0.939 GB, free: 15.45 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 (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.000107/0.1551, allocations: 111.2 kB / 0.9391 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.1555, allocations: 235.1 kB / 0.9393 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1556, allocations: 4 kB / 0.9393 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.1558, allocations: 119.3 kB / 0.9394 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.156, allocations: 19.84 kB / 0.9394 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.1565, allocations: 225.2 kB / 0.9396 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1567, allocations: 0.7004 MB / 0.9403 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.556e-05/0.1568, allocations: 15.77 kB / 0.9403 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.1568, allocations: 15.38 kB / 0.9403 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.1568, allocations: 0 / 0.9403 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of Templates: time 0.00298/0.1598, allocations: 1.126 MB / 0.9414 GB, free: 12.8 MB / 0.5886 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)