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.000783/0.000783, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008048/0.0008048, allocations: 213.7 kB / 22.25 MB, free: 3.566 MB / 13.93 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.9456/0.9456, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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 2.354/2.354, allocations: 0.5556 GB / 0.8607 GB, free: 30.84 MB / 0.6667 GB " [Timeout remaining time 177] 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 0.0008621/0.0008621, allocations: 72.47 kB / 1.253 GB, free: 22.61 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3126, allocations: 193.3 MB / 1.442 GB, free: 10.86 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.001913/0.3145, allocations: 1.537 MB / 1.443 GB, free: 9.312 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0005913/0.3151, allocations: 0.4953 MB / 1.444 GB, free: 8.812 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.3152, allocations: 0 / 1.444 GB, free: 8.812 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 9.418e-05/0.3153, allocations: 7.875 kB / 1.444 GB, free: 8.805 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.3153, allocations: 15.86 kB / 1.444 GB, free: 8.789 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3156, allocations: 43.88 kB / 1.444 GB, free: 8.746 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.3157, allocations: 87.77 kB / 1.444 GB, free: 8.66 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.3158, allocations: 12 kB / 1.444 GB, free: 8.648 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3159, allocations: 43.84 kB / 1.444 GB, free: 8.605 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.316, allocations: 47.7 kB / 1.444 GB, free: 8.559 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.316, allocations: 8 kB / 1.444 GB, free: 8.551 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 3.539e-05/0.316, allocations: 8 kB / 1.444 GB, free: 8.543 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.3161, allocations: 15.98 kB / 1.444 GB, free: 8.527 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.3161, allocations: 31.8 kB / 1.444 GB, free: 8.496 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3163, allocations: 79.92 kB / 1.444 GB, free: 8.418 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3163, allocations: 0 / 1.444 GB, free: 8.418 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3163, allocations: 0 / 1.444 GB, free: 8.418 MB / 1.12 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3163, allocations: 0 / 1.444 GB, free: 8.418 MB / 1.12 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.0005114/0.3168, allocations: 385.4 kB / 1.444 GB, free: 8 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3168, allocations: 8.031 kB / 1.444 GB, free: 7.992 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.3168, allocations: 34.75 kB / 1.445 GB, free: 7.949 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.993e-05/0.3169, allocations: 16.88 kB / 1.445 GB, free: 7.934 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3171, allocations: 134.4 kB / 1.445 GB, free: 7.777 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3171, allocations: 8.312 kB / 1.445 GB, free: 7.77 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3171, allocations: 8.359 kB / 1.445 GB, free: 7.762 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3173, allocations: 131.5 kB / 1.445 GB, free: 7.621 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3173, allocations: 0 / 1.445 GB, free: 7.621 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3174, allocations: 0 / 1.445 GB, free: 7.621 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3174, allocations: 0 / 1.445 GB, free: 7.621 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.3175, allocations: 97.64 kB / 1.445 GB, free: 7.52 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.3179, allocations: 295.7 kB / 1.445 GB, free: 7.188 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.318, allocations: 112.2 kB / 1.445 GB, free: 7.062 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.3181, allocations: 78.64 kB / 1.445 GB, free: 6.977 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3181, allocations: 0 / 1.445 GB, free: 6.977 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.3183, allocations: 137.1 kB / 1.445 GB, free: 6.824 MB / 1.12 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.3183, allocations: 0 / 1.445 GB, free: 6.824 MB / 1.12 GB Notification: Performance of matching and sorting (n=7): time 0.000359/0.3187, allocations: 266.6 kB / 1.446 GB, free: 6.539 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.3187, allocations: 85.11 kB / 1.446 GB, free: 6.438 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.3188, allocations: 135.9 kB / 1.446 GB, free: 6.297 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3188, allocations: 25.7 kB / 1.446 GB, free: 6.266 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3189, allocations: 100.1 kB / 1.446 GB, free: 6.164 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.3189, allocations: 15.91 kB / 1.446 GB, free: 6.148 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.319, allocations: 29.64 kB / 1.446 GB, free: 6.113 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.319, allocations: 326.8 kB / 1.446 GB, free: 5.785 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.3191, allocations: 111.3 kB / 1.447 GB, free: 5.664 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.3192, allocations: 99.38 kB / 1.447 GB, free: 5.555 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3194, allocations: 169.9 kB / 1.447 GB, free: 5.367 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3194, allocations: 0 / 1.447 GB, free: 5.367 MB / 1.12 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002375/0.3196, allocations: 276.3 kB / 1.447 GB, free: 5.066 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.3196, allocations: 63.39 kB / 1.447 GB, free: 4.992 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3196, allocations: 0 / 1.447 GB, free: 4.992 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3197, allocations: 0 / 1.447 GB, free: 4.992 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.3197, allocations: 15.98 kB / 1.447 GB, free: 4.977 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3197, allocations: 0 / 1.447 GB, free: 4.977 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.3198, allocations: 27.86 kB / 1.447 GB, free: 4.949 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3198, allocations: 3.984 kB / 1.447 GB, free: 4.945 MB / 1.12 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 7.022e-05/0.3199, allocations: 151.5 kB / 1.447 GB, free: 4.781 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.3199, allocations: 7.953 kB / 1.447 GB, free: 4.773 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.3199, allocations: 12.72 kB / 1.447 GB, free: 4.758 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3199, allocations: 3.984 kB / 1.447 GB, free: 4.754 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3199, allocations: 0 / 1.447 GB, free: 4.754 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3199, allocations: 3.938 kB / 1.447 GB, free: 4.75 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.3202, allocations: 421 kB / 1.448 GB, free: 4.277 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3202, allocations: 8 kB / 1.448 GB, free: 4.27 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3203, allocations: 19.92 kB / 1.448 GB, free: 4.25 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3203, allocations: 4.266 kB / 1.448 GB, free: 4.246 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3203, allocations: 3.984 kB / 1.448 GB, free: 4.242 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3203, allocations: 11.88 kB / 1.448 GB, free: 4.23 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3203, allocations: 3.938 kB / 1.448 GB, free: 4.227 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.3205, allocations: 290.8 kB / 1.448 GB, free: 3.914 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.3205, allocations: 7.953 kB / 1.448 GB, free: 3.906 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3205, allocations: 0 / 1.448 GB, free: 3.906 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.3206, allocations: 23.92 kB / 1.448 GB, free: 3.883 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.3207, allocations: 23.97 kB / 1.448 GB, free: 3.859 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3207, allocations: 3.984 kB / 1.448 GB, free: 3.855 MB / 1.12 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.3207, allocations: 105 kB / 1.448 GB, free: 3.754 MB / 1.12 GB Notification: Performance of sort global known variables: time 7e-08/0.3207, allocations: 0 / 1.448 GB, free: 3.754 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.000154/0.3209, allocations: 19.95 kB / 1.448 GB, free: 3.734 MB / 1.12 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.0004261/0.3213, allocations: 0.845 MB / 1.449 GB, free: 2.852 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.3216, allocations: 299.8 kB / 1.449 GB, free: 2.516 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3216, allocations: 0 / 1.449 GB, free: 2.516 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3218, allocations: 133.1 kB / 1.449 GB, free: 2.367 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.322, allocations: 19.92 kB / 1.45 GB, free: 2.348 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.3235, allocations: 1.974 MB / 1.451 GB, free: 228 kB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.77e-05/0.3235, allocations: 79.58 kB / 1.452 GB, free: 128 kB / 1.12 GB Notification: Performance of simCode: alias equations: time 4.259e-05/0.3236, allocations: 19.77 kB / 1.452 GB, free: 108 kB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.3236, allocations: 23.42 kB / 1.452 GB, free: 84 kB / 1.12 GB Notification: Performance of SimCode: time 5.41e-07/0.3236, allocations: 4 kB / 1.452 GB, free: 80 kB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.3382, allocations: 3.19 MB / 1.455 GB, free: 13.06 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.29, allocations: 4.5 kB / 1.455 GB, free: 13.05 MB / 1.135 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter_res.csv --start-time 0 --stop-time 600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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: 12.337769558653235]