Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006781/0.000678, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.00432/0.00432, allocations: 169.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.165/1.165, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 252 MB / 0.5105 GB, free: 4.586 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004677, allocations: 16 kB / 0.6249 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3847, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001706/0.3865, allocations: 1.246 MB / 0.7299 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.3873, allocations: 499.4 kB / 0.7304 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.3874, allocations: 4 kB / 0.7304 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.647e-05/0.3875, allocations: 7.922 kB / 0.7304 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.3875, allocations: 7.922 kB / 0.7304 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3877, allocations: 23.97 kB / 0.7305 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.3878, allocations: 75.72 kB / 0.7305 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.3879, allocations: 28.16 kB / 0.7306 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3881, allocations: 35.86 kB / 0.7306 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.3882, allocations: 35.83 kB / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3882, allocations: 0 / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.3882, allocations: 4 kB / 0.7306 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.3883, allocations: 15.92 kB / 0.7306 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.3883, allocations: 53.56 kB / 0.7307 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.3885, allocations: 65.73 kB / 0.7308 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3885, allocations: 0 / 0.7308 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3885, allocations: 3.938 kB / 0.7308 GB, free: 9.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3885, allocations: 0 / 0.7308 GB, free: 9.117 MB / 0.545 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.0006171/0.3891, allocations: 450.5 kB / 0.7312 GB, free: 8.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3892, allocations: 12.03 kB / 0.7312 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3892, allocations: 12.84 kB / 0.7312 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3894, allocations: 184.2 kB / 0.7314 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3894, allocations: 384 / 0.7314 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3894, allocations: 4.375 kB / 0.7314 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.3897, allocations: 117.6 kB / 0.7315 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.3898, allocations: 0 / 0.7315 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3898, allocations: 4 kB / 0.7315 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3898, allocations: 4 kB / 0.7315 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.3901, allocations: 87.92 kB / 0.7316 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.3906, allocations: 336.7 kB / 0.7319 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.3909, allocations: 94.52 kB / 0.732 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3911, allocations: 64.94 kB / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.3911, allocations: 0 / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.3914, allocations: 115.3 kB / 0.7322 GB, free: 7.484 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3914, allocations: 0 / 0.7322 GB, free: 7.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005986/0.392, allocations: 235.3 kB / 0.7324 GB, free: 7.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3921, allocations: 77.11 kB / 0.7325 GB, free: 7.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3922, allocations: 136.8 kB / 0.7326 GB, free: 7.008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3923, allocations: 33.7 kB / 0.7326 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.3923, allocations: 96.12 kB / 0.7327 GB, free: 6.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.3924, allocations: 23.66 kB / 0.7328 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.3924, allocations: 21.7 kB / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.3925, allocations: 318.8 kB / 0.7331 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.3927, allocations: 63.89 kB / 0.7331 GB, free: 6.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3928, allocations: 51.95 kB / 0.7332 GB, free: 6.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.3932, allocations: 182.1 kB / 0.7334 GB, free: 6.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3932, allocations: 3.938 kB / 0.7334 GB, free: 6.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000428/0.3936, allocations: 228.9 kB / 0.7336 GB, free: 5.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.3937, allocations: 67.34 kB / 0.7337 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3937, allocations: 0 / 0.7337 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.3937, allocations: 0 / 0.7337 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3938, allocations: 23.97 kB / 0.7337 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3938, allocations: 4 kB / 0.7337 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.394, allocations: 23.98 kB / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.394, allocations: 3.938 kB / 0.7337 GB, free: 5.809 MB / 0.545 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 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * 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 0.0001052/0.3941, allocations: 155.5 kB / 0.7339 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.3941, allocations: 7.906 kB / 0.7339 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3941, allocations: 12.72 kB / 0.7339 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3942, allocations: 0 / 0.7339 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3942, allocations: 0 / 0.7339 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3942, allocations: 0 / 0.7339 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.3947, allocations: 452.1 kB / 0.7343 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3947, allocations: 0 / 0.7343 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.3948, allocations: 19.98 kB / 0.7343 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3948, allocations: 4 kB / 0.7343 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3948, allocations: 3.984 kB / 0.7343 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3948, allocations: 3.938 kB / 0.7343 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3948, allocations: 3.938 kB / 0.7343 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.3953, allocations: 289.1 kB / 0.7346 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3953, allocations: 81.02 kB / 0.7347 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3954, allocations: 4 kB / 0.7347 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3955, allocations: 19.92 kB / 0.7347 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.3956, allocations: 27.97 kB / 0.7347 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3956, allocations: 4 kB / 0.7347 GB, free: 4.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.853e-05/0.3957, allocations: 99.25 kB / 0.7348 GB, free: 4.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3957, allocations: 0 / 0.7348 GB, free: 4.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002289/0.3959, allocations: 20 kB / 0.7349 GB, free: 4.508 MB / 0.545 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.0001148/0.3961, allocations: 99.25 kB / 0.735 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.3965, allocations: 243.1 kB / 0.7352 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3965, allocations: 288 / 0.7352 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.3968, allocations: 119.4 kB / 0.7353 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3971, allocations: 15.94 kB / 0.7353 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.3976, allocations: 236.3 kB / 0.7355 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.3979, allocations: 0.7032 MB / 0.7362 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.751e-05/0.3979, allocations: 11.97 kB / 0.7362 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.398, allocations: 11.44 kB / 0.7363 GB, free: 2.992 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.398, allocations: 0 / 0.7363 GB, free: 2.992 MB / 0.545 GB Notification: Performance of Templates: time 0.003416/0.4014, allocations: 1.131 MB / 0.7374 GB, free: 1.895 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: