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.616/1.616, allocations: 289.7 MB / 302.2 MB, free: 2.23 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.001025/0.001025, allocations: 174.4 kB / 371.6 MB, free: 3.41 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.46/1.46, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009933/0.0009935, allocations: 92.2 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.555e-05/5.557e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.298, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9693/1.267, allocations: 139.9 MB / 1.116 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.268, allocations: 73.36 kB / 1.117 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004655/1.272, allocations: 1.502 MB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.272, allocations: 4 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.272, allocations: 0 / 1.118 GB, free: 42.94 MB / 0.7448 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.0005379/1.273, allocations: 444.5 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/1.273, allocations: 8.031 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.488e-05/1.273, allocations: 38.06 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/1.273, allocations: 11.03 kB / 1.119 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/1.273, allocations: 191.8 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.273, allocations: 7.625 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/1.273, allocations: 12 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/1.274, allocations: 96.25 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.274, allocations: 0 / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/1.274, allocations: 4 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.274, allocations: 0 / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/1.274, allocations: 50.61 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/1.274, allocations: 348.9 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/1.275, allocations: 68.36 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/1.275, allocations: 58.25 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/1.275, allocations: 0.5156 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/1.275, allocations: 110.1 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/1.275, allocations: 0 / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003406/1.275, allocations: 178.7 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/1.275, allocations: 88.62 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.275, allocations: 115.6 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/1.275, allocations: 29.7 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/1.275, allocations: 94.8 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/1.276, allocations: 18.86 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/1.276, allocations: 3.281 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.31e-05/1.276, allocations: 325.6 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/1.276, allocations: 45.48 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/1.276, allocations: 46.44 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/1.276, allocations: 90.69 kB / 1.12 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.276, allocations: 0 / 1.12 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002921/1.276, allocations: 220.2 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/1.276, allocations: 66.27 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.276, allocations: 0 / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.276, allocations: 0 / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/1.276, allocations: 23.27 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.276, allocations: 4.656 kB / 1.121 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/1.277, allocations: 35.08 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/1.277, allocations: 7.812 kB / 1.121 GB, free: 40.32 MB / 0.7448 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 9.166e-05/1.277, allocations: 143 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/1.277, allocations: 11.91 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/1.277, allocations: 8.375 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.277, allocations: 4.562 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.277, allocations: 1.281 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.277, allocations: 3.281 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/1.277, allocations: 192.5 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.277, allocations: 0 / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/1.277, allocations: 19.02 kB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.277, allocations: 4 kB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/1.277, allocations: 0 / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.277, allocations: 8.938 kB / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.277, allocations: 0 / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/1.277, allocations: 214.8 kB / 1.121 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/1.277, allocations: 80.62 kB / 1.121 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/1.277, allocations: 4 kB / 1.121 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.278, allocations: 35.16 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.278, allocations: 30 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/1.278, allocations: 10.38 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.975e-05/1.278, allocations: 92.64 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.278, allocations: 0 / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001956/1.278, allocations: 33.03 kB / 1.122 GB, free: 39.5 MB / 0.7448 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.000521/1.279, allocations: 0.7555 MB / 1.122 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003003/1.279, allocations: 226.1 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.279, allocations: 0 / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/1.279, allocations: 120.6 kB / 1.123 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/1.279, allocations: 15.19 kB / 1.123 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/1.28, allocations: 185.7 kB / 1.123 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/1.28, allocations: 0.6987 MB / 1.124 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.651e-05/1.28, allocations: 10.77 kB / 1.124 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/1.28, allocations: 18.81 kB / 1.124 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/1.28, allocations: 0 / 1.124 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/1.294, allocations: 2.495 MB / 1.126 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.294, allocations: 157 kB / 1.126 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/3.043, allocations: 3.938 kB / 1.126 GB, free: 35.96 MB / 0.7448 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)