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.001198/0.001198, allocations: 98.06 kB / 16.26 MB, free: 6.418 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.001283/0.001283, allocations: 189.2 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.737/1.737, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001428/0.001428, allocations: 75.89 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2471, allocations: 114.5 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003466/0.2506, allocations: 1.496 MB / 0.7855 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2517, allocations: 499.7 kB / 0.7859 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.2518, allocations: 0 / 0.7859 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.2519, allocations: 7.922 kB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.252, allocations: 11.88 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.2523, allocations: 35.89 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.2526, allocations: 99.81 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2527, allocations: 16.17 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.2529, allocations: 55.78 kB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.253, allocations: 35.89 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.253, allocations: 8 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.72e-05/0.2531, allocations: 8 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.2531, allocations: 19.91 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.2532, allocations: 39.8 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2534, allocations: 80.03 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2534, allocations: 0 / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2534, allocations: 0 / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2534, allocations: 11.88 kB / 0.7864 GB, free: 1.461 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.000807/0.2542, allocations: 438.7 kB / 0.7868 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2543, allocations: 15.97 kB / 0.7868 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.2544, allocations: 8.844 kB / 0.7868 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2546, allocations: 192.2 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2546, allocations: 4.375 kB / 0.787 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.2546, allocations: 8.375 kB / 0.787 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.255, allocations: 121.7 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.255, allocations: 0 / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.255, allocations: 0 / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.255, allocations: 4 kB / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.2554, allocations: 87.91 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.256, allocations: 344.6 kB / 0.7875 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.2563, allocations: 102.5 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4438/0.7001, allocations: 66.25 kB / 0.7877 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.7002, allocations: 5.562 kB / 0.7877 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.7006, allocations: 124.1 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 3.407e-06/0.7006, allocations: 0 / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0007174/0.7014, allocations: 273.9 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.7014, allocations: 86.69 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.7015, allocations: 128.8 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.7016, allocations: 31.27 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.7016, allocations: 97.23 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.7016, allocations: 21.14 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.7017, allocations: 31.92 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.7018, allocations: 321.6 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.702, allocations: 68.31 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.7021, allocations: 63.48 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.7025, allocations: 186.2 kB / 0.7891 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7025, allocations: 0 / 0.7891 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004281/0.7029, allocations: 261.3 kB / 0.7893 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.703, allocations: 65.62 kB / 0.7894 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.703, allocations: 0.875 kB / 0.7894 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.703, allocations: 2.625 kB / 0.7894 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.7031, allocations: 14.48 kB / 0.7894 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.7031, allocations: 2.625 kB / 0.7894 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.7033, allocations: 27.48 kB / 0.7894 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.7033, allocations: 7.062 kB / 0.7894 GB, free: 47.92 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 8.965e-05/0.7034, allocations: 153.9 kB / 0.7896 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.7034, allocations: 9.156 kB / 0.7896 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.7035, allocations: 13.59 kB / 0.7896 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7035, allocations: 0 / 0.7896 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7035, allocations: 1.094 kB / 0.7896 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7035, allocations: 2.625 kB / 0.7896 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.7036, allocations: 193.8 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7037, allocations: 0.5938 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.7037, allocations: 18.64 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7038, allocations: 0 / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.7038, allocations: 6.688 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7038, allocations: 1.875 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7038, allocations: 0.9688 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.7043, allocations: 245.5 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.7043, allocations: 96.23 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.7044, allocations: 2.625 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.7045, allocations: 21.44 kB / 0.7902 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.7046, allocations: 37.91 kB / 0.7902 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.7047, allocations: 5.984 kB / 0.7902 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.7047, allocations: 99.67 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7047, allocations: 0 / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002017/0.7049, allocations: 24.81 kB / 0.7903 GB, free: 47.3 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 0.0001035/0.705, allocations: 101.4 kB / 0.7904 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.7055, allocations: 274.4 kB / 0.7907 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7055, allocations: 0 / 0.7907 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.7057, allocations: 138.1 kB / 0.7908 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.706, allocations: 24.02 kB / 0.7908 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.7065, allocations: 251.2 kB / 0.7911 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.7067, allocations: 0.6909 MB / 0.7917 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.7067, allocations: 12.69 kB / 0.7918 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.7067, allocations: 0.6875 kB / 0.7918 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.003011/0.7097, allocations: 1.434 MB / 0.7932 GB, free: 46.13 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)