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.001735/0.001735, 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.002898/0.002898, allocations: 219.5 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.764/2.764, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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.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.001991/0.001991, allocations: 62.5 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003088/0.2837, allocations: 1.55 MB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004859/0.2842, allocations: 175.4 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.2843, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.2843, allocations: 3.938 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.2843, allocations: 3.938 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.2846, allocations: 55.88 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.224e-05/0.2847, allocations: 35.91 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.2848, allocations: 8 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.2849, allocations: 27.84 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.2849, allocations: 23.92 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2849, allocations: 4 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.2851, allocations: 55.94 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2851, allocations: 4 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.2851, allocations: 15.92 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.2853, allocations: 71.3 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2853, allocations: 0 / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2853, allocations: 0 / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.2853, allocations: 0 / 1.286 GB, free: 8.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004819/0.2858, allocations: 278.2 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2858, allocations: 12.03 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.459e-05/0.2858, allocations: 4.188 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.2859, allocations: 30.75 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.2859, allocations: 12.88 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.286, allocations: 110.4 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.286, allocations: 8.375 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.2861, allocations: 384 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.2863, allocations: 69.97 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2863, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2863, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2863, allocations: 4 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.2865, allocations: 51.94 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.2869, allocations: 247.8 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.2872, allocations: 46.61 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2873, allocations: 32.77 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.2875, allocations: 19.98 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2875, allocations: 38.56 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2875, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003868/0.2879, allocations: 93.56 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2879, allocations: 55.41 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.288, allocations: 109.8 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.288, allocations: 25.7 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.2881, allocations: 89.84 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.2881, allocations: 7.953 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.2881, allocations: 25.7 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2883, allocations: 314.8 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.2884, allocations: 19.98 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.2885, allocations: 19.97 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.2886, allocations: 49.03 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2886, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002311/0.2889, allocations: 81.64 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2889, allocations: 7.938 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2889, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2889, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.289, allocations: 11.98 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.289, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.289, allocations: 7.984 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.289, allocations: 4 kB / 1.288 GB, free: 6.629 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: 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 8.23e-05/0.2891, allocations: 115.1 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.2892, allocations: 11.95 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.2894, allocations: 81.58 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2894, allocations: 4 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2894, allocations: 0 / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2894, allocations: 0 / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.2896, allocations: 140.6 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2896, allocations: 0 / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-05/0.2897, allocations: 11.98 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2897, allocations: 4 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2897, allocations: 3.938 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2897, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2897, allocations: 3.984 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.29, allocations: 175.4 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.29, allocations: 7.953 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.29, allocations: 4 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.2901, allocations: 7.984 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2901, allocations: 7.984 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2902, allocations: 4 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.2902, allocations: 87.28 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2902, allocations: 0 / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002516/0.2905, allocations: 19.98 kB / 1.289 GB, free: 5.875 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: 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.0006334/0.2911, allocations: 0.7163 MB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.2913, allocations: 51.89 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2913, allocations: 4 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.2914, allocations: 24.25 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.2917, allocations: 6.188 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.2932, allocations: 1.304 MB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.2933, allocations: 67.34 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.2933, allocations: 4 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.2934, allocations: 15.44 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.2934, allocations: 0 / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3158, allocations: 2.121 MB / 1.293 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.9, allocations: 7 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.6193072500173] Failed to read output from testmodel.py, exit status != 0: 12.567276892019436 12.078722253 11.78882761 Calling exit ...