Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.00173/0.00173, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002446/0.002446, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.709/1.709, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.692/1.692, allocations: 251.7 MB / 0.5092 GB, free: 3.141 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.002118/0.002118, allocations: 67.91 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.6168, allocations: 104.7 MB / 0.7245 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003499/0.6204, allocations: 1.485 MB / 0.726 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.6214, allocations: 0.507 MB / 0.7264 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.6215, allocations: 4 kB / 0.7265 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.6217, allocations: 3.938 kB / 0.7265 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.6217, allocations: 15.8 kB / 0.7265 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.622, allocations: 39.94 kB / 0.7265 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.6223, allocations: 99.7 kB / 0.7266 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.6224, allocations: 20.19 kB / 0.7266 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.6226, allocations: 47.89 kB / 0.7267 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.6227, allocations: 43.81 kB / 0.7267 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.6227, allocations: 8 kB / 0.7267 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.6228, allocations: 8 kB / 0.7267 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.6228, allocations: 11.94 kB / 0.7267 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.6229, allocations: 43.78 kB / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.6231, allocations: 77.73 kB / 0.7269 GB, free: 10.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6231, allocations: 4 kB / 0.7269 GB, free: 10.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6231, allocations: 4 kB / 0.7269 GB, free: 10.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.6231, allocations: 0 / 0.7269 GB, free: 10.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009051/0.624, allocations: 454.5 kB / 0.7273 GB, free: 10.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.6241, allocations: 12.03 kB / 0.7273 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.6242, allocations: 8.844 kB / 0.7273 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.6245, allocations: 184.3 kB / 0.7275 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6245, allocations: 4.375 kB / 0.7275 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.6245, allocations: 8.375 kB / 0.7275 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.6249, allocations: 117.8 kB / 0.7276 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.625, allocations: 0 / 0.7276 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.625, allocations: 0 / 0.7276 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.625, allocations: 4 kB / 0.7276 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.6253, allocations: 87.86 kB / 0.7277 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.6259, allocations: 344.6 kB / 0.728 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.6263, allocations: 106.5 kB / 0.7281 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.6265, allocations: 68.94 kB / 0.7282 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.6265, allocations: 8 kB / 0.7282 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.6269, allocations: 123.3 kB / 0.7283 GB, free: 8.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 3.557e-06/0.627, allocations: 0 / 0.7283 GB, free: 8.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007912/0.6278, allocations: 279.3 kB / 0.7286 GB, free: 8.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.6278, allocations: 85.11 kB / 0.7287 GB, free: 8.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.628, allocations: 125.8 kB / 0.7288 GB, free: 8.422 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.628, allocations: 37.64 kB / 0.7288 GB, free: 8.379 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.6281, allocations: 92.14 kB / 0.7289 GB, free: 8.285 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.6281, allocations: 19.73 kB / 0.7289 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.6282, allocations: 29.72 kB / 0.729 GB, free: 8.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6284, allocations: 322.8 kB / 0.7293 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.6286, allocations: 68.02 kB / 0.7293 GB, free: 7.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.6288, allocations: 67.95 kB / 0.7294 GB, free: 7.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.6291, allocations: 177.9 kB / 0.7296 GB, free: 7.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6292, allocations: 4 kB / 0.7296 GB, free: 7.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005174/0.6297, allocations: 264.8 kB / 0.7298 GB, free: 7.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/0.6298, allocations: 67.39 kB / 0.7299 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6298, allocations: 0 / 0.7299 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6298, allocations: 3.984 kB / 0.7299 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.6299, allocations: 15.98 kB / 0.7299 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6299, allocations: 0 / 0.7299 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.6301, allocations: 27.81 kB / 0.7299 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.6301, allocations: 4 kB / 0.7299 GB, free: 7.168 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.0001244/0.6303, allocations: 163.5 kB / 0.7301 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.6303, allocations: 4 kB / 0.7301 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.6303, allocations: 12.38 kB / 0.7301 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6303, allocations: 0 / 0.7301 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6303, allocations: 3.938 kB / 0.7301 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6303, allocations: 0 / 0.7301 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.6305, allocations: 201.5 kB / 0.7303 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6305, allocations: 96 / 0.7303 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.6306, allocations: 23.92 kB / 0.7303 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6306, allocations: 0 / 0.7303 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.6306, allocations: 4 kB / 0.7303 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6306, allocations: 0 / 0.7303 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6306, allocations: 0 / 0.7303 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.6311, allocations: 242.7 kB / 0.7306 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.6312, allocations: 89 kB / 0.7306 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.6312, allocations: 4 kB / 0.7307 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.6314, allocations: 27.91 kB / 0.7307 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6315, allocations: 31.97 kB / 0.7307 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.6315, allocations: 64 / 0.7307 GB, free: 6.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.6316, allocations: 102.5 kB / 0.7308 GB, free: 6.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6316, allocations: 7.938 kB / 0.7308 GB, free: 6.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002043/0.6318, allocations: 27.94 kB / 0.7308 GB, free: 6.137 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,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.0001229/0.6319, allocations: 107.2 kB / 0.7309 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.6325, allocations: 266.7 kB / 0.7312 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6325, allocations: 0 / 0.7312 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.6328, allocations: 143.3 kB / 0.7313 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.6331, allocations: 12 kB / 0.7313 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006654/0.6337, allocations: 231 kB / 0.7316 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.6343, allocations: 0.6846 MB / 0.7322 GB, free: 4.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.015e-05/0.6343, allocations: 11.98 kB / 0.7322 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.6344, allocations: 11.44 kB / 0.7323 GB, free: 4.59 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.6344, allocations: 0 / 0.7323 GB, free: 4.59 MB / 0.545 GB Notification: Performance of Templates: time 0.005625/0.64, allocations: 1.87 MB / 0.7341 GB, free: 2.738 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)