Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001504/0.001504, allocations: 116.1 kB / 16.42 MB, free: 6.438 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.001221/0.001221, allocations: 190.5 kB / 17.35 MB, free: 5.738 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002207/0.002207, allocations: 290.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.993/0.993, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 95.84 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.4998, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002924/0.5028, allocations: 1.465 MB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.5038, allocations: 468.6 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.975e-05/0.5039, allocations: 0 / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.504, allocations: 7.938 kB / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.5041, allocations: 19.86 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.5044, allocations: 31.89 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.5046, allocations: 99.81 kB / 0.7691 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.5047, allocations: 16.19 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.5049, allocations: 59.75 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.816e-05/0.505, allocations: 35.89 kB / 0.7692 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.505, allocations: 8 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/0.5051, allocations: 8 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.5051, allocations: 15.92 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.5052, allocations: 39.8 kB / 0.7692 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.5054, allocations: 83.41 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5054, allocations: 0 / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5054, allocations: 0 / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.5054, allocations: 3.938 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB 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.000775/0.5062, allocations: 453.1 kB / 0.7697 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5062, allocations: 8.031 kB / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.5063, allocations: 12.84 kB / 0.7698 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.5065, allocations: 192.2 kB / 0.7699 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.5065, allocations: 4.375 kB / 0.7699 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.5066, allocations: 8.375 kB / 0.77 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.5069, allocations: 117.8 kB / 0.7701 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5069, allocations: 0 / 0.7701 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.507, allocations: 4 kB / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.507, allocations: 3.984 kB / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.5073, allocations: 83.94 kB / 0.7702 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.5079, allocations: 340.6 kB / 0.7705 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.5082, allocations: 98.5 kB / 0.7706 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.5084, allocations: 72.94 kB / 0.7706 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.5085, allocations: 4 kB / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.5088, allocations: 131.3 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 2.285e-06/0.5088, allocations: 0 / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007499/0.5096, allocations: 275.2 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5097, allocations: 81.11 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.5098, allocations: 137 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.5099, allocations: 29.7 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.51, allocations: 100 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.51, allocations: 23.81 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.5101, allocations: 29.72 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5102, allocations: 322.8 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.5105, allocations: 67.89 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.5107, allocations: 75.94 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.511, allocations: 177.9 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.511, allocations: 3.938 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005019/0.5115, allocations: 256.8 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.5116, allocations: 71.39 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5116, allocations: 0 / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5116, allocations: 4 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5118, allocations: 11.98 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5118, allocations: 160 / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.512, allocations: 27.97 kB / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.512, allocations: 4 kB / 0.7724 GB, free: 14.12 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 (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.0001305/0.5121, allocations: 157.9 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.5122, allocations: 11.91 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.5122, allocations: 12.38 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5122, allocations: 0 / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5122, allocations: 0 / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.5123, allocations: 85.02 kB / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.5123, allocations: 11.92 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5125, allocations: 19.98 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.5126, allocations: 31.95 kB / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006575/0.5133, allocations: 357.9 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005549/0.5138, allocations: 388.7 kB / 0.7734 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002116/0.5141, allocations: 83.94 kB / 0.7735 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.284e-05/0.5141, allocations: 107.2 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Backend: time 5.01e-07/0.5141, allocations: 0 / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006429/0.5148, allocations: 289.1 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006803/0.5155, allocations: 0.6746 MB / 0.7745 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Templates: time 0.005243/0.5207, allocations: 2.047 MB / 0.7765 GB, free: 9.727 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)