Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.853/0.853, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.918/1.918, allocations: 428.6 MB / 0.6716 GB, free: 5.016 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 1.064 GB, free: 34.08 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.207e-05, allocations: 2.281 kB / 1.064 GB, free: 34.08 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.001551/0.001563, allocations: 1.535 MB / 1.065 GB, free: 33.04 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0005422/0.002105, allocations: 0.491 MB / 1.066 GB, free: 32.71 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.002161, allocations: 0 / 1.066 GB, free: 32.71 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 7.981e-05/0.002241, allocations: 3.938 kB / 1.066 GB, free: 32.7 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.146e-05/0.002283, allocations: 21.8 kB / 1.066 GB, free: 32.69 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.002511, allocations: 42.23 kB / 1.066 GB, free: 32.66 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.002633, allocations: 99.22 kB / 1.066 GB, free: 32.61 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.002719, allocations: 10.14 kB / 1.066 GB, free: 32.61 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.002867, allocations: 60 kB / 1.066 GB, free: 32.58 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.002925, allocations: 29.05 kB / 1.066 GB, free: 32.57 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.002943, allocations: 5.781 kB / 1.066 GB, free: 32.57 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 3.534e-05/0.002978, allocations: 8.156 kB / 1.066 GB, free: 32.57 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.003012, allocations: 18.34 kB / 1.066 GB, free: 32.56 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.00305, allocations: 23.91 kB / 1.066 GB, free: 32.55 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003168, allocations: 84.5 kB / 1.066 GB, free: 32.52 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00317, allocations: 0 / 1.066 GB, free: 32.52 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003171, allocations: 0 / 1.066 GB, free: 32.52 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.003175, allocations: 4 kB / 1.066 GB, free: 32.51 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004189/0.003594, allocations: 374.9 kB / 1.067 GB, free: 32.16 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.003626, allocations: 11.47 kB / 1.067 GB, free: 32.16 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.176e-05/0.003648, allocations: 37.94 kB / 1.067 GB, free: 32.12 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.003737, allocations: 23.67 kB / 1.067 GB, free: 32.11 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.003867, allocations: 133.3 kB / 1.067 GB, free: 31.96 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.003876, allocations: 3.188 kB / 1.067 GB, free: 31.96 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.003888, allocations: 13.78 kB / 1.067 GB, free: 31.96 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.004061, allocations: 124.1 kB / 1.067 GB, free: 31.88 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.004069, allocations: 192 / 1.067 GB, free: 31.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.004079, allocations: 7 kB / 1.067 GB, free: 31.88 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004083, allocations: 0 / 1.067 GB, free: 31.88 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.00422, allocations: 112.2 kB / 1.067 GB, free: 31.82 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.00453, allocations: 291.2 kB / 1.067 GB, free: 31.56 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.004676, allocations: 108.8 kB / 1.068 GB, free: 31.49 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.00476, allocations: 78.86 kB / 1.068 GB, free: 31.44 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.004771, allocations: 0 / 1.068 GB, free: 31.44 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.004913, allocations: 131.6 kB / 1.068 GB, free: 31.35 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.004914, allocations: 0 / 1.068 GB, free: 31.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=7): time 0.0003267/0.005241, allocations: 274.7 kB / 1.068 GB, free: 31.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.005264, allocations: 79.61 kB / 1.068 GB, free: 31.09 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.005327, allocations: 130.6 kB / 1.068 GB, free: 30.98 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.005336, allocations: 28.33 kB / 1.068 GB, free: 30.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.00537, allocations: 98.02 kB / 1.068 GB, free: 30.85 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.005383, allocations: 20.94 kB / 1.068 GB, free: 30.84 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.005416, allocations: 25.16 kB / 1.068 GB, free: 30.82 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.005451, allocations: 328.8 kB / 1.069 GB, free: 30.49 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.005537, allocations: 105.4 kB / 1.069 GB, free: 30.42 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.005614, allocations: 102.9 kB / 1.069 GB, free: 30.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.005758, allocations: 170.9 kB / 1.069 GB, free: 30.22 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.005759, allocations: 0 / 1.069 GB, free: 30.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002069/0.005966, allocations: 270.3 kB / 1.069 GB, free: 30.03 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.00599, allocations: 60.22 kB / 1.069 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005995, allocations: 0 / 1.069 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006007, allocations: 2.969 kB / 1.069 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.006071, allocations: 19.8 kB / 1.069 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.006076, allocations: 3.328 kB / 1.069 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.006134, allocations: 22.83 kB / 1.069 GB, free: 29.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.006144, allocations: 3.031 kB / 1.069 GB, free: 29.95 MB / 1.01 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 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.006196, allocations: 159.6 kB / 1.07 GB, free: 29.79 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.006205, allocations: 6.766 kB / 1.07 GB, free: 29.79 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.006226, allocations: 11.78 kB / 1.07 GB, free: 29.78 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.006228, allocations: 3.188 kB / 1.07 GB, free: 29.78 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.006232, allocations: 0 / 1.07 GB, free: 29.78 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006235, allocations: 0 / 1.07 GB, free: 29.78 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.006488, allocations: 426.2 kB / 1.07 GB, free: 29.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.006489, allocations: 6.656 kB / 1.07 GB, free: 29.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.006522, allocations: 11.45 kB / 1.07 GB, free: 29.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006524, allocations: 7.875 kB / 1.07 GB, free: 29.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.006533, allocations: 6.031 kB / 1.07 GB, free: 29.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006534, allocations: 0 / 1.07 GB, free: 29.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006535, allocations: 0 / 1.07 GB, free: 29.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.006723, allocations: 296.6 kB / 1.07 GB, free: 29.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.006732, allocations: 6.828 kB / 1.07 GB, free: 29.18 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.006747, allocations: 10.91 kB / 1.07 GB, free: 29.17 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.006811, allocations: 18.98 kB / 1.07 GB, free: 29.17 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.006885, allocations: 25.7 kB / 1.07 GB, free: 29.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.006892, allocations: 6.656 kB / 1.07 GB, free: 29.16 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.006922, allocations: 106.5 kB / 1.07 GB, free: 29.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.006922, allocations: 0 / 1.07 GB, free: 29.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000156/0.007078, allocations: 17.44 kB / 1.07 GB, free: 29.07 MB / 1.01 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,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000274/0.007352, allocations: 0.8421 MB / 1.071 GB, free: 28.31 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.007568, allocations: 304.4 kB / 1.072 GB, free: 28.06 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.007569, allocations: 0 / 1.072 GB, free: 28.06 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.007665, allocations: 134.2 kB / 1.072 GB, free: 27.96 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.007842, allocations: 13.53 kB / 1.072 GB, free: 27.95 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.009087, allocations: 1.976 MB / 1.074 GB, free: 26.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.124e-05/0.009128, allocations: 81.06 kB / 1.074 GB, free: 26.19 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.009167, allocations: 15.16 kB / 1.074 GB, free: 26.19 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.00921, allocations: 26.64 kB / 1.074 GB, free: 26.18 MB / 1.01 GB Notification: Performance of SimCode: time 6.72e-07/0.009211, allocations: 0 / 1.074 GB, free: 26.18 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02412, allocations: 3.343 MB / 1.077 GB, free: 25.22 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.078, allocations: 3.953 kB / 1.077 GB, free: 25.22 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 11.62436337955296]