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.001303/0.001303, allocations: 113.1 kB / 16.37 MB, free: 5.996 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.001064/0.001064, allocations: 188.7 kB / 17.3 MB, free: 5.617 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.44/1.44, 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.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001585/0.001585, allocations: 63.91 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2527, allocations: 114.6 MB / 0.7848 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003454/0.2561, allocations: 1.496 MB / 0.7862 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2572, allocations: 495.7 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.2573, allocations: 8 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.2574, allocations: 7.875 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-05/0.2575, allocations: 11.86 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.2577, allocations: 31.95 kB / 0.7868 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.2579, allocations: 103.8 kB / 0.7869 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2581, allocations: 24.11 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2582, allocations: 43.84 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2583, allocations: 39.83 kB / 0.787 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.2584, allocations: 8 kB / 0.787 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.124e-05/0.2584, allocations: 8 kB / 0.787 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.2584, allocations: 15.97 kB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.2585, allocations: 39.8 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.2587, allocations: 87.69 kB / 0.7871 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2587, allocations: 4 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2587, allocations: 0 / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2587, allocations: 0 / 0.7871 GB, free: 0.8047 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.0007532/0.2595, allocations: 442.7 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2595, allocations: 8.031 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.2596, allocations: 16.83 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.2598, allocations: 188.2 kB / 0.7878 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2599, allocations: 4.375 kB / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.2599, allocations: 8.312 kB / 0.7878 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4513/0.7112, allocations: 117 kB / 0.7879 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.7113, allocations: 0 / 0.7879 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.7113, allocations: 5.078 kB / 0.7879 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.7113, allocations: 1.5 kB / 0.7879 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.7117, allocations: 89.97 kB / 0.788 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.7123, allocations: 329.4 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.7126, allocations: 111.4 kB / 0.7884 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.7128, allocations: 72.53 kB / 0.7885 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.7128, allocations: 0 / 0.7885 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003594/0.7132, allocations: 121.1 kB / 0.7886 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.7132, allocations: 2.719 kB / 0.7886 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0006902/0.7139, allocations: 276.8 kB / 0.7888 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.7139, allocations: 84.91 kB / 0.7889 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.714, allocations: 140.1 kB / 0.7891 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.7141, allocations: 28.33 kB / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.7141, allocations: 98.06 kB / 0.7892 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.7141, allocations: 20.95 kB / 0.7892 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.7142, allocations: 28.06 kB / 0.7892 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.7143, allocations: 321.6 kB / 0.7895 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.7145, allocations: 64.19 kB / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.7147, allocations: 70.77 kB / 0.7897 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.715, allocations: 184.4 kB / 0.7898 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.715, allocations: 1.688 kB / 0.7898 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004532/0.7155, allocations: 257.5 kB / 0.7901 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.7155, allocations: 68.28 kB / 0.7902 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7155, allocations: 2.5 kB / 0.7902 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.7156, allocations: 0.5625 kB / 0.7902 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.7157, allocations: 16.11 kB / 0.7902 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.7157, allocations: 2.688 kB / 0.7902 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.7159, allocations: 25.66 kB / 0.7902 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.7159, allocations: 6.672 kB / 0.7902 GB, free: 47.67 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.423e-05/0.716, allocations: 155.3 kB / 0.7904 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.716, allocations: 12.38 kB / 0.7904 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.7161, allocations: 9.969 kB / 0.7904 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7161, allocations: 0.5625 kB / 0.7904 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7161, allocations: 0 / 0.7904 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7161, allocations: 5.125 kB / 0.7904 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.7162, allocations: 194.7 kB / 0.7906 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7162, allocations: 0 / 0.7906 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.7163, allocations: 15.55 kB / 0.7906 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.7163, allocations: 2.016 kB / 0.7906 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.7163, allocations: 10.17 kB / 0.7906 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7163, allocations: 2.625 kB / 0.7906 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7163, allocations: 0 / 0.7906 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.7168, allocations: 252.5 kB / 0.7908 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.7168, allocations: 83.64 kB / 0.7909 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.7169, allocations: 6.125 kB / 0.7909 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.717, allocations: 24.17 kB / 0.7909 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.7171, allocations: 36.23 kB / 0.791 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7172, allocations: 6.516 kB / 0.791 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.7172, allocations: 99.64 kB / 0.7911 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.21e-07/0.7172, allocations: 0.5 kB / 0.7911 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002061/0.7174, allocations: 25.11 kB / 0.7911 GB, free: 47.05 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 9.652e-05/0.7175, allocations: 101.7 kB / 0.7912 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.718, allocations: 267.1 kB / 0.7915 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.718, allocations: 1.281 kB / 0.7915 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.7183, allocations: 139.6 kB / 0.7916 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.7185, allocations: 13.5 kB / 0.7916 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.719, allocations: 250.7 kB / 0.7918 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.7192, allocations: 0.6922 MB / 0.7925 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.7192, allocations: 16.62 kB / 0.7925 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.7192, allocations: 3.812 kB / 0.7925 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.003108/0.7223, allocations: 1.431 MB / 0.7939 GB, free: 45.88 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)