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.001427/0.001427, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001658/0.001658, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.562/1.562, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.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.698/1.698, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001342/0.001342, allocations: 69.02 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2454, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002722/0.2482, allocations: 1.549 MB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000808/0.249, allocations: 0.4891 MB / 0.7855 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.2491, allocations: 3.938 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2492, allocations: 3.984 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.2493, allocations: 11.86 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.2495, allocations: 35.97 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.2497, allocations: 103.8 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.2498, allocations: 4.188 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2499, allocations: 47.89 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.997e-05/0.25, allocations: 47.83 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.25, allocations: 11.94 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.25, allocations: 8 kB / 0.7858 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.2501, allocations: 19.86 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.2501, allocations: 39.84 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.2503, allocations: 56.12 kB / 0.7859 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2503, allocations: 0 / 0.7859 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2503, allocations: 3.938 kB / 0.7859 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2503, allocations: 4 kB / 0.7859 GB, free: 11.47 MB / 0.6075 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.0006709/0.251, allocations: 446.6 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.251, allocations: 8.031 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.2511, allocations: 12.84 kB / 0.7863 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.2513, allocations: 188.2 kB / 0.7865 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2513, allocations: 8.375 kB / 0.7865 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.2513, allocations: 4.375 kB / 0.7865 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2516, allocations: 125.7 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2516, allocations: 0 / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2517, allocations: 4 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2517, allocations: 4 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.252, allocations: 87.86 kB / 0.7867 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.2525, allocations: 320.8 kB / 0.787 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.2528, allocations: 110.5 kB / 0.7871 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.253, allocations: 68.94 kB / 0.7872 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.253, allocations: 4 kB / 0.7872 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.2534, allocations: 131.3 kB / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.2534, allocations: 0 / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006828/0.2541, allocations: 275.2 kB / 0.7876 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.2541, allocations: 81.11 kB / 0.7877 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2543, allocations: 132.5 kB / 0.7878 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2543, allocations: 33.7 kB / 0.7878 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.2544, allocations: 100 kB / 0.7879 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.2544, allocations: 23.69 kB / 0.7879 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.2545, allocations: 29.7 kB / 0.788 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2546, allocations: 318.8 kB / 0.7883 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.2548, allocations: 67.95 kB / 0.7883 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.2549, allocations: 67.92 kB / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.2553, allocations: 194 kB / 0.7886 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2553, allocations: 4 kB / 0.7886 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005/0.2558, allocations: 252.9 kB / 0.7888 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.2559, allocations: 71.33 kB / 0.7889 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2559, allocations: 0 / 0.7889 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2559, allocations: 4 kB / 0.7889 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2561, allocations: 15.98 kB / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2561, allocations: 0 / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.2562, allocations: 23.97 kB / 0.7889 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.2563, allocations: 4 kB / 0.789 GB, free: 8.027 MB / 0.6075 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 0.0001267/0.2564, allocations: 160.1 kB / 0.7891 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.2564, allocations: 7.906 kB / 0.7891 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.2565, allocations: 12.38 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2565, allocations: 4 kB / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2565, allocations: 3.938 kB / 0.7891 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2565, allocations: 0 / 0.7891 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.2566, allocations: 193.5 kB / 0.7893 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2566, allocations: 0 / 0.7893 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.2567, allocations: 11.98 kB / 0.7893 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2567, allocations: 0 / 0.7893 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2567, allocations: 7.984 kB / 0.7893 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2568, allocations: 0 / 0.7893 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2568, allocations: 4 kB / 0.7893 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.2572, allocations: 246.8 kB / 0.7896 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.2573, allocations: 84.95 kB / 0.7897 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.2573, allocations: 12.06 kB / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2575, allocations: 23.95 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.2576, allocations: 39.97 kB / 0.7897 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2576, allocations: 3.984 kB / 0.7897 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.944e-05/0.2577, allocations: 99.27 kB / 0.7898 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2577, allocations: 3.938 kB / 0.7898 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002001/0.2579, allocations: 31.88 kB / 0.7899 GB, free: 6.988 MB / 0.6075 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.0001099/0.258, allocations: 105.5 kB / 0.79 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.2585, allocations: 262.7 kB / 0.7902 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2586, allocations: 0 / 0.7902 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.2588, allocations: 143.3 kB / 0.7903 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.259, allocations: 12 kB / 0.7904 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.2596, allocations: 272.9 kB / 0.7906 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.26, allocations: 0.6924 MB / 0.7913 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.26, allocations: 15.38 kB / 0.7913 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.26, allocations: 0 / 0.7913 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.002986/0.263, allocations: 1.43 MB / 0.7927 GB, free: 3.988 MB / 0.6075 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)