Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, 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.001534/0.001534, 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.861/2.861, allocations: 476.7 MB / 0.7678 GB, free: 9.391 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.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_11_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.002474/0.002474, allocations: 71.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.089, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003406/1.092, allocations: 1.551 MB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005123/1.093, allocations: 189.5 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/1.093, allocations: 1.094 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/1.093, allocations: 4.453 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/1.093, allocations: 9.688 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/1.093, allocations: 46.56 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.961e-05/1.093, allocations: 42.59 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/1.093, allocations: 11.2 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/1.094, allocations: 12.69 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/1.094, allocations: 17.23 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/1.094, allocations: 3.188 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/1.094, allocations: 54.72 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/1.094, allocations: 10.12 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/1.094, allocations: 14.19 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/1.094, allocations: 67.02 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.094, allocations: 1.219 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/1.094, allocations: 3.938 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.094, allocations: 0 / 1.281 GB, free: 10.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005961/1.095, allocations: 353.2 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.095, allocations: 13.66 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.015e-05/1.095, allocations: 5.312 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/1.095, allocations: 32.98 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/1.095, allocations: 11.02 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.095, allocations: 168 kB / 1.281 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/1.095, allocations: 6.516 kB / 1.281 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/1.095, allocations: 6.906 kB / 1.281 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/1.095, allocations: 69.92 kB / 1.282 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.095, allocations: 0 / 1.282 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.095, allocations: 5.094 kB / 1.282 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.095, allocations: 1.125 kB / 1.282 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/1.095, allocations: 43.73 kB / 1.282 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/1.096, allocations: 280.8 kB / 1.282 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/1.096, allocations: 55.97 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/1.096, allocations: 26.02 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/1.097, allocations: 169.8 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.097, allocations: 32.48 kB / 1.282 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/1.097, allocations: 0 / 1.282 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004901/1.097, allocations: 96.39 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.097, allocations: 53.25 kB / 1.282 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/1.098, allocations: 110.7 kB / 1.282 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/1.098, allocations: 26.98 kB / 1.282 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/1.098, allocations: 94.27 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/1.098, allocations: 9.578 kB / 1.283 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/1.098, allocations: 14.72 kB / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.098, allocations: 321.8 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/1.098, allocations: 24.33 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/1.098, allocations: 16.58 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/1.098, allocations: 49.84 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.098, allocations: 0.5312 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002967/1.099, allocations: 77.56 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/1.099, allocations: 5.969 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.099, allocations: 0.5 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.099, allocations: 4.531 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/1.099, allocations: 11.31 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.099, allocations: 0.5625 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/1.099, allocations: 6.875 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/1.099, allocations: 1 kB / 1.283 GB, free: 8.418 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: 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.000114/1.099, allocations: 121.7 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/1.099, allocations: 5.547 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/1.099, allocations: 84.22 kB / 1.283 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.099, allocations: 1.406 kB / 1.283 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.099, allocations: 4.484 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.099, allocations: 0.5625 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/1.1, allocations: 173.7 kB / 1.283 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.1, allocations: 4.688 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.784e-05/1.1, allocations: 14.75 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.1, allocations: 1.016 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/1.1, allocations: 1.75 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.1, allocations: 0.5 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.1, allocations: 0 / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/1.1, allocations: 178.1 kB / 1.284 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/1.1, allocations: 83.33 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/1.1, allocations: 5.203 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-05/1.1, allocations: 5.656 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/1.1, allocations: 5.625 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/1.1, allocations: 5.25 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.622e-05/1.1, allocations: 85.52 kB / 1.284 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.1, allocations: 3.938 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002974/1.101, allocations: 20.88 kB / 1.284 GB, free: 7.68 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: 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.0007176/1.101, allocations: 0.7212 MB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002769/1.102, allocations: 49.73 kB / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.102, allocations: 0 / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/1.102, allocations: 29.41 kB / 1.285 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/1.102, allocations: 2.078 kB / 1.285 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.104, allocations: 1.296 MB / 1.286 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/1.104, allocations: 0.682 MB / 1.287 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.917e-05/1.104, allocations: 8.781 kB / 1.287 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/1.104, allocations: 15.8 kB / 1.287 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.104, allocations: 96 / 1.287 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/1.123, allocations: 1.987 MB / 1.288 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/9.598, allocations: 3.188 kB / 1.288 GB, free: 4.621 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.964068786997814] Failed to read output from testmodel.py, exit status != 0: 9.726528505969327 9.74367897 8.646351801 Calling exit ...