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.001737/0.001737, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002476/0.002476, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.738/2.738, allocations: 476.7 MB / 0.7714 GB, free: 4.254 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.002029/0.002029, allocations: 66.91 kB / 1.118 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 169.9 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002822/0.3022, allocations: 1.562 MB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009376/0.3031, allocations: 0.5161 MB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.3032, allocations: 3.938 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.371e-05/0.3033, allocations: 11.92 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.3033, allocations: 15.86 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3036, allocations: 35.89 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3038, allocations: 91.7 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.3039, allocations: 11.98 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.304, allocations: 47.84 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3041, allocations: 39.84 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3041, allocations: 8 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.334e-05/0.3042, allocations: 8 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.3042, allocations: 23.91 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.3043, allocations: 31.8 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3044, allocations: 79.22 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3045, allocations: 0 / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3045, allocations: 0 / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3045, allocations: 0 / 1.287 GB, free: 9.141 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.0006787/0.3051, allocations: 381.4 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3052, allocations: 8.031 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/0.3052, allocations: 12.11 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.3052, allocations: 34.75 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.3054, allocations: 20.88 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.3056, allocations: 133 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3056, allocations: 4.375 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3056, allocations: 8.375 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3059, allocations: 109.4 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.306, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.306, allocations: 4 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.306, allocations: 0 / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3063, allocations: 71.92 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.3069, allocations: 311.7 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.3072, allocations: 82.45 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3073, allocations: 56.94 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3073, allocations: 0 / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.3076, allocations: 107.3 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3076, allocations: 0 / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000658/0.3083, allocations: 207.3 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.3083, allocations: 85.09 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3085, allocations: 144.1 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3085, allocations: 29.7 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.3086, allocations: 92.14 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.3086, allocations: 27.77 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.3087, allocations: 25.72 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3088, allocations: 318.8 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.309, allocations: 47.95 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3091, allocations: 55.95 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.3095, allocations: 166 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3095, allocations: 3.938 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004551/0.3099, allocations: 208.9 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.31, allocations: 67.41 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.31, allocations: 3.984 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.31, allocations: 3.984 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3102, allocations: 15.98 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3102, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.3103, allocations: 23.88 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3103, allocations: 0 / 1.289 GB, free: 6.07 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.000133/0.3104, allocations: 155.5 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.3105, allocations: 7.953 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.3105, allocations: 12.72 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3105, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3105, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3105, allocations: 3.938 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.3111, allocations: 403.2 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3111, allocations: 3.984 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.3112, allocations: 15.98 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3112, allocations: 0 / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.3112, allocations: 11.94 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3112, allocations: 3.938 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3112, allocations: 0 / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.3117, allocations: 269.1 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.3118, allocations: 7.953 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.3118, allocations: 7.938 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3119, allocations: 15.97 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.312, allocations: 19.97 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.312, allocations: 4 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.332e-05/0.3121, allocations: 105.8 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3121, allocations: 4 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002577/0.3124, allocations: 20 kB / 1.29 GB, free: 4.926 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.0008371/0.3132, allocations: 0.8077 MB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.3137, allocations: 226.7 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3137, allocations: 0 / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.314, allocations: 111.8 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3143, allocations: 11.94 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.3167, allocations: 1.718 MB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.3171, allocations: 0.7 MB / 1.294 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.223e-05/0.3171, allocations: 7.984 kB / 1.294 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.3172, allocations: 27.44 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of SimCode: time 1.183e-06/0.3172, allocations: 0 / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.3396, allocations: 2.745 MB / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.69, allocations: 9.016 kB / 1.297 GB, free: 14.54 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.197605387016665] Failed to read output from testmodel.py, exit status != 0: 12.389078476990107 11.890686399 11.582378681 Calling exit ...