Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008636, allocations: 90.19 kB / 16.67 MB, free: 6.594 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.0009985/0.0009987, allocations: 181.3 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7218/0.7218, allocations: 115.5 MB / 408.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3939, allocations: 77.52 MB / 0.5606 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002059/0.396, allocations: 1.19 MB / 0.5617 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000895/0.3969, allocations: 449.6 kB / 0.5622 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.397, allocations: 8.812 kB / 0.5622 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3971, allocations: 3.031 kB / 0.5622 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.3971, allocations: 10.92 kB / 0.5622 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.3974, allocations: 39.47 kB / 0.5622 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3976, allocations: 88.16 kB / 0.5623 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3977, allocations: 14.09 kB / 0.5623 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.3979, allocations: 34.2 kB / 0.5624 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.398, allocations: 42.72 kB / 0.5624 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.3981, allocations: 3.156 kB / 0.5624 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.3981, allocations: 4.594 kB / 0.5624 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.3982, allocations: 13.56 kB / 0.5624 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/0.3983, allocations: 61.11 kB / 0.5625 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.3984, allocations: 49.89 kB / 0.5625 GB, free: 34.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3984, allocations: 0.9062 kB / 0.5625 GB, free: 34.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3984, allocations: 3.938 kB / 0.5625 GB, free: 34.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3985, allocations: 3.281 kB / 0.5625 GB, free: 34.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007679/0.3992, allocations: 445.2 kB / 0.563 GB, free: 34.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3993, allocations: 15.23 kB / 0.563 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.3994, allocations: 11.22 kB / 0.563 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.3996, allocations: 187.2 kB / 0.5632 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3996, allocations: 4.344 kB / 0.5632 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.3996, allocations: 10.94 kB / 0.5632 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.4, allocations: 122.1 kB / 0.5633 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4, allocations: 0 / 0.5633 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.4001, allocations: 2.844 kB / 0.5633 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.4001, allocations: 3.719 kB / 0.5633 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.4004, allocations: 105 kB / 0.5634 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.4011, allocations: 342.7 kB / 0.5637 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.4015, allocations: 120.7 kB / 0.5638 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.4017, allocations: 78.55 kB / 0.5639 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.4017, allocations: 9.391 kB / 0.5639 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.4022, allocations: 136.2 kB / 0.5641 GB, free: 33.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.4022, allocations: 1.875 kB / 0.5641 GB, free: 33.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008418/0.403, allocations: 293.6 kB / 0.5643 GB, free: 33.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.4031, allocations: 86.31 kB / 0.5644 GB, free: 33.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.4032, allocations: 139.8 kB / 0.5646 GB, free: 33.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4033, allocations: 28.83 kB / 0.5646 GB, free: 33.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.4033, allocations: 95.59 kB / 0.5647 GB, free: 33.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.4034, allocations: 15.92 kB / 0.5647 GB, free: 33.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.4034, allocations: 20.72 kB / 0.5647 GB, free: 33.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.4035, allocations: 324.4 kB / 0.565 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.4037, allocations: 75.55 kB / 0.5651 GB, free: 32.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.4039, allocations: 76.67 kB / 0.5652 GB, free: 32.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.4043, allocations: 197.2 kB / 0.5653 GB, free: 32.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4043, allocations: 2.891 kB / 0.5654 GB, free: 32.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005787/0.4049, allocations: 273.3 kB / 0.5656 GB, free: 32.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.405, allocations: 71.03 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.405, allocations: 0.875 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.405, allocations: 1.156 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4052, allocations: 18.36 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4052, allocations: 2.062 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.4054, allocations: 31.77 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.4054, allocations: 8.234 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001241/0.4055, allocations: 153.6 kB / 0.5659 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.4056, allocations: 14.25 kB / 0.5659 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.4056, allocations: 7.734 kB / 0.5659 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4056, allocations: 1.5 kB / 0.5659 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4056, allocations: 0.6562 kB / 0.5659 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4056, allocations: 6.125 kB / 0.5659 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.4058, allocations: 196.2 kB / 0.5661 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4058, allocations: 0.6562 kB / 0.5661 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4059, allocations: 17.52 kB / 0.5661 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4059, allocations: 4.031 kB / 0.5661 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4059, allocations: 9.406 kB / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.406, allocations: 0 / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.406, allocations: 1.672 kB / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.4065, allocations: 262.9 kB / 0.5664 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.4066, allocations: 84.23 kB / 0.5665 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.4066, allocations: 8.641 kB / 0.5665 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.4068, allocations: 26.72 kB / 0.5665 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.4069, allocations: 33.44 kB / 0.5665 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.407, allocations: 4.078 kB / 0.5665 GB, free: 31.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.407, allocations: 101.7 kB / 0.5666 GB, free: 31.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.407, allocations: 0 / 0.5666 GB, free: 31.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.4073, allocations: 30.06 kB / 0.5667 GB, free: 31.78 MB / 446.1 MB 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,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.000143/0.4074, allocations: 103.2 kB / 0.5668 GB, free: 31.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.408, allocations: 280.9 kB / 0.567 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4081, allocations: 1.594 kB / 0.567 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.4083, allocations: 148.3 kB / 0.5672 GB, free: 31.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.4086, allocations: 13.92 kB / 0.5672 GB, free: 31.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.4092, allocations: 274.8 kB / 0.5674 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.4095, allocations: 0.6958 MB / 0.5681 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.4095, allocations: 11.08 kB / 0.5681 GB, free: 30.52 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4095, allocations: 1.156 kB / 0.5681 GB, free: 30.52 MB / 446.1 MB Notification: Performance of Templates: time 0.004681/0.4142, allocations: 1.418 MB / 0.5695 GB, free: 30.45 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)