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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.685/2.685, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001581/0.001581, allocations: 182.8 kB / 370.8 MB, free: 10.84 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.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001184/0.001184, allocations: 93.67 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004804, allocations: 15.47 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2193, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001746/0.2211, allocations: 1.187 MB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008725/0.222, allocations: 485.1 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.2221, allocations: 0 / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.948e-05/0.2222, allocations: 0 / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.2223, allocations: 11.92 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.2225, allocations: 27.97 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2226, allocations: 63.84 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2227, allocations: 8.188 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2228, allocations: 35.91 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.929e-05/0.2229, allocations: 39.88 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.223, allocations: 4 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/0.223, allocations: 7.938 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.2231, allocations: 7.984 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.2231, allocations: 41.64 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2232, allocations: 60.06 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.2232, allocations: 0 / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2233, allocations: 0 / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2233, allocations: 0 / 0.9802 GB, free: 26.31 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.0007032/0.224, allocations: 444.6 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.224, allocations: 19.95 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.2241, allocations: 42.55 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.2241, allocations: 11.86 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.2243, allocations: 184.9 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2243, allocations: 4 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.2244, allocations: 8 kB / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.2248, allocations: 125.5 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2249, allocations: 8 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.2249, allocations: 4 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2249, allocations: 0 / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.2254, allocations: 103.9 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.2261, allocations: 332.8 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.2266, allocations: 118.5 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2266, allocations: 7.922 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/0.227, allocations: 131.5 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.2271, allocations: 0 / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.001072/0.2281, allocations: 295.3 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.2282, allocations: 93.08 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2283, allocations: 132.4 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.2284, allocations: 33.64 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.2284, allocations: 99.98 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.2285, allocations: 15.81 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.2285, allocations: 4 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.2286, allocations: 322.8 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.2289, allocations: 67.95 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.2292, allocations: 79.94 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.2295, allocations: 111.3 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2295, allocations: 0 / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007794/0.2303, allocations: 284.9 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.2304, allocations: 63.39 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2304, allocations: 4.062 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.2304, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.2306, allocations: 23.94 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2306, allocations: 4 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.2309, allocations: 23.98 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.231, allocations: 7.984 kB / 0.9833 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.0001286/0.2311, allocations: 151.5 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.2311, allocations: 11.89 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.2312, allocations: 20.36 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2312, allocations: 0 / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2312, allocations: 3.953 kB / 0.9834 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2312, allocations: 0 / 0.9834 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2314, allocations: 193.5 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2314, allocations: 0 / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2316, allocations: 19.92 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2316, allocations: 0 / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.2316, allocations: 8 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2316, allocations: 4 kB / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2316, allocations: 0 / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.2324, allocations: 262.6 kB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.2324, allocations: 85.02 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.2325, allocations: 3.984 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.2328, allocations: 23.98 kB / 0.984 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.233, allocations: 39.95 kB / 0.984 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.233, allocations: 3.984 kB / 0.984 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.2331, allocations: 103.3 kB / 0.9841 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2331, allocations: 0 / 0.9841 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002828/0.2334, allocations: 27.95 kB / 0.9842 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.0009735/0.2344, allocations: 0.7936 MB / 0.9849 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007487/0.2351, allocations: 286.8 kB / 0.9852 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2351, allocations: 0 / 0.9852 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.2355, allocations: 147.3 kB / 0.9854 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.2358, allocations: 11.94 kB / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2379, allocations: 0.7932 MB / 0.9861 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.238, allocations: 0.6926 MB / 0.9868 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.291e-05/0.2381, allocations: 12.17 kB / 0.9868 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.2382, allocations: 15.44 kB / 0.9868 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2382, allocations: 0 / 0.9868 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.2606, allocations: 2.491 MB / 0.9893 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/0.2609, allocations: 187.5 kB / 0.9895 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/2.806, allocations: 4 kB / 0.9895 GB, free: 16.35 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)