Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001253/0.001253, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001366/0.001366, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.148/3.148, allocations: 0.5003 GB / 0.8026 GB, free: 6.863 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.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_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.002066/0.002066, allocations: 67.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199/1.201, allocations: 178.9 MB / 1.34 GB, free: 16.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002969/1.204, allocations: 1.56 MB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004867/1.204, allocations: 189 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/1.204, allocations: 0 / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/1.204, allocations: 5.156 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/1.204, allocations: 1.312 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/1.205, allocations: 46.62 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.625e-05/1.205, allocations: 43.72 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/1.205, allocations: 14.66 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/1.205, allocations: 12.02 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/1.205, allocations: 17.12 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/1.205, allocations: 4.094 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/1.205, allocations: 53.95 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/1.205, allocations: 12.55 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/1.205, allocations: 11.78 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/1.205, allocations: 67.27 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.205, allocations: 1.312 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/1.205, allocations: 0 / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.205, allocations: 7.938 kB / 1.342 GB, free: 14.79 MB / 1.061 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.0004965/1.206, allocations: 354.3 kB / 1.342 GB, free: 14.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.206, allocations: 8.875 kB / 1.342 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.349e-05/1.206, allocations: 1.375 kB / 1.342 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/1.206, allocations: 36.62 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/1.206, allocations: 7.766 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/1.206, allocations: 175.6 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/1.206, allocations: 2.5 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/1.206, allocations: 5.562 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/1.206, allocations: 68.61 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/1.206, allocations: 0.6094 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.206, allocations: 9.312 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.206, allocations: 0 / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/1.207, allocations: 40.41 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/1.207, allocations: 285.6 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/1.207, allocations: 56.39 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/1.208, allocations: 23.95 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/1.208, allocations: 166.1 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/1.208, allocations: 40.31 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/1.208, allocations: 0 / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004108/1.208, allocations: 98.83 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/1.208, allocations: 51.41 kB / 1.343 GB, free: 13.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/1.208, allocations: 111.2 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/1.208, allocations: 26.41 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/1.208, allocations: 86.12 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/1.208, allocations: 17.77 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/1.208, allocations: 16.03 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/1.208, allocations: 321.5 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/1.209, allocations: 16.59 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/1.209, allocations: 20.28 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/1.209, allocations: 50.05 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.209, allocations: 0 / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002183/1.209, allocations: 77.06 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.209, allocations: 5.625 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.209, allocations: 0.5625 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.209, allocations: 1.75 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/1.209, allocations: 11.25 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.209, allocations: 0 / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/1.209, allocations: 15.62 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.209, allocations: 4.797 kB / 1.344 GB, free: 12.78 MB / 1.061 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 6.263e-05/1.209, allocations: 116.4 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/1.209, allocations: 3.531 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/1.21, allocations: 88.28 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.21, allocations: 0 / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.21, allocations: 4 kB / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.21, allocations: 2.953 kB / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/1.21, allocations: 171.3 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.21, allocations: 1.312 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/1.21, allocations: 12.03 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.21, allocations: 0 / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/1.21, allocations: 1.375 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.21, allocations: 1.5 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.21, allocations: 0 / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/1.21, allocations: 185.4 kB / 1.345 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/1.21, allocations: 79.14 kB / 1.345 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/1.21, allocations: 4.609 kB / 1.345 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/1.21, allocations: 6.609 kB / 1.345 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/1.21, allocations: 5.281 kB / 1.345 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/1.21, allocations: 2.078 kB / 1.345 GB, free: 12.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.54e-05/1.21, allocations: 87.39 kB / 1.345 GB, free: 12.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.21, allocations: 5.375 kB / 1.345 GB, free: 12.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002678/1.211, allocations: 21.62 kB / 1.345 GB, free: 12.05 MB / 1.061 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.0005775/1.211, allocations: 0.719 MB / 1.346 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002686/1.211, allocations: 53.02 kB / 1.346 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.211, allocations: 0 / 1.346 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/1.212, allocations: 25.59 kB / 1.346 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/1.212, allocations: 2.031 kB / 1.346 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/1.213, allocations: 1.295 MB / 1.347 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/1.213, allocations: 0.6795 MB / 1.348 GB, free: 9.465 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.162e-05/1.213, allocations: 4.562 kB / 1.348 GB, free: 9.465 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/1.213, allocations: 19.97 kB / 1.348 GB, free: 9.449 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/1.213, allocations: 0 / 1.348 GB, free: 9.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/1.233, allocations: 1.978 MB / 1.35 GB, free: 9.004 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/9.61, allocations: 16.81 kB / 1.35 GB, free: 8.992 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.489066437992733] Failed to read output from testmodel.py, exit status != 0: 9.735693957016338 9.749830064 8.541082147000001 Calling exit ...