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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 105.1 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 195.2 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 70.88 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2504, allocations: 114.5 MB / 0.7847 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002909/0.2534, allocations: 1.485 MB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000876/0.2543, allocations: 0.4958 MB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.2544, allocations: 0 / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.995e-05/0.2545, allocations: 3.938 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.2546, allocations: 19.84 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.2548, allocations: 39.89 kB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.255, allocations: 99.77 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2551, allocations: 16.17 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.2552, allocations: 51.83 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.2553, allocations: 35.83 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.2554, allocations: 8 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.2554, allocations: 8 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.2555, allocations: 19.92 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.2555, allocations: 35.86 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.2557, allocations: 87.69 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.2557, allocations: 0 / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2557, allocations: 4 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2557, allocations: 0 / 0.7871 GB, free: 0.7734 MB / 0.6544 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.000686/0.2564, allocations: 445.5 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2564, allocations: 12.03 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.2565, allocations: 12.84 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.2567, allocations: 192.1 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2567, allocations: 8.375 kB / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2567, allocations: 4.375 kB / 0.7877 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4319/0.6886, allocations: 123.6 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6887, allocations: 0 / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.6887, allocations: 0 / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6887, allocations: 3.031 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.689, allocations: 88.89 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.6895, allocations: 329.8 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.6898, allocations: 108.7 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.69, allocations: 69.88 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.69, allocations: 3.375 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.6903, allocations: 125.5 kB / 0.7886 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.6904, allocations: 0 / 0.7886 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0006573/0.691, allocations: 273.7 kB / 0.7888 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.6911, allocations: 92.17 kB / 0.7889 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.6912, allocations: 132.7 kB / 0.789 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.6912, allocations: 30.23 kB / 0.7891 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.6912, allocations: 95.34 kB / 0.7891 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.6912, allocations: 21.58 kB / 0.7892 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.6913, allocations: 31.52 kB / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.6914, allocations: 319.2 kB / 0.7895 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.6915, allocations: 65.61 kB / 0.7896 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.6917, allocations: 64.64 kB / 0.7896 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.692, allocations: 186.3 kB / 0.7898 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.692, allocations: 0.5312 kB / 0.7898 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004433/0.6925, allocations: 260.7 kB / 0.7901 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.6925, allocations: 67.41 kB / 0.7901 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.6926, allocations: 0 / 0.7901 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.6926, allocations: 1.25 kB / 0.7901 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6927, allocations: 15.23 kB / 0.7901 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.6927, allocations: 4.375 kB / 0.7901 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.6929, allocations: 29.53 kB / 0.7902 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.6929, allocations: 6.609 kB / 0.7902 GB, free: 47.6 MB / 0.6544 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/0.693, allocations: 153.5 kB / 0.7903 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.693, allocations: 12.78 kB / 0.7903 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.6931, allocations: 13.67 kB / 0.7903 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6931, allocations: 0.5 kB / 0.7903 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6931, allocations: 0.625 kB / 0.7903 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6931, allocations: 3.938 kB / 0.7903 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.6932, allocations: 192.5 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6932, allocations: 2.938 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.6933, allocations: 13 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6933, allocations: 0 / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.6933, allocations: 7.25 kB / 0.7906 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6934, allocations: 1.281 kB / 0.7906 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6934, allocations: 0 / 0.7906 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.6938, allocations: 256.8 kB / 0.7908 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.6938, allocations: 86.45 kB / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.6939, allocations: 7.062 kB / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.694, allocations: 17.25 kB / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.6941, allocations: 43.25 kB / 0.7909 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.6942, allocations: 3.156 kB / 0.7909 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.6942, allocations: 102.8 kB / 0.791 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6942, allocations: 1.125 kB / 0.791 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002177/0.6944, allocations: 21.09 kB / 0.7911 GB, free: 46.98 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.698e-05/0.6945, allocations: 105 kB / 0.7912 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.695, allocations: 277.1 kB / 0.7914 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.695, allocations: 0 / 0.7914 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.6952, allocations: 136.7 kB / 0.7916 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.6954, allocations: 18.66 kB / 0.7916 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.6959, allocations: 212.4 kB / 0.7918 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.281e-05/0.696, allocations: 0.6938 MB / 0.7925 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.605e-05/0.6961, allocations: 5.25 kB / 0.7925 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.6961, allocations: 17.95 kB / 0.7925 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6961, allocations: 3.031 kB / 0.7925 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.003936/0.7, allocations: 1.856 MB / 0.7943 GB, free: 45.82 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)