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.001667/0.001667, allocations: 116.8 kB / 17.17 MB, free: 6 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.002078/0.002078, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.927/2.927, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 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.001991/0.001991, allocations: 75.86 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.8975, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.0025/0.9, allocations: 1.545 MB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.9008, allocations: 0.5163 MB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.9009, allocations: 1.188 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.309e-05/0.901, allocations: 13.09 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.901, allocations: 15.53 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.9012, allocations: 43.09 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.9014, allocations: 85.25 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.9015, allocations: 17.09 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.9017, allocations: 43.23 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.9017, allocations: 39.03 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.9018, allocations: 5.719 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.9018, allocations: 21.52 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.9018, allocations: 10.78 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.9019, allocations: 36.06 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.902, allocations: 81.5 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.902, allocations: 3.938 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.902, allocations: 0 / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.902, allocations: 0 / 1.343 GB, free: 14.62 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.0005742/0.9026, allocations: 454.9 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.9026, allocations: 13.66 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.59e-05/0.9027, allocations: 2.875 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.172e-05/0.9027, allocations: 33.45 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.9028, allocations: 19.08 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.903, allocations: 191.2 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.903, allocations: 15.48 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.903, allocations: 6.062 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.9033, allocations: 98.78 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9033, allocations: 0 / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.9033, allocations: 4 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.9033, allocations: 1.531 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.9036, allocations: 71.59 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.9041, allocations: 339.8 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.9044, allocations: 78.73 kB / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.9045, allocations: 47.81 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.9045, allocations: 1.969 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.9048, allocations: 110 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.9048, allocations: 0 / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006204/0.9054, allocations: 207.6 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.9055, allocations: 89.3 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.9056, allocations: 142.4 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.9056, allocations: 27.08 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.9056, allocations: 106.1 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.9056, allocations: 20.75 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.9057, allocations: 29.44 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.9057, allocations: 319.6 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.9059, allocations: 46.05 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.9061, allocations: 58.83 kB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.9064, allocations: 162 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.9064, allocations: 0 / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000433/0.9068, allocations: 213.8 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.9069, allocations: 60.22 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.9069, allocations: 4.797 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.9069, allocations: 1.281 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.907, allocations: 15.62 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.907, allocations: 0 / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.9072, allocations: 24.39 kB / 1.345 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.9072, allocations: 6.828 kB / 1.345 GB, free: 12.26 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.386e-05/0.9073, allocations: 149.1 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.9073, allocations: 13.03 kB / 1.346 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.9073, allocations: 12.19 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9073, allocations: 1.125 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9073, allocations: 0.6562 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9073, allocations: 9.797 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.9078, allocations: 428.5 kB / 1.346 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.9078, allocations: 0 / 1.346 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.9079, allocations: 26.75 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.9079, allocations: 0.5156 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.908, allocations: 6.688 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.908, allocations: 0.7969 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.908, allocations: 1.906 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.9084, allocations: 258.6 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.9084, allocations: 89.23 kB / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.9084, allocations: 11.08 kB / 1.346 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.9086, allocations: 13.53 kB / 1.346 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.9087, allocations: 24.77 kB / 1.346 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.9087, allocations: 3.141 kB / 1.346 GB, free: 11.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.9087, allocations: 102.5 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9087, allocations: 5.875 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002436/0.909, allocations: 18.72 kB / 1.347 GB, free: 11.31 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.0005837/0.9096, allocations: 0.8082 MB / 1.347 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.91, allocations: 224 kB / 1.348 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.91, allocations: 0 / 1.348 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.9102, allocations: 107.8 kB / 1.348 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.9105, allocations: 17.02 kB / 1.348 GB, free: 10.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.9124, allocations: 1.731 MB / 1.349 GB, free: 8.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.9126, allocations: 0.6916 MB / 1.35 GB, free: 8.254 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.744e-05/0.9126, allocations: 10.92 kB / 1.35 GB, free: 8.254 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.9127, allocations: 25.67 kB / 1.35 GB, free: 8.234 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.9127, allocations: 5.219 kB / 1.35 GB, free: 8.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.9316, allocations: 2.635 MB / 1.353 GB, free: 7.797 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/9.285, allocations: 8.906 kB / 1.353 GB, free: 7.793 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.602127677993849] Failed to read output from testmodel.py, exit status != 0: 9.413953901967034 9.43614908 8.530361595 Calling exit ...