Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001886/0.001886, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001418/0.001418, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.51/1.51, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.956/2.956, allocations: 0.49 GB / 0.7923 GB, free: 1.387 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_12_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.00204/0.00204, allocations: 65.78 kB / 1.15 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8807/0.8828, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002777/0.8855, allocations: 1.549 MB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.8865, allocations: 0.5228 MB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.8866, allocations: 0 / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.8867, allocations: 11.31 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.812e-05/0.8868, allocations: 18.47 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.8871, allocations: 46.03 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.8872, allocations: 78.22 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8874, allocations: 15.56 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.8876, allocations: 46.97 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.8876, allocations: 40.42 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.8877, allocations: 8.469 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.948e-05/0.8877, allocations: 12.44 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.8878, allocations: 13.47 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.8878, allocations: 30.67 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.888, allocations: 86.69 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.888, allocations: 3.141 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.755e-06/0.888, allocations: 0 / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.888, allocations: 0 / 1.324 GB, free: 23.11 MB / 1.061 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.0006688/0.8887, allocations: 454 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.8887, allocations: 20.45 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.406e-05/0.8887, allocations: 2.688 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.8888, allocations: 33.98 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.8889, allocations: 19.34 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.8891, allocations: 195.6 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.8892, allocations: 7.312 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.8892, allocations: 5.656 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.8895, allocations: 102.8 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8895, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.8895, allocations: 4 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8895, allocations: 2.875 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.8898, allocations: 68.38 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.8903, allocations: 336 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.8906, allocations: 80.19 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.8907, allocations: 48.72 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.8908, allocations: 0 / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.891, allocations: 108.3 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.891, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006288/0.8917, allocations: 212.5 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.8917, allocations: 86.77 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.799e-05/0.8918, allocations: 138.6 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.8918, allocations: 28.2 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.8919, allocations: 97.94 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.8919, allocations: 20.94 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.892, allocations: 24.75 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.892, allocations: 321.1 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.8922, allocations: 43.69 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.8923, allocations: 58.94 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.8926, allocations: 165.5 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8926, allocations: 0 / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003922/0.893, allocations: 218.1 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.893, allocations: 57.28 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.893, allocations: 8 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.893, allocations: 3.984 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.8932, allocations: 18.59 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.8932, allocations: 0 / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.8933, allocations: 29.31 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.8933, allocations: 2.719 kB / 1.327 GB, free: 20.75 MB / 1.061 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 8.338e-05/0.8934, allocations: 149.8 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.8934, allocations: 14.77 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.8934, allocations: 11.5 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8935, allocations: 0 / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8935, allocations: 0 / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8935, allocations: 3.938 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.8939, allocations: 434.4 kB / 1.327 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.894, allocations: 2.75 kB / 1.327 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.894, allocations: 19.38 kB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.894, allocations: 0 / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.8941, allocations: 6.562 kB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8941, allocations: 0 / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8941, allocations: 0 / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.8944, allocations: 264.7 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.8945, allocations: 87.97 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.8945, allocations: 11.22 kB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.8946, allocations: 16.28 kB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.8948, allocations: 19.19 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.8948, allocations: 6.203 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.8948, allocations: 108.1 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8948, allocations: 96 / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002543/0.8951, allocations: 24.94 kB / 1.328 GB, free: 19.8 MB / 1.061 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.0006599/0.8957, allocations: 0.8069 MB / 1.329 GB, free: 19.08 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.8962, allocations: 224.6 kB / 1.329 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8962, allocations: 0 / 1.329 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.8964, allocations: 111.4 kB / 1.329 GB, free: 18.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.8967, allocations: 10.09 kB / 1.329 GB, free: 18.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.8989, allocations: 1.727 MB / 1.331 GB, free: 17.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.899, allocations: 0.6936 MB / 1.331 GB, free: 16.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.641e-05/0.8991, allocations: 9.328 kB / 1.331 GB, free: 16.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.8992, allocations: 26.67 kB / 1.331 GB, free: 16.73 MB / 1.061 GB Notification: Performance of SimCode: time 9.32e-07/0.8992, allocations: 4.5 kB / 1.331 GB, free: 16.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.9214, allocations: 2.639 MB / 1.334 GB, free: 16.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/9.416, allocations: 3.438 kB / 1.334 GB, free: 16.29 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.750633339979686] Failed to read output from testmodel.py, exit status != 0: 9.546111649018712 9.577825128 8.684354919 Calling exit ...