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.001617/0.001617, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 199.5 kB / 16.64 MB, free: 6.453 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.318/1.318, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.677/1.677, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00148/0.00148, allocations: 71.42 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1935, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002429/0.196, allocations: 1.48 MB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.1967, allocations: 499.7 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.1968, allocations: 4 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.054e-05/0.1968, allocations: 11.86 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.1969, allocations: 15.86 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1971, allocations: 31.95 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1972, allocations: 103.8 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.1974, allocations: 16.12 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1975, allocations: 47.89 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.1976, allocations: 39.83 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1976, allocations: 11.94 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.1976, allocations: 8 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.1977, allocations: 11.98 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.1977, allocations: 47.72 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1978, allocations: 83.98 kB / 0.786 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1979, allocations: 0 / 0.786 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1979, allocations: 0 / 0.786 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1979, allocations: 0 / 0.786 GB, free: 10.88 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.0006161/0.1985, allocations: 454.6 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1985, allocations: 8.031 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.1986, allocations: 38.75 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1986, allocations: 8.844 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.1988, allocations: 196.2 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1988, allocations: 4.375 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1988, allocations: 8.375 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.1991, allocations: 125.5 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1991, allocations: 0 / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1992, allocations: 4 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1992, allocations: 0 / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.1995, allocations: 87.92 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.2, allocations: 324.8 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.2003, allocations: 110.4 kB / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2005, allocations: 72.94 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2005, allocations: 0 / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.2008, allocations: 131.3 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.2008, allocations: 0 / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006754/0.2015, allocations: 279.1 kB / 0.7877 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.2016, allocations: 81.11 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.2017, allocations: 132.9 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2017, allocations: 33.64 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.2018, allocations: 101 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.2018, allocations: 19.8 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.2019, allocations: 25.72 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.202, allocations: 326.8 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.2021, allocations: 63.95 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.2023, allocations: 72.02 kB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.2027, allocations: 185.9 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2027, allocations: 0 / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004698/0.2031, allocations: 256.8 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.2032, allocations: 67.39 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2032, allocations: 4 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2032, allocations: 4 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.2033, allocations: 11.98 kB / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.2034, allocations: 0 / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2035, allocations: 27.97 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.2035, allocations: 7.938 kB / 0.7891 GB, free: 7.371 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 (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 0.0001041/0.2036, allocations: 155.5 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.2037, allocations: 11.91 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.2037, allocations: 12.38 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2037, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2037, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2037, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2039, allocations: 197.5 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2039, allocations: 0 / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.204, allocations: 11.98 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.204, allocations: 4 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.204, allocations: 0 / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.204, allocations: 3.984 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.204, allocations: 4 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.2045, allocations: 250.8 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.2045, allocations: 85.08 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.2045, allocations: 8 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2047, allocations: 23.97 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2048, allocations: 35.97 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2048, allocations: 4 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.2049, allocations: 111.1 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2049, allocations: 0 / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002063/0.2051, allocations: 20 kB / 0.79 GB, free: 6.344 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000691/0.2058, allocations: 0.7819 MB / 0.7908 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.2063, allocations: 266.6 kB / 0.791 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2063, allocations: 0 / 0.791 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.2065, allocations: 147.3 kB / 0.7911 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.2068, allocations: 20.86 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.2088, allocations: 1.752 MB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.2091, allocations: 0.6963 MB / 0.7936 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.879e-05/0.2091, allocations: 7.984 kB / 0.7936 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.2092, allocations: 19.44 kB / 0.7936 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2092, allocations: 0 / 0.7936 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/0.251, allocations: 2.994 MB / 0.7965 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.324, allocations: 10.81 kB / 0.7965 GB, free: 15.58 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/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)