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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7507/0.7507, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001134/0.001134, allocations: 170.9 kB / 171.6 MB, free: 2.004 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.662/1.662, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.00184/0.00184, allocations: 118.8 kB / 444.5 MB, free: 9.348 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.5676/0.5676, allocations: 73.39 MB / 0.666 GB, free: 62.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.7412, allocations: 101.7 MB / 0.7654 GB, free: 2.539 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.7415, allocations: 75.95 kB / 0.7654 GB, free: 2.465 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004873/0.7464, allocations: 1.168 MB / 0.7666 GB, free: 1.332 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.7464, allocations: 4 kB / 0.7666 GB, free: 1.328 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.0006908/0.7471, allocations: 435.7 kB / 0.767 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.7472, allocations: 8.875 kB / 0.767 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.7472, allocations: 11.91 kB / 0.767 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.7475, allocations: 203 kB / 0.7672 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.7476, allocations: 0 / 0.7672 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.7476, allocations: 12 kB / 0.7672 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001706/0.7478, allocations: 47.98 kB / 0.7673 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.748, allocations: 93.59 kB / 0.7673 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.748, allocations: 0.8906 kB / 0.7673 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.748, allocations: 0 / 0.7673 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.748, allocations: 4.562 kB / 0.7674 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.7487, allocations: 325.2 kB / 0.7677 GB, free: 76 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.7489, allocations: 70.61 kB / 0.7677 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.749, allocations: 55.92 kB / 0.7678 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.749, allocations: 0 / 0.7678 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.7492, allocations: 99.23 kB / 0.7679 GB, free: 15.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 3.837e-06/0.7492, allocations: 3.234 kB / 0.7679 GB, free: 15.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002997/0.7495, allocations: 101.5 kB / 0.768 GB, free: 15.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7496, allocations: 89.09 kB / 0.7681 GB, free: 15.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.7497, allocations: 114 kB / 0.7682 GB, free: 15.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.7498, allocations: 33.7 kB / 0.7682 GB, free: 15.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.7498, allocations: 91.98 kB / 0.7683 GB, free: 15.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.7499, allocations: 11.91 kB / 0.7683 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.7499, allocations: 4 kB / 0.7683 GB, free: 15.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.75, allocations: 322.7 kB / 0.7686 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.7501, allocations: 43.98 kB / 0.7687 GB, free: 14.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.7502, allocations: 47.98 kB / 0.7687 GB, free: 14.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.7503, allocations: 27.27 kB / 0.7687 GB, free: 14.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7503, allocations: 0 / 0.7687 GB, free: 14.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002518/0.7506, allocations: 121.5 kB / 0.7688 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7506, allocations: 4 kB / 0.7688 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7506, allocations: 0 / 0.7688 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.7506, allocations: 0 / 0.7688 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.7508, allocations: 25.55 kB / 0.7689 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7508, allocations: 3.984 kB / 0.7689 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.751, allocations: 35.83 kB / 0.7689 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.751, allocations: 4 kB / 0.7689 GB, free: 14.72 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.0001397/0.7512, allocations: 151.7 kB / 0.7691 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.7512, allocations: 7.906 kB / 0.7691 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.7513, allocations: 12.5 kB / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.7513, allocations: 3.938 kB / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7513, allocations: 0 / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.7513, allocations: 0 / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.7515, allocations: 174.1 kB / 0.7692 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7515, allocations: 0 / 0.7692 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.7516, allocations: 19.98 kB / 0.7693 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.7516, allocations: 2.281 kB / 0.7693 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.7516, allocations: 8 kB / 0.7693 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7516, allocations: 0 / 0.7693 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7516, allocations: 0 / 0.7693 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002285/0.7519, allocations: 129 kB / 0.7694 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.752, allocations: 97 kB / 0.7695 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.752, allocations: 17.22 kB / 0.7695 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.7522, allocations: 27.97 kB / 0.7695 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.7524, allocations: 35.95 kB / 0.7696 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.7524, allocations: 4 kB / 0.7696 GB, free: 13.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.893e-05/0.7525, allocations: 100.8 kB / 0.7697 GB, free: 13.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.7527, allocations: 25.06 kB / 0.7697 GB, free: 13.84 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.0001623/0.7529, allocations: 110.9 kB / 0.7698 GB, free: 13.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.7532, allocations: 159.4 kB / 0.7699 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7532, allocations: 0 / 0.7699 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.7533, allocations: 89.69 kB / 0.77 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.7535, allocations: 15.94 kB / 0.77 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.754, allocations: 151.4 kB / 0.7702 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.7544, allocations: 0.7036 MB / 0.7709 GB, free: 12.55 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7544, allocations: 6.344 kB / 0.7709 GB, free: 12.55 MB / 490.7 MB Notification: Performance of Templates: time 0.004656/0.759, allocations: 1.585 MB / 0.7724 GB, free: 11.02 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)