Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.892/1.892, allocations: 293 MB / 309 MB, free: 4.824 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 172.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6383 GB, free: 9.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008344/0.0008342, allocations: 91.77 kB / 0.7527 GB, free: 62.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004383, allocations: 23.98 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.302, allocations: 116.4 MB / 0.9904 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7938/1.096, allocations: 140.1 MB / 1.127 GB, free: 34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/1.096, allocations: 72.16 kB / 1.127 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004062/1.1, allocations: 1.524 MB / 1.129 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.345e-06/1.1, allocations: 0 / 1.129 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.1, allocations: 8.188 kB / 1.129 GB, free: 32.79 MB / 0.7292 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.0004635/1.101, allocations: 442.4 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.101, allocations: 12.03 kB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/1.101, allocations: 8.844 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/1.101, allocations: 188.3 kB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/1.101, allocations: 8.375 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/1.101, allocations: 13.12 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/1.101, allocations: 123.2 kB / 1.13 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/1.101, allocations: 192 / 1.13 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.101, allocations: 3.938 kB / 1.13 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.101, allocations: 8 kB / 1.13 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/1.102, allocations: 105.2 kB / 1.13 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/1.102, allocations: 335.1 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/1.102, allocations: 121.8 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/1.103, allocations: 75.39 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/1.103, allocations: 4 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/1.103, allocations: 136.5 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/1.103, allocations: 0 / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0006175/1.104, allocations: 299.4 kB / 1.131 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/1.104, allocations: 84.62 kB / 1.131 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/1.104, allocations: 139.6 kB / 1.131 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/1.104, allocations: 29.7 kB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/1.104, allocations: 92.14 kB / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/1.104, allocations: 20.08 kB / 1.131 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/1.104, allocations: 4 kB / 1.131 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/1.104, allocations: 322.2 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/1.104, allocations: 66.45 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/1.104, allocations: 86 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/1.104, allocations: 192.2 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.104, allocations: 3.375 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004226/1.105, allocations: 278.2 kB / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/1.105, allocations: 66.97 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/1.105, allocations: 0.5625 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.105, allocations: 0 / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/1.105, allocations: 22.66 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.105, allocations: 0.625 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/1.105, allocations: 34.45 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/1.105, allocations: 4 kB / 1.132 GB, free: 29.55 MB / 0.7292 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.843e-05/1.105, allocations: 156.1 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/1.105, allocations: 15.38 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/1.105, allocations: 9.219 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.105, allocations: 0 / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.105, allocations: 4.5 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/1.105, allocations: 0 / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/1.106, allocations: 201.9 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.106, allocations: 5.062 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/1.106, allocations: 15.27 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.106, allocations: 4 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.106, allocations: 7.375 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.106, allocations: 0.625 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.106, allocations: 0 / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/1.106, allocations: 268.2 kB / 1.133 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/1.106, allocations: 81.02 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/1.106, allocations: 4 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.106, allocations: 26.66 kB / 1.133 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.106, allocations: 42.53 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.107, allocations: 4 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.148e-05/1.107, allocations: 103.1 kB / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.107, allocations: 0 / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001906/1.107, allocations: 24 kB / 1.133 GB, free: 28.58 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.515e-05/1.107, allocations: 107.2 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004334/1.107, allocations: 274.4 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.107, allocations: 7.938 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/1.108, allocations: 140.6 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/1.108, allocations: 22.09 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/1.108, allocations: 250.7 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/1.108, allocations: 0.6874 MB / 1.134 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.036e-05/1.108, allocations: 9.094 kB / 1.134 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/1.108, allocations: 11.44 kB / 1.134 GB, free: 27.08 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.108, allocations: 4 kB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.003525/1.112, allocations: 1.531 MB / 1.136 GB, free: 26.23 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)