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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006626/0.0006626, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0007117/0.0007117, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.507/1.507, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004426/0.0004426, allocations: 14 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1651, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001385/0.1665, allocations: 1.191 MB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006771/0.1672, allocations: 481.2 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1673, allocations: 0 / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.151e-05/0.1673, allocations: 3.938 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.1674, allocations: 15.86 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.1676, allocations: 27.95 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.1677, allocations: 79.77 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.1678, allocations: 16.17 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1679, allocations: 43.78 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.168, allocations: 39.88 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.168, allocations: 4 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.1681, allocations: 4 kB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.1681, allocations: 11.92 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.1681, allocations: 37.7 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.424e-05/0.1682, allocations: 52.12 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1682, allocations: 4 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1682, allocations: 0 / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1683, allocations: 0 / 0.7893 GB, free: 9.832 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.0005696/0.1688, allocations: 438.5 kB / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1689, allocations: 11.97 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1689, allocations: 34.56 kB / 0.7898 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.169, allocations: 11.91 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1691, allocations: 202.8 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.1692, allocations: 0 / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1692, allocations: 8 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.1695, allocations: 125.6 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1695, allocations: 3.938 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1695, allocations: 8 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1695, allocations: 0 / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.1698, allocations: 103.9 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.1703, allocations: 336.8 kB / 0.7906 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1706, allocations: 118.5 kB / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1708, allocations: 80.94 kB / 0.7908 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.1708, allocations: 0 / 0.7908 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.1711, allocations: 135.3 kB / 0.7909 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1711, allocations: 0 / 0.7909 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006484/0.1718, allocations: 303.1 kB / 0.7912 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.1718, allocations: 85.11 kB / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.1719, allocations: 132.8 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.172, allocations: 33.7 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.172, allocations: 100 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.172, allocations: 19.8 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.1721, allocations: 4 kB / 0.7915 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.1721, allocations: 318.8 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1723, allocations: 79.89 kB / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.1725, allocations: 71.95 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1727, allocations: 115.4 kB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1727, allocations: 0 / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004359/0.1731, allocations: 272.8 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.1732, allocations: 67.41 kB / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1732, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1732, allocations: 4 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1733, allocations: 15.98 kB / 0.7924 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1733, allocations: 3.953 kB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1735, allocations: 31.97 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1735, allocations: 4 kB / 0.7925 GB, free: 6.332 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 ($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.0001077/0.1736, allocations: 164.1 kB / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1736, allocations: 7.906 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.1736, allocations: 12.38 kB / 0.7926 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1737, allocations: 0 / 0.7926 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1737, allocations: 0 / 0.7926 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1737, allocations: 3.953 kB / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1738, allocations: 201.5 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1738, allocations: 0 / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.1739, allocations: 19.98 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1739, allocations: 3.984 kB / 0.7929 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1739, allocations: 4 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1739, allocations: 0 / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1739, allocations: 3.938 kB / 0.7929 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.1744, allocations: 262.6 kB / 0.7931 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.1744, allocations: 85.02 kB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1745, allocations: 4 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1746, allocations: 31.97 kB / 0.7932 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.1747, allocations: 35.95 kB / 0.7933 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1747, allocations: 4.312 kB / 0.7933 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.1748, allocations: 95.27 kB / 0.7934 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1748, allocations: 0 / 0.7934 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001957/0.175, allocations: 28 kB / 0.7934 GB, free: 5.277 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 (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.000696/0.1757, allocations: 0.8091 MB / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004455/0.1761, allocations: 278.7 kB / 0.7944 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1762, allocations: 0 / 0.7944 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.1764, allocations: 151.3 kB / 0.7946 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.1766, allocations: 11.98 kB / 0.7946 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1778, allocations: 0.7866 MB / 0.7954 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.178, allocations: 0.6926 MB / 0.796 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.918e-05/0.1781, allocations: 12.11 kB / 0.7961 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.1781, allocations: 19.44 kB / 0.7961 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1781, allocations: 0 / 0.7961 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.1897, allocations: 2.503 MB / 0.7985 GB, free: 36 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.1899, allocations: 186.9 kB / 0.7987 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/1.718, allocations: 0 / 0.7987 GB, free: 15.8 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: