Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.563/2.563, allocations: 287.5 MB / 302.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 182.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 90.78 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006924/0.0006928, allocations: 11.12 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2389, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001869/0.2408, allocations: 1.191 MB / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2419, allocations: 481 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.242, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.818e-05/0.2421, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.2421, allocations: 15.86 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.2424, allocations: 31.95 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.2425, allocations: 83.77 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2426, allocations: 16.11 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.2428, allocations: 43.83 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.2429, allocations: 39.83 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.243, allocations: 4 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.243, allocations: 4 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.243, allocations: 4 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.2431, allocations: 49.62 kB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2432, allocations: 52.11 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2432, allocations: 0 / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2432, allocations: 0 / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2433, allocations: 0 / 0.9803 GB, free: 26.35 MB / 0.6198 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.0007759/0.244, allocations: 442.5 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2441, allocations: 12.02 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.2442, allocations: 15.91 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.2444, allocations: 186.9 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2444, allocations: 8 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.2445, allocations: 4 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.2449, allocations: 121.6 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2449, allocations: 7.938 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.245, allocations: 12 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.245, allocations: 0 / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.2455, allocations: 99.92 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.2462, allocations: 340.8 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.2467, allocations: 118.5 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.247, allocations: 84.88 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2471, allocations: 0 / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004819/0.2476, allocations: 131.3 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.2476, allocations: 0 / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.001131/0.2487, allocations: 299.1 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.2488, allocations: 85.09 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2489, allocations: 140.2 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.249, allocations: 33.64 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.249, allocations: 99.98 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.2491, allocations: 23.73 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.2491, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.2492, allocations: 318.8 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.2495, allocations: 75.95 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.2498, allocations: 71.94 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.2501, allocations: 111.4 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2502, allocations: 4 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007847/0.2509, allocations: 272.8 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.118e-05/0.251, allocations: 67.39 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.251, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.2511, allocations: 4 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.2513, allocations: 19.94 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2513, allocations: 0 / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.2516, allocations: 27.97 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.2517, allocations: 8 kB / 0.9834 GB, free: 22.89 MB / 0.6198 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.2518, allocations: 151.5 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.2518, allocations: 11.89 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.2519, allocations: 12.38 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2519, allocations: 0 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2519, allocations: 3.953 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2519, allocations: 3.984 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.2521, allocations: 193.6 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2521, allocations: 3.938 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2523, allocations: 19.98 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2523, allocations: 0 / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2523, allocations: 4 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2523, allocations: 0 / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2523, allocations: 352 / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/0.2531, allocations: 270.5 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.2532, allocations: 92.94 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.2532, allocations: 0 / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.2535, allocations: 31.98 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.2537, allocations: 39.94 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.2537, allocations: 0 / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.2538, allocations: 103.2 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2538, allocations: 0 / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002736/0.2541, allocations: 27.95 kB / 0.9843 GB, free: 21.84 MB / 0.6198 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 (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.0001341/0.2542, allocations: 103.2 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007566/0.255, allocations: 282.8 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.255, allocations: 0 / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.2554, allocations: 155.3 kB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2557, allocations: 12 kB / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006678/0.2564, allocations: 233.2 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2566, allocations: 0.6926 MB / 0.9857 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.405e-05/0.2567, allocations: 8.172 kB / 0.9857 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.2567, allocations: 7.438 kB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2567, allocations: 0 / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.005187/0.2619, allocations: 1.546 MB / 0.9873 GB, free: 18.73 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)