Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.889/1.889, allocations: 285.6 MB / 293.1 MB, free: 10.3 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.00126/0.00126, allocations: 180.9 kB / 361.4 MB, free: 6.883 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.001002/0.001002, allocations: 90.25 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.967e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.07, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2453/1.315, allocations: 138.2 MB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/1.316, allocations: 74.08 kB / 1.1 GB, free: 1.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006008/1.322, allocations: 1.499 MB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.676e-06/1.322, allocations: 0 / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.98e-05/1.322, allocations: 6.906 kB / 1.101 GB, free: 15.96 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.0008547/1.323, allocations: 435.3 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.03e-05/1.323, allocations: 12.72 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/1.323, allocations: 8.938 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/1.323, allocations: 197.1 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.323, allocations: 4 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/1.323, allocations: 14.19 kB / 1.102 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001981/1.324, allocations: 45.94 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/1.324, allocations: 89.64 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.324, allocations: 0 / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/1.324, allocations: 4 kB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/1.324, allocations: 0 / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/1.325, allocations: 316 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/1.325, allocations: 75.38 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/1.325, allocations: 56.22 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/1.325, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/1.325, allocations: 99.36 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 3.016e-06/1.325, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003621/1.325, allocations: 137.5 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/1.326, allocations: 95.47 kB / 1.103 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/1.326, allocations: 115.8 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/1.326, allocations: 31.11 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/1.326, allocations: 92.05 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/1.326, allocations: 23.73 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/1.326, allocations: 0 / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.326, allocations: 329.5 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/1.326, allocations: 43.98 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/1.326, allocations: 43.98 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/1.326, allocations: 24.92 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.326, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002733/1.327, allocations: 153.5 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/1.327, allocations: 63.41 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.327, allocations: 1.312 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.327, allocations: 7.609 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/1.327, allocations: 23.98 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.327, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/1.327, allocations: 23.98 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/1.327, allocations: 7.984 kB / 1.103 GB, free: 13.25 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.0001396/1.327, allocations: 145.5 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002295/1.327, allocations: 149.5 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/1.327, allocations: 7.906 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/1.328, allocations: 12.62 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.328, allocations: 3.469 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.328, allocations: 0 / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.328, allocations: 3.953 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/1.328, allocations: 174.1 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.328, allocations: 3 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/1.328, allocations: 19.98 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.328, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.328, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.328, allocations: 7.984 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.328, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/1.328, allocations: 169 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/1.328, allocations: 81.11 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/1.328, allocations: 7.938 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/1.328, allocations: 33.22 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.329, allocations: 32.03 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/1.329, allocations: 11.98 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.37e-05/1.329, allocations: 95.27 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.329, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002286/1.329, allocations: 23.91 kB / 1.104 GB, free: 12.2 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.0005534/1.329, allocations: 0.7154 MB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002934/1.33, allocations: 218.7 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.33, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/1.33, allocations: 123.4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/1.33, allocations: 9.031 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/1.331, allocations: 176.6 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/1.331, allocations: 0.697 MB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.174e-05/1.331, allocations: 8.125 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/1.331, allocations: 19.42 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/1.331, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/1.353, allocations: 2.11 MB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.353, allocations: 161.9 kB / 1.109 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/3.492, allocations: 2.812 kB / 1.109 GB, free: 7.895 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)