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.001517/0.001517, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001771/0.001771, allocations: 215 kB / 20.13 MB, free: 2.949 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.873/2.873, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] 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.00228/0.00228, allocations: 67.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9247/0.927, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003271/0.9302, allocations: 1.557 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.9312, allocations: 0.5168 MB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.9313, allocations: 4.688 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.9314, allocations: 10.25 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.487e-05/0.9315, allocations: 14.88 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.9317, allocations: 42.94 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.9319, allocations: 82.72 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.932, allocations: 13.05 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.9322, allocations: 53.36 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.9323, allocations: 39.8 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.9323, allocations: 6.125 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.562e-05/0.9323, allocations: 8.938 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.9324, allocations: 10.86 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.9325, allocations: 40.2 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.9326, allocations: 85.41 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9326, allocations: 0 / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9326, allocations: 0 / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.9327, allocations: 0.7188 kB / 1.281 GB, free: 10.1 MB / 0.9981 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.0008129/0.9335, allocations: 455.2 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.9335, allocations: 10 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.433e-05/0.9335, allocations: 1.281 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.9336, allocations: 42.36 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.9337, allocations: 17.3 kB / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.934, allocations: 193 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.934, allocations: 2.906 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.9341, allocations: 8.469 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.9344, allocations: 99.44 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.9344, allocations: 0 / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.9344, allocations: 6.281 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.9344, allocations: 4.5 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.9348, allocations: 74.89 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.9355, allocations: 330.9 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.9359, allocations: 83.88 kB / 1.283 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.9361, allocations: 49.19 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.9361, allocations: 0 / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.9364, allocations: 106.5 kB / 1.283 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.9364, allocations: 4 kB / 1.283 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0007322/0.9371, allocations: 212.9 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.9372, allocations: 79.98 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.9374, allocations: 140.4 kB / 1.283 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.9374, allocations: 26.98 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.9375, allocations: 99.31 kB / 1.283 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.9375, allocations: 25.09 kB / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.9376, allocations: 24.92 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9377, allocations: 324.4 kB / 1.284 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.9379, allocations: 53.78 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.9381, allocations: 45.58 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.9384, allocations: 170.4 kB / 1.284 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9384, allocations: 0 / 1.284 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004735/0.9389, allocations: 214.4 kB / 1.284 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.251e-05/0.939, allocations: 62.19 kB / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.939, allocations: 0.9062 kB / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.939, allocations: 1.094 kB / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.9391, allocations: 19.78 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.9391, allocations: 1.438 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.9393, allocations: 26.92 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.9393, allocations: 3.547 kB / 1.284 GB, free: 7.742 MB / 0.9981 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.0001419/0.9394, allocations: 149.7 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.9395, allocations: 9.094 kB / 1.284 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.9395, allocations: 11.62 kB / 1.284 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.9395, allocations: 5.188 kB / 1.284 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9395, allocations: 0 / 1.284 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.9395, allocations: 6.281 kB / 1.284 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.9403, allocations: 433 kB / 1.285 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9403, allocations: 0 / 1.285 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.9403, allocations: 13.64 kB / 1.285 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.9404, allocations: 2.109 kB / 1.285 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.9404, allocations: 9.891 kB / 1.285 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9404, allocations: 5.188 kB / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9404, allocations: 0 / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.9409, allocations: 264.9 kB / 1.285 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.941, allocations: 88.64 kB / 1.285 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.941, allocations: 5.812 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.9411, allocations: 22.08 kB / 1.285 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.9412, allocations: 23.91 kB / 1.285 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.9413, allocations: 7.422 kB / 1.285 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.715e-05/0.9414, allocations: 101.7 kB / 1.285 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9414, allocations: 1.281 kB / 1.285 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002473/0.9416, allocations: 19.47 kB / 1.285 GB, free: 6.789 MB / 0.9981 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.0008522/0.9425, allocations: 0.8039 MB / 1.286 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000503/0.943, allocations: 219.7 kB / 1.286 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.943, allocations: 4.875 kB / 1.286 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.9432, allocations: 116.1 kB / 1.286 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.9435, allocations: 13.72 kB / 1.286 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.946, allocations: 1.724 MB / 1.288 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.9463, allocations: 0.6953 MB / 1.289 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.9464, allocations: 11.77 kB / 1.289 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.9465, allocations: 24.84 kB / 1.289 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.9465, allocations: 1.156 kB / 1.289 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.9662, allocations: 2.633 MB / 1.291 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.753/9.719, allocations: 6.625 kB / 1.291 GB, free: 3.285 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.25694856897462] Failed to read output from testmodel.py, exit status != 0: 9.849570947000757 9.874422039 8.937132797 Calling exit ...