Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.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.001741/0.001741, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002787/0.002787, allocations: 217 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 66.27 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3014, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003059/0.3044, allocations: 1.543 MB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3054, allocations: 488.5 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.3055, allocations: 4 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.484e-05/0.3056, allocations: 11.86 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.064e-05/0.3057, allocations: 11.88 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3059, allocations: 43.88 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3061, allocations: 91.7 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.3062, allocations: 8 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.3064, allocations: 47.89 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.3065, allocations: 39.83 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.3065, allocations: 8 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-05/0.3065, allocations: 11.94 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.3066, allocations: 15.94 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.3066, allocations: 31.86 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3068, allocations: 77.11 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3068, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3068, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3068, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 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.0006866/0.3075, allocations: 377.4 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3075, allocations: 8.031 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.327e-05/0.3076, allocations: 8.188 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.3076, allocations: 34.73 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.3077, allocations: 24.88 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.308, allocations: 134.4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.308, allocations: 16.3 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.308, allocations: 4.375 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.3083, allocations: 127.3 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3084, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3084, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3084, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.3087, allocations: 101.6 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.3093, allocations: 295.7 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.3096, allocations: 104.2 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3098, allocations: 82.64 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3098, allocations: 3.938 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/0.3101, allocations: 137.1 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.3101, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006838/0.3108, allocations: 262.6 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.3109, allocations: 85.11 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.311, allocations: 148.1 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.311, allocations: 25.7 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.3111, allocations: 96.12 kB / 1.288 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3111, allocations: 19.86 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.3112, allocations: 29.64 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3113, allocations: 322.8 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3115, allocations: 103.4 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.3117, allocations: 103.4 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.312, allocations: 169.9 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.312, allocations: 0 / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005077/0.3126, allocations: 272.3 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.3126, allocations: 63.39 kB / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3126, allocations: 0 / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3126, allocations: 0 / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3128, allocations: 23.92 kB / 1.289 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3128, allocations: 0.5938 kB / 1.289 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3129, allocations: 23.86 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3129, allocations: 7.984 kB / 1.29 GB, free: 4.777 MB / 0.9825 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 0.0001247/0.3131, allocations: 151.4 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.3131, allocations: 11.91 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.3131, allocations: 16.7 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3131, allocations: 0 / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3131, allocations: 4 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3131, allocations: 3.938 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.3137, allocations: 421 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3137, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.787e-05/0.3138, allocations: 23.92 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3138, allocations: 0 / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3139, allocations: 7.922 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3139, allocations: 0 / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3139, allocations: 8 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.3143, allocations: 290.8 kB / 1.29 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.3144, allocations: 7.953 kB / 1.29 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.3144, allocations: 3.938 kB / 1.29 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3145, allocations: 19.97 kB / 1.29 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.3146, allocations: 23.97 kB / 1.29 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3146, allocations: 0 / 1.29 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.3147, allocations: 109.7 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3147, allocations: 4 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002505/0.315, allocations: 16 kB / 1.291 GB, free: 3.57 MB / 0.9825 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.0008038/0.3158, allocations: 0.8406 MB / 1.291 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.3163, allocations: 303.7 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3163, allocations: 4 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.3165, allocations: 133.1 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3168, allocations: 15.98 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.3194, allocations: 1.975 MB / 1.294 GB, free: 60 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.732e-05/0.3195, allocations: 79.25 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.478e-05/0.3195, allocations: 15.92 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.3196, allocations: 27.36 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3196, allocations: 4 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.3433, allocations: 2.815 MB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.97, allocations: 12.47 kB / 1.297 GB, free: 13.26 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.47696309897583] Failed to read output from testmodel.py, exit status != 0: 12.622191278031096 12.16072921 11.84830897 Calling exit ...