Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001245/0.001245, 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.001365/0.001365, 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.521/1.521, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.123/3.123, allocations: 0.49 GB / 0.7923 GB, free: 1.375 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_12_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: 76.17 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251/1.253, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002719/1.256, allocations: 1.552 MB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005002/1.257, allocations: 189.4 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/1.257, allocations: 0 / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/1.257, allocations: 7.125 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/1.257, allocations: 7.938 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/1.257, allocations: 46.39 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.128e-05/1.257, allocations: 40.23 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/1.257, allocations: 9.594 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.332e-05/1.257, allocations: 12.8 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/1.257, allocations: 27.72 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/1.257, allocations: 3.25 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/1.258, allocations: 48.89 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/1.258, allocations: 10.41 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/1.258, allocations: 13.53 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/1.258, allocations: 67.72 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.258, allocations: 7.938 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.542e-06/1.258, allocations: 2.875 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.119e-05/1.258, allocations: 0 / 1.323 GB, free: 23.4 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.0004577/1.258, allocations: 357.1 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.258, allocations: 13.02 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/1.258, allocations: 192 / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.23e-05/1.258, allocations: 37.69 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/1.258, allocations: 4.891 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/1.258, allocations: 174.8 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/1.259, allocations: 384 / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/1.259, allocations: 3.219 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/1.259, allocations: 64.47 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.259, allocations: 2.375 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/1.259, allocations: 0 / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/1.259, allocations: 0 / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/1.259, allocations: 48.88 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/1.259, allocations: 279.7 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/1.26, allocations: 57.42 kB / 1.324 GB, free: 22.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/1.26, allocations: 26.56 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/1.26, allocations: 167.3 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/1.26, allocations: 40.81 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/1.26, allocations: 0 / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004124/1.26, allocations: 89.53 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/1.26, allocations: 54.34 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/1.26, allocations: 114.2 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/1.26, allocations: 29.7 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/1.261, allocations: 98.19 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/1.261, allocations: 7.891 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/1.261, allocations: 16.47 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.485e-05/1.261, allocations: 320.9 kB / 1.325 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-05/1.261, allocations: 18.62 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/1.261, allocations: 19.34 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/1.261, allocations: 57.58 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.261, allocations: 0 / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002067/1.261, allocations: 70.11 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.261, allocations: 5.594 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.261, allocations: 0 / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.261, allocations: 6.078 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/1.261, allocations: 13.23 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/1.261, allocations: 320 / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/1.261, allocations: 13.64 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/1.261, allocations: 7.312 kB / 1.326 GB, free: 21.38 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 5.999e-05/1.261, allocations: 112.4 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/1.261, allocations: 6.906 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/1.262, allocations: 88.72 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.262, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.262, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/1.262, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/1.262, allocations: 164.8 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.262, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/1.262, allocations: 20.03 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.262, allocations: 0 / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/1.262, allocations: 0 / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.262, allocations: 3.984 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.262, allocations: 0 / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/1.262, allocations: 183 kB / 1.326 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/1.262, allocations: 77.11 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/1.262, allocations: 0 / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/1.262, allocations: 8.75 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/1.262, allocations: 10.09 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/1.262, allocations: 0 / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.873e-05/1.262, allocations: 98.55 kB / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.262, allocations: 0 / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002431/1.263, allocations: 16.94 kB / 1.326 GB, free: 20.66 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.0004821/1.263, allocations: 0.7294 MB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002533/1.263, allocations: 45.77 kB / 1.327 GB, free: 19.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.263, allocations: 0 / 1.327 GB, free: 19.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/1.263, allocations: 20.7 kB / 1.327 GB, free: 19.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/1.264, allocations: 6.781 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/1.265, allocations: 1.301 MB / 1.328 GB, free: 18.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/1.265, allocations: 0.6837 MB / 1.329 GB, free: 18.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.082e-05/1.265, allocations: 6.75 kB / 1.329 GB, free: 18.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/1.265, allocations: 13.72 kB / 1.329 GB, free: 18.05 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/1.265, allocations: 0 / 1.329 GB, free: 18.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/1.285, allocations: 1.976 MB / 1.331 GB, free: 17.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/9.713, allocations: 9.281 kB / 1.331 GB, free: 17.6 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.555966897984035] Failed to read output from testmodel.py, exit status != 0: 9.848350965010468 9.861147729 8.600797816 Calling exit ...