Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001714/0.001714, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002085/0.002085, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.507/1.507, 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 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.81/2.81, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 177] 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.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_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.002101/0.002101, allocations: 66.2 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3328, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002047/0.3348, allocations: 0.5922 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005046/0.3353, allocations: 99.81 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.3353, allocations: 0 / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.3354, allocations: 3.938 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.3354, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.3358, allocations: 43.91 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.336, allocations: 63.92 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.336, allocations: 4 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.3361, allocations: 27.98 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.3362, allocations: 27.89 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3362, allocations: 4 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.3363, allocations: 47.95 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.3364, allocations: 27.97 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.3364, allocations: 15.92 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3366, allocations: 76.75 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.3367, allocations: 3.938 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3367, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3367, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 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.0005813/0.3372, allocations: 298.3 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3373, allocations: 8.031 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.3373, allocations: 192 / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.3373, allocations: 42.73 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3374, allocations: 12.89 kB / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/0.3375, allocations: 110.5 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004513/0.3379, allocations: 0.5338 MB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.338, allocations: 8.312 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3382, allocations: 81.7 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3382, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3383, allocations: 4 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3383, allocations: 3.984 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.3386, allocations: 131.8 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.3388, allocations: 144.7 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.3392, allocations: 98.5 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.3393, allocations: 40.83 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3394, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3394, allocations: 42.44 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.3394, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005858/0.34, allocations: 145.8 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.34, allocations: 55.41 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.3401, allocations: 93.86 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3401, allocations: 25.7 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.3401, allocations: 80.14 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.3402, allocations: 43.62 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.3403, allocations: 29.7 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3404, allocations: 314.8 kB / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3406, allocations: 35.97 kB / 1.287 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.3407, allocations: 31.91 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.341, allocations: 81.41 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.341, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003557/0.3413, allocations: 117.5 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3414, allocations: 4 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3414, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3414, allocations: 4 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.3415, allocations: 23.98 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3415, allocations: 7.984 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.3416, allocations: 19.77 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3416, allocations: 0 / 1.288 GB, free: 6.668 MB / 0.9825 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 0.0001182/0.3417, allocations: 121.8 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.3417, allocations: 3.938 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.3418, allocations: 11.91 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3418, allocations: 4 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3418, allocations: 4 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3418, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.342, allocations: 152.7 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.342, allocations: 0 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.3421, allocations: 23.92 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3421, allocations: 0 / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3421, allocations: 11.98 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3421, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3421, allocations: 3.984 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.3425, allocations: 137 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.3425, allocations: 15.83 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3425, allocations: 11.98 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.3426, allocations: 4 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.3426, allocations: 7.984 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3426, allocations: 11.98 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.3427, allocations: 75.28 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3427, allocations: 0 / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003536/0.343, allocations: 16 kB / 1.288 GB, free: 5.992 MB / 0.9825 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.0007829/0.3438, allocations: 0.702 MB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.3442, allocations: 79.94 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3442, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3443, allocations: 51.84 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.3445, allocations: 4 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.345, allocations: 202.4 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.265e-05/0.3451, allocations: 63.34 kB / 1.289 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.3453, allocations: 39.95 kB / 1.289 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.3453, allocations: 23.42 kB / 1.289 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3453, allocations: 3.938 kB / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.368, allocations: 2.205 MB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.61, allocations: 6.047 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.38102162897121] Failed to read output from testmodel.py, exit status != 0: 12.312644939986058 11.816613049 11.47464151 Calling exit ...