Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5303/0.5303, allocations: 95.62 MB / 110.6 MB, free: 9.391 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001586/0.001586, allocations: 168.2 kB / 134.2 MB, free: 2.27 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.411/1.411, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001623/0.001622, allocations: 107.4 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004132, allocations: 8 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 61.52 MB / 0.512 GB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.5948, allocations: 94.73 MB / 0.6045 GB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5951, allocations: 73.84 kB / 0.6045 GB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00578/0.6009, allocations: 1.485 MB / 0.606 GB, free: 11.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6009, allocations: 4 kB / 0.606 GB, free: 11.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.6009, allocations: 0 / 0.606 GB, free: 11.21 MB / 410.7 MB 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.0007541/0.6017, allocations: 451.2 kB / 0.6064 GB, free: 10.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.6018, allocations: 15.98 kB / 0.6064 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.6018, allocations: 11.91 kB / 0.6065 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.6021, allocations: 179.1 kB / 0.6066 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.6022, allocations: 7.812 kB / 0.6066 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.6022, allocations: 7.984 kB / 0.6066 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.6027, allocations: 119 kB / 0.6068 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6027, allocations: 192 / 0.6068 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.6027, allocations: 15.88 kB / 0.6068 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.6028, allocations: 0 / 0.6068 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.6032, allocations: 103 kB / 0.6069 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.6039, allocations: 350.1 kB / 0.6072 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.6044, allocations: 122.3 kB / 0.6073 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.6044, allocations: 0 / 0.6073 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.6048, allocations: 140.6 kB / 0.6074 GB, free: 9.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.6049, allocations: 0 / 0.6074 GB, free: 9.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009993/0.6059, allocations: 294.5 kB / 0.6077 GB, free: 9.402 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.606, allocations: 88.28 kB / 0.6078 GB, free: 9.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.6062, allocations: 117.6 kB / 0.6079 GB, free: 9.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.6062, allocations: 29.14 kB / 0.608 GB, free: 9.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.6063, allocations: 98.22 kB / 0.608 GB, free: 9.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.6064, allocations: 15.12 kB / 0.6081 GB, free: 9.047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.6064, allocations: 11.94 kB / 0.6081 GB, free: 9.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6065, allocations: 318.3 kB / 0.6084 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.6068, allocations: 69.58 kB / 0.6084 GB, free: 8.664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.6071, allocations: 82.56 kB / 0.6085 GB, free: 8.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.6073, allocations: 115.8 kB / 0.6086 GB, free: 8.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6073, allocations: 0 / 0.6086 GB, free: 8.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006948/0.608, allocations: 275.5 kB / 0.6089 GB, free: 8.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/0.6081, allocations: 62.78 kB / 0.609 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6082, allocations: 0 / 0.609 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.6082, allocations: 0 / 0.609 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.6084, allocations: 19.98 kB / 0.609 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.6084, allocations: 7.922 kB / 0.609 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.6086, allocations: 35.48 kB / 0.609 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.6087, allocations: 4.094 kB / 0.609 GB, free: 8.102 MB / 410.7 MB 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.0001882/0.6089, allocations: 158.2 kB / 0.6092 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.6089, allocations: 11.91 kB / 0.6092 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.6089, allocations: 8.094 kB / 0.6092 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.609, allocations: 4 kB / 0.6092 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.609, allocations: 0 / 0.6092 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.609, allocations: 4 kB / 0.6092 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.6092, allocations: 192.8 kB / 0.6094 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6093, allocations: 7.953 kB / 0.6094 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.6094, allocations: 19.91 kB / 0.6094 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6094, allocations: 4 kB / 0.6094 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6094, allocations: 0 / 0.6094 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6094, allocations: 0 / 0.6094 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6094, allocations: 4 kB / 0.6094 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.6102, allocations: 267 kB / 0.6097 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.6103, allocations: 96.45 kB / 0.6098 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.6103, allocations: 4 kB / 0.6098 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.6105, allocations: 23.97 kB / 0.6098 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.6107, allocations: 38.08 kB / 0.6098 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.6108, allocations: 4.312 kB / 0.6098 GB, free: 7.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.059e-05/0.6109, allocations: 100.5 kB / 0.6099 GB, free: 7.152 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6109, allocations: 4 kB / 0.6099 GB, free: 7.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003206/0.6112, allocations: 27.56 kB / 0.61 GB, free: 7.125 MB / 410.7 MB 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.000176/0.6114, allocations: 106.7 kB / 0.6101 GB, free: 7.012 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006635/0.612, allocations: 285.3 kB / 0.6103 GB, free: 6.742 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6121, allocations: 0 / 0.6103 GB, free: 6.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.6124, allocations: 141.5 kB / 0.6105 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.6126, allocations: 15.42 kB / 0.6105 GB, free: 6.602 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.6133, allocations: 242.2 kB / 0.6107 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.6138, allocations: 0.6926 MB / 0.6114 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.6138, allocations: 12.17 kB / 0.6114 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.6139, allocations: 7.438 kB / 0.6114 GB, free: 5.613 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6139, allocations: 4 kB / 0.6114 GB, free: 5.609 MB / 410.7 MB Notification: Performance of Templates: time 0.005909/0.6198, allocations: 1.53 MB / 0.6129 GB, free: 4.105 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)