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.001111/0.001116, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001058/0.001058, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.378/1.378, 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.002354/0.002355, allocations: 294 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 91.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4499, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002332/0.4523, allocations: 1.468 MB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006951/0.453, allocations: 464.7 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.453, allocations: 0 / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.155e-05/0.4531, allocations: 7.922 kB / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.4532, allocations: 11.86 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.4534, allocations: 43.89 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.4536, allocations: 95.75 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4537, allocations: 12.19 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.4538, allocations: 55.83 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.4539, allocations: 39.89 kB / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.4539, allocations: 8 kB / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.779e-05/0.454, allocations: 8 kB / 0.7692 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.454, allocations: 15.92 kB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.4541, allocations: 47.77 kB / 0.7692 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.4542, allocations: 79.38 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4542, allocations: 0 / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4542, allocations: 4 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.4542, allocations: 0 / 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.0006257/0.4549, allocations: 453.1 kB / 0.7697 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4549, allocations: 8.031 kB / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.455, allocations: 16.78 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4551, allocations: 184.3 kB / 0.7699 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.4551, allocations: 4.375 kB / 0.7699 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.4552, allocations: 12.36 kB / 0.77 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.4555, allocations: 113.8 kB / 0.7701 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.4555, allocations: 0 / 0.7701 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4555, allocations: 8 kB / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4556, allocations: 0 / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.4559, allocations: 91.86 kB / 0.7702 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.4564, allocations: 332.7 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.4567, allocations: 110.5 kB / 0.7706 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.4569, allocations: 68.94 kB / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.4569, allocations: 4 kB / 0.7707 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003225/0.4572, allocations: 127.3 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.4573, allocations: 0 / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007056/0.458, allocations: 267.2 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.458, allocations: 89.09 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.4581, allocations: 133.8 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.4582, allocations: 29.7 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.4582, allocations: 100 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.4583, allocations: 27.8 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.4583, allocations: 25.66 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.4584, allocations: 326.8 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.4586, allocations: 63.95 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.4588, allocations: 63.95 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.4591, allocations: 189.8 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4592, allocations: 0 / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005/0.4597, allocations: 264.9 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.4597, allocations: 67.39 kB / 0.7723 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4597, allocations: 0 / 0.7723 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4597, allocations: 0 / 0.7723 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4599, allocations: 15.98 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4599, allocations: 4 kB / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.46, allocations: 19.97 kB / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.4601, allocations: 8 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.0001156/0.4602, allocations: 157.8 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.4602, allocations: 15.88 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.4603, allocations: 8.375 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4603, allocations: 4 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4603, allocations: 4 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.4603, allocations: 88.95 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.4604, allocations: 7.938 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4605, allocations: 19.97 kB / 0.7727 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.4606, allocations: 39.95 kB / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005813/0.4612, allocations: 354.2 kB / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005095/0.4617, allocations: 388.4 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000208/0.462, allocations: 83.88 kB / 0.7735 GB, free: 12.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.462, allocations: 106 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Backend: time 5.41e-07/0.462, allocations: 8 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005764/0.4626, allocations: 273.2 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005285/0.4632, allocations: 0.6746 MB / 0.7745 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Templates: time 0.004296/0.4675, allocations: 2.044 MB / 0.7765 GB, free: 9.73 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)