Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8033/0.8033, allocations: 132.4 MB / 139.9 MB, free: 15.38 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001043/0.001043, allocations: 168.9 kB / 171.8 MB, free: 2.023 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.723/1.723, allocations: 170.6 MB / 374.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001733/0.001733, allocations: 107.8 kB / 444.8 MB, free: 9.285 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5081/0.5081, allocations: 73.39 MB / 0.6666 GB, free: 46.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.6562, allocations: 101.8 MB / 0.766 GB, free: 2.996 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.6565, allocations: 73.17 kB / 0.7661 GB, free: 2.926 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005063/0.6616, allocations: 1.462 MB / 0.7675 GB, free: 1.496 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6616, allocations: 0 / 0.7675 GB, free: 1.496 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.6616, allocations: 0 / 0.7675 GB, free: 1.496 MB / 474.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.0006746/0.6623, allocations: 437.2 kB / 0.7679 GB, free: 1.016 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.6624, allocations: 12.06 kB / 0.7679 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.6624, allocations: 12.28 kB / 0.768 GB, free: 1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.6627, allocations: 196.5 kB / 0.7681 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.6627, allocations: 8 kB / 0.7681 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.6628, allocations: 4 kB / 0.7682 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001544/0.6629, allocations: 52.11 kB / 0.7682 GB, free: 0.707 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.6631, allocations: 97.27 kB / 0.7683 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.6631, allocations: 0 / 0.7683 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.6631, allocations: 0.75 kB / 0.7683 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6631, allocations: 0 / 0.7683 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.6637, allocations: 317.3 kB / 0.7686 GB, free: 268 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.6639, allocations: 77.52 kB / 0.7687 GB, free: 184 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/0.664, allocations: 52.92 kB / 0.7687 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.664, allocations: 0 / 0.7687 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.6642, allocations: 95.36 kB / 0.7688 GB, free: 20 kB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.6642, allocations: 1.125 kB / 0.7688 GB, free: 20 kB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003425/0.6646, allocations: 142.8 kB / 0.7689 GB, free: 15.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.6646, allocations: 89.11 kB / 0.769 GB, free: 15.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.6647, allocations: 113.3 kB / 0.7691 GB, free: 15.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.6648, allocations: 29.7 kB / 0.7692 GB, free: 15.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.6649, allocations: 96.06 kB / 0.7693 GB, free: 15.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.6649, allocations: 19.75 kB / 0.7693 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.6649, allocations: 4 kB / 0.7693 GB, free: 15.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6651, allocations: 318.8 kB / 0.7696 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.6652, allocations: 47.92 kB / 0.7696 GB, free: 15.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.6653, allocations: 48.84 kB / 0.7697 GB, free: 15.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/0.6653, allocations: 19.97 kB / 0.7697 GB, free: 15.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6653, allocations: 4.562 kB / 0.7697 GB, free: 15.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002688/0.6656, allocations: 159.5 kB / 0.7699 GB, free: 14.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.6657, allocations: 59.41 kB / 0.7699 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6657, allocations: 0.7812 kB / 0.7699 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6657, allocations: 3.938 kB / 0.7699 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.6659, allocations: 19.98 kB / 0.7699 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6659, allocations: 0 / 0.7699 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.666, allocations: 35.88 kB / 0.77 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.6661, allocations: 4 kB / 0.77 GB, free: 14.76 MB / 490.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 () * 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.0001681/0.6662, allocations: 147.9 kB / 0.7701 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.6663, allocations: 11.95 kB / 0.7701 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.6663, allocations: 9.812 kB / 0.7701 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.6663, allocations: 4 kB / 0.7701 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6664, allocations: 4 kB / 0.7701 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6664, allocations: 0 / 0.7701 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.6665, allocations: 170.1 kB / 0.7703 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.6665, allocations: 0 / 0.7703 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/0.6666, allocations: 17.44 kB / 0.7703 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6666, allocations: 0 / 0.7703 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.6667, allocations: 7.953 kB / 0.7703 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6667, allocations: 0.5625 kB / 0.7703 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6667, allocations: 4 kB / 0.7703 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.6669, allocations: 177.8 kB / 0.7705 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.667, allocations: 93.08 kB / 0.7706 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.667, allocations: 4 kB / 0.7706 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.6672, allocations: 31.94 kB / 0.7706 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.6674, allocations: 39.94 kB / 0.7707 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.6674, allocations: 4 kB / 0.7707 GB, free: 13.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.6674, allocations: 98.52 kB / 0.7708 GB, free: 13.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6674, allocations: 0 / 0.7708 GB, free: 13.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.6677, allocations: 27.94 kB / 0.7708 GB, free: 13.85 MB / 490.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) * 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.0001393/0.6678, allocations: 105.8 kB / 0.7709 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.6681, allocations: 218.7 kB / 0.7711 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6681, allocations: 0 / 0.7711 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.6683, allocations: 119.4 kB / 0.7712 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.6685, allocations: 8.891 kB / 0.7712 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.6688, allocations: 145.5 kB / 0.7714 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.6692, allocations: 0.6942 MB / 0.772 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.53e-05/0.6692, allocations: 13.02 kB / 0.7721 GB, free: 12.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.6693, allocations: 15.44 kB / 0.7721 GB, free: 12.46 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6693, allocations: 0 / 0.7721 GB, free: 12.46 MB / 490.7 MB Notification: Performance of Templates: time 0.003791/0.6731, allocations: 1.428 MB / 0.7735 GB, free: 11.09 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)