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.224/2.224, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 175.2 kB / 325.5 MB, free: 2.898 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.424/2.424, allocations: 205.4 MB / 0.5764 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 97.72 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004702, allocations: 12.5 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.4355, allocations: 132.5 MB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.4358, allocations: 75.95 kB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007624/0.4435, allocations: 1.516 MB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.31e-06/0.4435, allocations: 3.984 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.4435, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 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.0008664/0.4444, allocations: 454.4 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.4445, allocations: 12.03 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.321e-05/0.4446, allocations: 34.56 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.4446, allocations: 15.86 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.4449, allocations: 193.7 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.4449, allocations: 8 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.445, allocations: 4 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.4455, allocations: 117.6 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4455, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.4456, allocations: 8 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.4456, allocations: 3.984 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.4462, allocations: 103.9 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.447, allocations: 340.6 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.4476, allocations: 118.5 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.4476, allocations: 7.938 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004819/0.4481, allocations: 127.5 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 3.887e-06/0.4481, allocations: 0 / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.001251/0.4494, allocations: 299.1 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.4495, allocations: 89.11 kB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.4497, allocations: 121.8 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.4497, allocations: 37.69 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.4498, allocations: 92.2 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.4499, allocations: 15.81 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.4499, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.45, allocations: 323.7 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.4504, allocations: 75.95 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.4508, allocations: 75.88 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.4511, allocations: 119.3 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4512, allocations: 0 / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009465/0.4521, allocations: 268.9 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.4522, allocations: 65.28 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4522, allocations: 4 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.4523, allocations: 0 / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.4525, allocations: 23.92 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4525, allocations: 3.938 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.4528, allocations: 23.98 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.4528, allocations: 8 kB / 1.033 GB, free: 7.797 MB / 0.6823 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.0001883/0.453, allocations: 155.5 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.4531, allocations: 7.906 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.4531, allocations: 12.38 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4532, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4532, allocations: 3.953 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4532, allocations: 3.984 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.4534, allocations: 193.5 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4534, allocations: 0 / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.4536, allocations: 24.22 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4536, allocations: 0 / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.4537, allocations: 12 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4537, allocations: 0 / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4537, allocations: 0 / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009087/0.4546, allocations: 266.5 kB / 1.033 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.4547, allocations: 85.02 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.4547, allocations: 3.984 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.455, allocations: 31.97 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.4553, allocations: 39.95 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.4553, allocations: 0 / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.604e-05/0.4554, allocations: 96.95 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4554, allocations: 96 / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003113/0.4557, allocations: 39.88 kB / 1.034 GB, free: 6.734 MB / 0.6823 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.00127/0.457, allocations: 0.7975 MB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008881/0.4579, allocations: 278.7 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4579, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.4584, allocations: 143.4 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.4586, allocations: 17.88 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.4618, allocations: 0.7968 MB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.4623, allocations: 0.7004 MB / 1.036 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.4625, allocations: 4.188 kB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4626, allocations: 31.36 kB / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/0.4626, allocations: 0 / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.4904, allocations: 2.479 MB / 1.039 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/0.4908, allocations: 188.6 kB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.362, allocations: 0 / 1.039 GB, free: 1.234 MB / 0.6823 GB