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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001469/0.001469, allocations: 180.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009296/0.0009296, allocations: 88.25 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.319e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7464, allocations: 116.3 MB / 0.9733 GB, free: 76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/0.9598, allocations: 139.2 MB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.9601, allocations: 76.75 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00479/0.9649, allocations: 1.493 MB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9649, allocations: 2.938 kB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.9649, allocations: 4 kB / 1.111 GB, free: 9.332 MB / 0.7136 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.0005822/0.9655, allocations: 433 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.9656, allocations: 13.5 kB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.9656, allocations: 7.906 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.9659, allocations: 202.7 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.9659, allocations: 0 / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.9659, allocations: 9.469 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001585/0.9661, allocations: 51.92 kB / 1.112 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.9663, allocations: 88 kB / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9663, allocations: 1.312 kB / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.9663, allocations: 4 kB / 1.112 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9663, allocations: 0 / 1.112 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.9669, allocations: 315 kB / 1.112 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.967, allocations: 74.5 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.9671, allocations: 52.97 kB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.9672, allocations: 0 / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.9674, allocations: 99.36 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 3.247e-06/0.9674, allocations: 4.875 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003175/0.9677, allocations: 137.5 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.9678, allocations: 85.89 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.9679, allocations: 115.9 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.9679, allocations: 29.7 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.968, allocations: 92.05 kB / 1.113 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.968, allocations: 23.73 kB / 1.113 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.9681, allocations: 4 kB / 1.113 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9682, allocations: 329.4 kB / 1.113 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.9683, allocations: 47.73 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.9684, allocations: 43.98 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.9684, allocations: 23.98 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.9684, allocations: 0 / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002564/0.9687, allocations: 157.6 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.9688, allocations: 67.39 kB / 1.113 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9688, allocations: 0 / 1.113 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.9688, allocations: 0 / 1.113 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.9689, allocations: 23.98 kB / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.969, allocations: 0 / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.9691, allocations: 27.97 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.9692, allocations: 8 kB / 1.113 GB, free: 6.609 MB / 0.7136 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.0001182/0.9693, allocations: 142.6 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002259/0.9695, allocations: 141.6 kB / 1.114 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.9695, allocations: 11.91 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.9696, allocations: 12.56 kB / 1.114 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.9696, allocations: 3.984 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9696, allocations: 0 / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.9696, allocations: 3.953 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.9698, allocations: 174.1 kB / 1.114 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9698, allocations: 0 / 1.114 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.9699, allocations: 19.98 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.9699, allocations: 0 / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.9699, allocations: 7.984 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9699, allocations: 0 / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.97, allocations: 0 / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.9702, allocations: 170.6 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.9703, allocations: 81.11 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.9703, allocations: 4 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.9705, allocations: 31.97 kB / 1.114 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.9706, allocations: 35.94 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.9707, allocations: 4 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.586e-05/0.9707, allocations: 100.8 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.543e-06/0.9707, allocations: 0 / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002125/0.971, allocations: 27.84 kB / 1.114 GB, free: 5.57 MB / 0.7136 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.0005741/0.9715, allocations: 0.7139 MB / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.9718, allocations: 218.7 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9718, allocations: 0 / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.972, allocations: 119.4 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.9722, allocations: 10.06 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.9727, allocations: 180.7 kB / 1.115 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.973, allocations: 0.699 MB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.633e-05/0.973, allocations: 13.36 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.9731, allocations: 15.44 kB / 1.116 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9731, allocations: 0 / 1.116 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.9942, allocations: 2.111 MB / 1.118 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.9945, allocations: 141.4 kB / 1.118 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.712, allocations: 2.109 kB / 1.118 GB, free: 1.258 MB / 0.7136 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)