Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.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.001256/0.001256, 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.001581/0.001581, allocations: 215.1 kB / 23.03 MB, free: 4.922 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.514/1.514, 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.324/3.324, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",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.002023/0.002023, allocations: 61.06 kB / 1.17 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4246, allocations: 179 MB / 1.345 GB, free: 112 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003311/0.4279, allocations: 1.557 MB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005039/0.4284, allocations: 171.5 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.4285, allocations: 0 / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.4285, allocations: 11.92 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.252e-05/0.4285, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.4289, allocations: 67.69 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.429, allocations: 27.92 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.4291, allocations: 8 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.4291, allocations: 27.92 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.4292, allocations: 19.91 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.4292, allocations: 4 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.4293, allocations: 51.95 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.4294, allocations: 7.984 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.4294, allocations: 15.92 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.4295, allocations: 64.06 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4296, allocations: 3.938 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4296, allocations: 0 / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.4296, allocations: 0 / 1.347 GB, free: 14.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005142/0.4301, allocations: 290.2 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4301, allocations: 12.03 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.418e-05/0.4301, allocations: 192 / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.4302, allocations: 38.73 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.4302, allocations: 4.938 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.4303, allocations: 106.5 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.4304, allocations: 8.312 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.4304, allocations: 4.375 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.4306, allocations: 65.97 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.4306, allocations: 0 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4306, allocations: 4 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4306, allocations: 4 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.4308, allocations: 43.95 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.4313, allocations: 247.8 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.4316, allocations: 54.53 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.4318, allocations: 24.91 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.432, allocations: 19.98 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.432, allocations: 30.56 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.432, allocations: 0 / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004693/0.4325, allocations: 101.5 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.4325, allocations: 55.41 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4327, allocations: 105.9 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.4327, allocations: 25.7 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.4328, allocations: 96.06 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.4328, allocations: 7.953 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.4328, allocations: 21.7 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.433, allocations: 314.8 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.4331, allocations: 23.97 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.4332, allocations: 19.98 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.4334, allocations: 49.02 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4334, allocations: 0 / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000256/0.4336, allocations: 85.55 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4336, allocations: 8 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4337, allocations: 0 / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.4337, allocations: 0 / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.4338, allocations: 11.98 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4338, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.4338, allocations: 7.984 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.4338, allocations: 0 / 1.349 GB, free: 12.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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001345/0.434, allocations: 121.8 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.434, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.4343, allocations: 85.58 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4343, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4343, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4344, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.4346, allocations: 144.6 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4346, allocations: 4 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.4346, allocations: 8 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.4346, allocations: 7.984 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4346, allocations: 4 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4346, allocations: 0 / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4346, allocations: 0 / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.435, allocations: 171.4 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.435, allocations: 8 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.435, allocations: 3.984 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.4351, allocations: 7.938 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.4351, allocations: 7.984 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.4351, allocations: 4 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.821e-05/0.4352, allocations: 91.2 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4352, allocations: 0 / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002688/0.4355, allocations: 20 kB / 1.35 GB, free: 11.25 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007797/0.4363, allocations: 0.7162 MB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.4365, allocations: 51.89 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4365, allocations: 0 / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.4366, allocations: 27.97 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.437, allocations: 384 / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.4387, allocations: 1.296 MB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.768e-05/0.4388, allocations: 67.34 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.4389, allocations: 0 / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.4389, allocations: 19.42 kB / 1.352 GB, free: 8.953 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.4389, allocations: 3.938 kB / 1.352 GB, free: 8.949 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.4719, allocations: 2.123 MB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.84, allocations: 11.25 kB / 1.354 GB, free: 6.965 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.988974478910677] Failed to read output from testmodel.py, exit status != 0: 11.998509567929432 12.014016027 11.58132781 Calling exit ...