Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.00117/0.00117, allocations: 183.2 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.000842/0.0008419, allocations: 90.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003915, allocations: 11.53 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00139/0.2399, allocations: 1.176 MB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.2406, allocations: 480.9 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.2407, allocations: 7.938 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.352e-05/0.2408, allocations: 7.984 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/0.2408, allocations: 11.92 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.241, allocations: 27.95 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.2411, allocations: 47.94 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2412, allocations: 16.16 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.2413, allocations: 47.84 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.2414, allocations: 31.89 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.2414, allocations: 7.938 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.2415, allocations: 4 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.2415, allocations: 15.92 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.2415, allocations: 37.7 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.514e-05/0.2416, allocations: 48.11 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2416, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2417, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2417, allocations: 3.938 kB / 0.9813 GB, free: 25.75 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.0005968/0.2423, allocations: 439.4 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2423, allocations: 15.95 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.2424, allocations: 7.906 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2425, allocations: 205 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2425, allocations: 0 / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.2426, allocations: 8 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.2429, allocations: 125.6 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.2429, allocations: 0 / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2429, allocations: 0 / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2429, allocations: 4 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.2432, allocations: 103.9 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.2437, allocations: 340.7 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.244, allocations: 114.5 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2441, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.2444, allocations: 139.4 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.2444, allocations: 0 / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006555/0.245, allocations: 295.2 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2451, allocations: 93.05 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.2452, allocations: 127.5 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2452, allocations: 29.7 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.2453, allocations: 96.03 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2453, allocations: 23.81 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.2453, allocations: 4 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.2454, allocations: 322.8 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2455, allocations: 75.95 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2457, allocations: 71.95 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.2459, allocations: 115.3 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2459, allocations: 4 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004218/0.2463, allocations: 273 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.2464, allocations: 63.41 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2464, allocations: 80 / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2464, allocations: 7.984 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.2465, allocations: 23.92 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2465, allocations: 3.984 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2467, allocations: 31.94 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.2467, allocations: 7.984 kB / 0.9843 GB, free: 22.37 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 9.549e-05/0.2468, allocations: 151.5 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.2468, allocations: 12.16 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.2469, allocations: 12.36 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2469, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2469, allocations: 4 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2469, allocations: 4 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.247, allocations: 193.5 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.247, allocations: 0 / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/0.2471, allocations: 19.98 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2471, allocations: 0 / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2471, allocations: 4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2471, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2472, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.2476, allocations: 266.5 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.2476, allocations: 88.95 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.2477, allocations: 8 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2478, allocations: 27.97 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.248, allocations: 35.95 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.248, allocations: 11.98 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.248, allocations: 95.27 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.248, allocations: 0 / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001948/0.2482, allocations: 24 kB / 0.9853 GB, free: 21.32 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.000101/0.2483, allocations: 99.25 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.2488, allocations: 286.6 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2488, allocations: 4 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.249, allocations: 147.3 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.2492, allocations: 13.67 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.2497, allocations: 233.2 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.2499, allocations: 0.6965 MB / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.331e-05/0.2499, allocations: 8.172 kB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.25, allocations: 11.44 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.25, allocations: 3.938 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.003599/0.2536, allocations: 1.531 MB / 0.9882 GB, free: 18.22 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)