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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.0009915/0.0009915, allocations: 164.9 kB / 366.7 MB, free: 1.688 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.587/1.587, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008975/0.0008972, allocations: 86.77 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.654e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7002, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.8905, allocations: 139.2 MB / 1.109 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.8907, allocations: 72.48 kB / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00449/0.8952, allocations: 1.498 MB / 1.111 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.113e-06/0.8952, allocations: 0.75 kB / 1.111 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8952, allocations: 4 kB / 1.111 GB, free: 9.422 MB / 0.7136 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.0005383/0.8958, allocations: 428 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8958, allocations: 9.5 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.8959, allocations: 11.91 kB / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.8961, allocations: 189.4 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.8961, allocations: 7.984 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.8961, allocations: 4.531 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/0.8963, allocations: 50.03 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.8964, allocations: 93.58 kB / 1.112 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.8965, allocations: 0.6562 kB / 1.112 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.8965, allocations: 0 / 1.112 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.8965, allocations: 7.984 kB / 1.112 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.897, allocations: 316.8 kB / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.8971, allocations: 70.56 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.8972, allocations: 54.41 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.8972, allocations: 0 / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.8974, allocations: 107.6 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.8974, allocations: 0 / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002791/0.8977, allocations: 141.5 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.8978, allocations: 85.11 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.8979, allocations: 115 kB / 1.112 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.8979, allocations: 29.7 kB / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.898, allocations: 92.05 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.898, allocations: 19.73 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.898, allocations: 8 kB / 1.113 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8981, allocations: 314.8 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.8982, allocations: 50.3 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.8983, allocations: 39.98 kB / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.8984, allocations: 27.92 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8984, allocations: 0 / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002423/0.8986, allocations: 156.2 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.8987, allocations: 60.81 kB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.8987, allocations: 7.984 kB / 1.113 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8987, allocations: 3.938 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8988, allocations: 19.92 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.8989, allocations: 0 / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.899, allocations: 34.11 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.8991, allocations: 11.98 kB / 1.113 GB, free: 6.707 MB / 0.7136 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 () * 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.0001189/0.8992, allocations: 145.2 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.8992, allocations: 11.91 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.8993, allocations: 8.625 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.8993, allocations: 0 / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8993, allocations: 0 / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8993, allocations: 3.984 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.8994, allocations: 166.1 kB / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8994, allocations: 0 / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.8995, allocations: 26.3 kB / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8995, allocations: 0 / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.8996, allocations: 7.984 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8996, allocations: 3.094 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8996, allocations: 0 / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.8998, allocations: 172.9 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.8999, allocations: 81.02 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.8999, allocations: 8 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.9001, allocations: 31.97 kB / 1.114 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.9002, allocations: 31.95 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.9002, allocations: 4 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.9003, allocations: 100.5 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9003, allocations: 0 / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001992/0.9005, allocations: 24 kB / 1.114 GB, free: 5.82 MB / 0.7136 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) * 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.0001268/0.9006, allocations: 107.1 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.9009, allocations: 222.8 kB / 1.114 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9009, allocations: 4 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.9011, allocations: 115.4 kB / 1.114 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.9012, allocations: 11.98 kB / 1.114 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.9016, allocations: 149.5 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.9019, allocations: 0.697 MB / 1.115 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.104e-05/0.902, allocations: 9.422 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.902, allocations: 11.44 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.902, allocations: 0 / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of Templates: time 0.003831/0.9059, allocations: 1.419 MB / 1.117 GB, free: 3.051 MB / 0.7136 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)