Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.282/2.282, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 175.7 kB / 315.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 94.38 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.471e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2123, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8639/1.076, allocations: 132.7 MB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.077, allocations: 74.2 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007402/1.084, allocations: 1.51 MB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/1.084, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.084, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 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.0007825/1.085, allocations: 436.2 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.085, allocations: 8.031 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/1.085, allocations: 15.95 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/1.085, allocations: 190.5 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.085, allocations: 4 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/1.085, allocations: 4 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002062/1.086, allocations: 49.48 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/1.086, allocations: 90.97 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.086, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/1.086, allocations: 2.625 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.086, allocations: 4 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/1.087, allocations: 325 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/1.087, allocations: 68.44 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/1.087, allocations: 49.17 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/1.087, allocations: 4 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/1.087, allocations: 103.2 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/1.087, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0004542/1.088, allocations: 141.7 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/1.088, allocations: 81.11 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/1.088, allocations: 122.2 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/1.088, allocations: 25.7 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/1.088, allocations: 99 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/1.088, allocations: 22.5 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/1.088, allocations: 4 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.088, allocations: 317.9 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/1.088, allocations: 47.03 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/1.089, allocations: 42.3 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/1.089, allocations: 30.83 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.089, allocations: 0 / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004531/1.089, allocations: 150.6 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/1.089, allocations: 69.95 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.089, allocations: 4 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.089, allocations: 0 / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.09, allocations: 19.92 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.09, allocations: 0 / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/1.09, allocations: 31.92 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/1.09, allocations: 11.31 kB / 1.018 GB, free: 2.215 MB / 0.6355 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 () * 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.0001415/1.09, allocations: 138.1 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000389/1.09, allocations: 144.1 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/1.091, allocations: 7.906 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/1.091, allocations: 11.98 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.091, allocations: 11.94 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.091, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.091, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/1.091, allocations: 164.2 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.091, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/1.091, allocations: 15.98 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.091, allocations: 3.938 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/1.091, allocations: 4 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/1.091, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.091, allocations: 4.062 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/1.091, allocations: 176.8 kB / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/1.092, allocations: 89.02 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/1.092, allocations: 3.984 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/1.092, allocations: 23.98 kB / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.092, allocations: 36.64 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/1.092, allocations: 7.234 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.755e-05/1.092, allocations: 95.86 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/1.092, allocations: 4 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000324/1.093, allocations: 27.95 kB / 1.019 GB, free: 1.258 MB / 0.6355 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) * 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.0008428/1.093, allocations: 0.7083 MB / 1.019 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000434/1.094, allocations: 216 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.094, allocations: 0 / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/1.094, allocations: 124.1 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/1.094, allocations: 15.86 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/1.095, allocations: 178.5 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/1.096, allocations: 0.6885 MB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001017/1.096, allocations: 16.17 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/1.096, allocations: 14.19 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.096, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04105/1.137, allocations: 2.121 MB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/1.137, allocations: 160.7 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.575, allocations: 0 / 1.023 GB, free: 13 MB / 0.6511 GB