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.629/1.629, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001093/0.001093, allocations: 196.5 kB / 377.1 MB, free: 1.527 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.656/1.656, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.0009083/0.0009083, allocations: 88.7 kB / 0.7509 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 8 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.264, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7186/0.9827, allocations: 140 MB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.9829, allocations: 75.36 kB / 1.125 GB, free: 34.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004271/0.9872, allocations: 1.52 MB / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9872, allocations: 0 / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.9873, allocations: 192 / 1.127 GB, free: 33.64 MB / 0.7292 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.0004923/0.9878, allocations: 455.2 kB / 1.127 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.9878, allocations: 16.02 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.9878, allocations: 34.56 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.9879, allocations: 18.53 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.9881, allocations: 182.1 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.9881, allocations: 7.438 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.9881, allocations: 8.609 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.9884, allocations: 118.9 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9884, allocations: 0 / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.9885, allocations: 8 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.9885, allocations: 5.516 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.9888, allocations: 102.1 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.9893, allocations: 343.3 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.9896, allocations: 119.8 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.9896, allocations: 3.469 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.9899, allocations: 136.1 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.9899, allocations: 0 / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0006576/0.9906, allocations: 293.9 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.9906, allocations: 89.06 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.9907, allocations: 121.1 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.9907, allocations: 29.7 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.9908, allocations: 99.47 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.9908, allocations: 15.81 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.9908, allocations: 0 / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.9909, allocations: 326.3 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.991, allocations: 76.94 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.9912, allocations: 70.28 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.9914, allocations: 114.3 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9914, allocations: 0 / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004326/0.9918, allocations: 281.3 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.9919, allocations: 66.88 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9919, allocations: 0.6562 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9919, allocations: 1.219 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.992, allocations: 15.38 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.9921, allocations: 3.938 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.9922, allocations: 35.56 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.9922, allocations: 4.547 kB / 1.13 GB, free: 30.52 MB / 0.7292 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 8.64e-05/0.9923, allocations: 155.5 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.9924, allocations: 8.469 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.9924, allocations: 12.38 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.9924, allocations: 0 / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9924, allocations: 4.5 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9924, allocations: 0 / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.9925, allocations: 202.7 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9925, allocations: 0.5625 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.9926, allocations: 16.09 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9926, allocations: 0 / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.9927, allocations: 11.47 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9927, allocations: 0 / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9927, allocations: 5.859 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.9931, allocations: 263.2 kB / 1.13 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.9932, allocations: 89.02 kB / 1.13 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.9932, allocations: 0 / 1.13 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.9934, allocations: 27.03 kB / 1.13 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.9935, allocations: 42.83 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.9935, allocations: 0 / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.9936, allocations: 95.69 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9936, allocations: 0 / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001989/0.9938, allocations: 32 kB / 1.131 GB, free: 29.55 MB / 0.7292 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.0006196/0.9944, allocations: 0.8068 MB / 1.131 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.9948, allocations: 279.8 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9949, allocations: 0 / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.9951, allocations: 148.8 kB / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.9952, allocations: 9.328 kB / 1.132 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.9965, allocations: 0.7883 MB / 1.133 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.9967, allocations: 0.692 MB / 1.133 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.445e-05/0.9968, allocations: 11.84 kB / 1.133 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.9968, allocations: 19.44 kB / 1.133 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.9968, allocations: 0 / 1.133 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/1.01, allocations: 2.492 MB / 1.136 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.01, allocations: 179.1 kB / 1.136 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.681, allocations: 0 / 1.136 GB, free: 25.25 MB / 0.7292 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)