Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.4 MB / 304.3 MB, free: 8.062 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.00104/0.00104, allocations: 177.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 0.6317 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008042, allocations: 94.47 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 11.16 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8024/1.051, allocations: 139 MB / 1.116 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.051, allocations: 74.14 kB / 1.117 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004922/1.056, allocations: 1.516 MB / 1.118 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/1.056, allocations: 3.938 kB / 1.118 GB, free: 31.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.056, allocations: 0 / 1.118 GB, free: 31.94 MB / 0.698 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.0005559/1.057, allocations: 450.6 kB / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.057, allocations: 11.53 kB / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/1.057, allocations: 8.688 kB / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/1.057, allocations: 186.5 kB / 1.119 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.057, allocations: 9.438 kB / 1.119 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/1.057, allocations: 11.73 kB / 1.119 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/1.057, allocations: 121.9 kB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.057, allocations: 192 / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/1.057, allocations: 3.938 kB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.057, allocations: 0 / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/1.058, allocations: 117 kB / 1.119 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/1.058, allocations: 340.8 kB / 1.119 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/1.059, allocations: 117.6 kB / 1.119 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/1.059, allocations: 77.73 kB / 1.119 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/1.059, allocations: 3.812 kB / 1.119 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/1.059, allocations: 138.6 kB / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/1.059, allocations: 0 / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0006919/1.06, allocations: 295.8 kB / 1.12 GB, free: 30.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.06, allocations: 84.86 kB / 1.12 GB, free: 30.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/1.06, allocations: 136.6 kB / 1.12 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/1.06, allocations: 29.52 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/1.06, allocations: 94.14 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/1.06, allocations: 11.62 kB / 1.12 GB, free: 30.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/1.06, allocations: 7.875 kB / 1.12 GB, free: 30.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.06, allocations: 325.1 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.06, allocations: 77.44 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/1.06, allocations: 69.67 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/1.061, allocations: 201.6 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.061, allocations: 0 / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004299/1.061, allocations: 273.9 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/1.061, allocations: 66.45 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.061, allocations: 0 / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.061, allocations: 0 / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.061, allocations: 19.95 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/1.061, allocations: 0 / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/1.062, allocations: 38.81 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/1.062, allocations: 7.797 kB / 1.121 GB, free: 29.88 MB / 0.698 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 0.0001096/1.062, allocations: 156.9 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/1.062, allocations: 15.72 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/1.062, allocations: 9.391 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.062, allocations: 0 / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.062, allocations: 0 / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.062, allocations: 1.359 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/1.062, allocations: 199 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.062, allocations: 7.812 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/1.062, allocations: 20.47 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.062, allocations: 4 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/1.062, allocations: 5.047 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.062, allocations: 3.812 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.062, allocations: 0 / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/1.063, allocations: 260.4 kB / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/1.063, allocations: 84.89 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/1.063, allocations: 5.609 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/1.063, allocations: 25.11 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.063, allocations: 35.22 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/1.063, allocations: 14.42 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.543e-05/1.063, allocations: 95.75 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.063, allocations: 0 / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002031/1.063, allocations: 26.78 kB / 1.122 GB, free: 29.23 MB / 0.698 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 0.0001288/1.063, allocations: 109 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004488/1.064, allocations: 277.1 kB / 1.123 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.064, allocations: 3.938 kB / 1.123 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/1.064, allocations: 144.4 kB / 1.123 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/1.064, allocations: 27.33 kB / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/1.065, allocations: 232.6 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/1.065, allocations: 0.6924 MB / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.27e-05/1.065, allocations: 10.73 kB / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/1.065, allocations: 11.38 kB / 1.124 GB, free: 28.08 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/1.065, allocations: 0 / 1.124 GB, free: 28.08 MB / 0.698 GB Notification: Performance of Templates: time 0.003409/1.069, allocations: 1.538 MB / 1.125 GB, free: 27.94 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)