Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001878/0.001878, allocations: 97.88 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.002618/0.002618, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.451/1.451, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.244/3.244, allocations: 0.5003 GB / 0.8062 GB, free: 28.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_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.001945/0.001945, allocations: 59.98 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002863/0.3143, allocations: 1.541 MB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.3153, allocations: 490.7 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.3154, allocations: 4 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.325e-05/0.3155, allocations: 15.86 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.3155, allocations: 7.875 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.3158, allocations: 47.88 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.316, allocations: 87.77 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.3161, allocations: 8.281 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3162, allocations: 51.83 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.3163, allocations: 31.84 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3164, allocations: 8 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.3164, allocations: 15.94 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.3165, allocations: 19.92 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.3165, allocations: 27.86 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3167, allocations: 79.64 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3167, allocations: 0 / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3167, allocations: 0 / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3167, allocations: 0 / 1.348 GB, free: 13.49 MB / 1.045 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.000691/0.3174, allocations: 377.4 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3174, allocations: 8.031 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.762e-05/0.3174, allocations: 8.188 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.3175, allocations: 30.75 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.3176, allocations: 28.83 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.3179, allocations: 133.1 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3179, allocations: 8.312 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3179, allocations: 4.375 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.3182, allocations: 127.3 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3183, allocations: 3.984 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3183, allocations: 3.938 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3183, allocations: 4 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.3186, allocations: 97.64 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.3192, allocations: 295.7 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.3195, allocations: 104.2 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.3196, allocations: 86.64 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3197, allocations: 3.938 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.32, allocations: 137.1 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.32, allocations: 0 / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006678/0.3206, allocations: 266.6 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3207, allocations: 81.11 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3208, allocations: 136.1 kB / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3208, allocations: 29.7 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.3209, allocations: 104 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3209, allocations: 15.91 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.321, allocations: 29.64 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3211, allocations: 322.8 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.3213, allocations: 99.38 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.3215, allocations: 107.4 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.3219, allocations: 169.9 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3219, allocations: 0 / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005031/0.3224, allocations: 268.3 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.3224, allocations: 63.39 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3224, allocations: 0 / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3224, allocations: 4 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.3226, allocations: 19.98 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3226, allocations: 288 / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3227, allocations: 31.81 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3227, allocations: 0 / 1.351 GB, free: 10.01 MB / 1.045 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.0001278/0.3229, allocations: 159.3 kB / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.3229, allocations: 7.953 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.3229, allocations: 16.72 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3229, allocations: 4 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3229, allocations: 0 / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3229, allocations: 7.922 kB / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.3235, allocations: 417 kB / 1.351 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3235, allocations: 3.938 kB / 1.351 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/0.3236, allocations: 19.92 kB / 1.351 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3236, allocations: 3.984 kB / 1.351 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3237, allocations: 3.938 kB / 1.351 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3237, allocations: 4 kB / 1.351 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3237, allocations: 3.984 kB / 1.351 GB, free: 9.293 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.3241, allocations: 294.8 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.3242, allocations: 7.953 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.3242, allocations: 3.938 kB / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3243, allocations: 19.98 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.3244, allocations: 19.97 kB / 1.352 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3244, allocations: 7.984 kB / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.671e-05/0.3245, allocations: 105.1 kB / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3245, allocations: 0 / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002434/0.3248, allocations: 16 kB / 1.352 GB, free: 8.801 MB / 1.045 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.0007968/0.3256, allocations: 0.8294 MB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005381/0.3261, allocations: 315.7 kB / 1.353 GB, free: 7.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3261, allocations: 4 kB / 1.353 GB, free: 7.578 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.3263, allocations: 137.1 kB / 1.353 GB, free: 7.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3266, allocations: 9.375 kB / 1.353 GB, free: 7.418 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.3292, allocations: 1.984 MB / 1.355 GB, free: 5.281 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.107e-05/0.3293, allocations: 75.33 kB / 1.355 GB, free: 5.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.564e-05/0.3293, allocations: 15.92 kB / 1.355 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.3294, allocations: 35.36 kB / 1.355 GB, free: 5.137 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/0.3294, allocations: 0 / 1.355 GB, free: 5.137 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.3535, allocations: 2.813 MB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.95, allocations: 11.95 kB / 1.358 GB, free: 2.484 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.678378717042506] Failed to read output from testmodel.py, exit status != 0: 12.109438651008531 12.131242622 11.810497783 Calling exit ...