Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001333/0.001333, 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.001352/0.001352, 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.59/1.59, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.218/3.218, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 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.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.002421/0.002421, allocations: 63.91 kB / 1.165 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192/1.194, allocations: 178.9 MB / 1.34 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002138/1.196, allocations: 0.5945 MB / 1.341 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0004369/1.197, allocations: 109.9 kB / 1.341 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/1.197, allocations: 1.438 kB / 1.341 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/1.197, allocations: 0 / 1.341 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/1.197, allocations: 0 / 1.341 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/1.197, allocations: 33.53 kB / 1.341 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/1.197, allocations: 71.95 kB / 1.341 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/1.198, allocations: 5.234 kB / 1.341 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.975e-05/1.198, allocations: 21.92 kB / 1.341 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/1.198, allocations: 24.92 kB / 1.341 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/1.198, allocations: 2.812 kB / 1.341 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/1.198, allocations: 47.72 kB / 1.341 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/1.198, allocations: 23.28 kB / 1.341 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/1.198, allocations: 25.34 kB / 1.341 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/1.198, allocations: 72.91 kB / 1.341 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.198, allocations: 0 / 1.341 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/1.198, allocations: 1.344 kB / 1.341 GB, free: 13.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.198, allocations: 4 kB / 1.341 GB, free: 13.07 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005693/1.199, allocations: 374.8 kB / 1.342 GB, free: 12.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.199, allocations: 9.25 kB / 1.342 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.177e-05/1.199, allocations: 1.75 kB / 1.342 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/1.199, allocations: 42.42 kB / 1.342 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/1.199, allocations: 5.719 kB / 1.342 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/1.199, allocations: 161.9 kB / 1.342 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/1.199, allocations: 278.5 kB / 1.342 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/1.199, allocations: 15.97 kB / 1.342 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/1.199, allocations: 85.75 kB / 1.342 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.199, allocations: 0 / 1.342 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/1.199, allocations: 5.312 kB / 1.342 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.199, allocations: 1.25 kB / 1.342 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/1.2, allocations: 127.8 kB / 1.342 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/1.2, allocations: 183.2 kB / 1.342 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/1.2, allocations: 90.58 kB / 1.342 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/1.201, allocations: 45.83 kB / 1.343 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/1.201, allocations: 8.844 kB / 1.343 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/1.201, allocations: 47.38 kB / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/1.201, allocations: 0 / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005845/1.201, allocations: 144.6 kB / 1.343 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/1.201, allocations: 52.53 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.113e-05/1.201, allocations: 90.92 kB / 1.343 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.201, allocations: 33.7 kB / 1.343 GB, free: 11.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/1.201, allocations: 81.52 kB / 1.343 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/1.201, allocations: 36.22 kB / 1.343 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/1.201, allocations: 25.33 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.202, allocations: 320.7 kB / 1.343 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/1.202, allocations: 26.7 kB / 1.343 GB, free: 10.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/1.202, allocations: 43.17 kB / 1.343 GB, free: 10.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/1.202, allocations: 77.78 kB / 1.343 GB, free: 10.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.202, allocations: 1.438 kB / 1.343 GB, free: 10.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003491/1.203, allocations: 115.2 kB / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.203, allocations: 5.094 kB / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.203, allocations: 1.188 kB / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.203, allocations: 0 / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.203, allocations: 25.72 kB / 1.344 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/1.203, allocations: 5.406 kB / 1.344 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/1.203, allocations: 11 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.203, allocations: 7.422 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.072e-05/1.203, allocations: 118.3 kB / 1.344 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/1.203, allocations: 9.266 kB / 1.344 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/1.203, allocations: 13.16 kB / 1.344 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.203, allocations: 5.281 kB / 1.344 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.203, allocations: 0 / 1.344 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.203, allocations: 5.672 kB / 1.344 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/1.203, allocations: 178.3 kB / 1.344 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.203, allocations: 1.031 kB / 1.344 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.203, allocations: 25.64 kB / 1.344 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.203, allocations: 4 kB / 1.344 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/1.203, allocations: 5.859 kB / 1.344 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.203, allocations: 1.094 kB / 1.344 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.203, allocations: 3.938 kB / 1.344 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/1.204, allocations: 142.5 kB / 1.344 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/1.204, allocations: 86.12 kB / 1.344 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.204, allocations: 1.312 kB / 1.344 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/1.204, allocations: 10.84 kB / 1.344 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/1.204, allocations: 12.83 kB / 1.344 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/1.204, allocations: 7.359 kB / 1.344 GB, free: 10.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.739e-05/1.204, allocations: 75.28 kB / 1.344 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/1.204, allocations: 1.188 kB / 1.344 GB, free: 10.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002358/1.204, allocations: 24.25 kB / 1.344 GB, free: 10.04 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000863/1.205, allocations: 0.7009 MB / 1.345 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003795/1.205, allocations: 83.98 kB / 1.345 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.205, allocations: 3.938 kB / 1.345 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/1.206, allocations: 40 kB / 1.345 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/1.206, allocations: 7.5 kB / 1.345 GB, free: 9.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/1.206, allocations: 216.2 kB / 1.345 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/1.207, allocations: 0.6862 MB / 1.346 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001625/1.207, allocations: 39.64 kB / 1.346 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/1.207, allocations: 21.64 kB / 1.346 GB, free: 8.402 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/1.207, allocations: 3.938 kB / 1.346 GB, free: 8.398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/1.227, allocations: 2.067 MB / 1.348 GB, free: 7.297 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/9.503, allocations: 9.25 kB / 1.348 GB, free: 7.293 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.40662439900916] Failed to read output from testmodel.py, exit status != 0: 9.63360611902317 9.660353883 8.457182132 Calling exit ...