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.001347/0.001347, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001436/0.001436, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.821/2.821, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 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.002211/0.002211, allocations: 64.45 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4222, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003248/0.4254, allocations: 1.572 MB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005446/0.426, allocations: 179.5 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.426, allocations: 0 / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.4261, allocations: 3.938 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.4261, allocations: 3.938 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.4265, allocations: 55.88 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.682e-05/0.4266, allocations: 43.84 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.4267, allocations: 8 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.4267, allocations: 11.98 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.4268, allocations: 19.91 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.4268, allocations: 8 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.427, allocations: 55.95 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.427, allocations: 15.92 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.427, allocations: 15.92 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.4272, allocations: 63.31 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4272, allocations: 3.984 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4272, allocations: 0 / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4272, allocations: 0 / 1.286 GB, free: 9.711 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.0005138/0.4277, allocations: 278.2 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4278, allocations: 16.03 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.893e-05/0.4278, allocations: 4.172 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.4278, allocations: 34.75 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.4278, allocations: 8.891 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.428, allocations: 114.5 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.428, allocations: 384 / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.428, allocations: 8.375 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.4282, allocations: 57.98 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.4282, allocations: 3.938 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4282, allocations: 11.98 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4282, allocations: 0 / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.4284, allocations: 43.89 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.4289, allocations: 259.9 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.4292, allocations: 54.55 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4293, allocations: 24.89 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.4295, allocations: 23.92 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.4295, allocations: 34.56 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4295, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004152/0.4299, allocations: 93.62 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.43, allocations: 55.34 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.4301, allocations: 117.8 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4301, allocations: 25.7 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.4302, allocations: 85.92 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.4302, allocations: 3.953 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.4302, allocations: 17.7 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4304, allocations: 326.8 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.481e-05/0.4304, allocations: 19.92 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.4305, allocations: 20.16 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.4307, allocations: 52.89 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4307, allocations: 0 / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002255/0.431, allocations: 73.66 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.431, allocations: 8 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.431, allocations: 0 / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.431, allocations: 0 / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.4311, allocations: 11.98 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4311, allocations: 0 / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.4311, allocations: 7.984 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.4311, allocations: 3.938 kB / 1.288 GB, free: 7.652 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 9.71e-05/0.4312, allocations: 125.7 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.4313, allocations: 3.953 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.4316, allocations: 81.64 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4316, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4316, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4316, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.4317, allocations: 140.7 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4317, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.4318, allocations: 11.98 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4318, allocations: 4 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.4318, allocations: 4 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4318, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/0.4318, allocations: 11.86 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.4321, allocations: 171.5 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.4321, allocations: 3.953 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.4322, allocations: 11.94 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.4322, allocations: 7.984 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.4323, allocations: 11.98 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.4323, allocations: 0 / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.4324, allocations: 83.28 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4324, allocations: 0 / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002668/0.4326, allocations: 19.98 kB / 1.289 GB, free: 6.895 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.0007573/0.4334, allocations: 0.724 MB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.4337, allocations: 40.14 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4337, allocations: 4 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.4338, allocations: 28.06 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4341, allocations: 8 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.4359, allocations: 1.296 MB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.4362, allocations: 0.6807 MB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.657e-05/0.4363, allocations: 8 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.4363, allocations: 15.44 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.4363, allocations: 0 / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.4601, allocations: 2.081 MB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.69, allocations: 7 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB " [Timeout remaining time 287] (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.737749248044565] Failed to read output from testmodel.py, exit status != 0: 12.511790385004133 11.867496167 11.43693543 Calling exit ...