Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001371/0.001371, allocations: 97.92 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.001496/0.001496, allocations: 222.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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002521/0.002521, allocations: 285.5 kB / 313.5 MB, free: 2.719 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.23/1.23, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002814/0.002814, allocations: 96.28 kB / 0.7403 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1966, allocations: 95.38 MB / 0.8334 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.003297/0.1999, allocations: 1.566 MB / 0.8349 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005791/0.2005, allocations: 166 kB / 0.8351 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.2006, allocations: 3.938 kB / 0.8351 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.346e-05/0.2006, allocations: 7.922 kB / 0.8351 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.2007, allocations: 4 kB / 0.8351 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.2011, allocations: 59.81 kB / 0.8352 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.2012, allocations: 39.84 kB / 0.8352 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2013, allocations: 8 kB / 0.8352 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.2014, allocations: 19.92 kB / 0.8352 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.2015, allocations: 19.92 kB / 0.8352 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2015, allocations: 4 kB / 0.8352 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.2016, allocations: 51.94 kB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.2017, allocations: 7.984 kB / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.2017, allocations: 15.94 kB / 0.8353 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.2019, allocations: 72.06 kB / 0.8354 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2019, allocations: 0 / 0.8354 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2019, allocations: 3.938 kB / 0.8354 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.2019, allocations: 0 / 0.8354 GB, free: 6.27 MB / 0.5762 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.000593/0.2025, allocations: 286.2 kB / 0.8357 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.2026, allocations: 9.938 kB / 0.8357 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.278e-05/0.2026, allocations: 4.188 kB / 0.8357 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.2026, allocations: 34.73 kB / 0.8357 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.2027, allocations: 4.938 kB / 0.8357 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2028, allocations: 110.5 kB / 0.8358 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.2028, allocations: 16.31 kB / 0.8358 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2029, allocations: 384 / 0.8358 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.2031, allocations: 69.97 kB / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2031, allocations: 0 / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2031, allocations: 0 / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2031, allocations: 0 / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.2033, allocations: 43.95 kB / 0.8359 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.2039, allocations: 247.8 kB / 0.8362 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.2042, allocations: 58.59 kB / 0.8362 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.2043, allocations: 20.84 kB / 0.8363 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.2045, allocations: 19.97 kB / 0.8363 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2046, allocations: 34.56 kB / 0.8363 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.2046, allocations: 0 / 0.8363 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004269/0.205, allocations: 101.5 kB / 0.8364 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.205, allocations: 55.41 kB / 0.8365 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2052, allocations: 109.8 kB / 0.8366 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.2052, allocations: 25.7 kB / 0.8366 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.2052, allocations: 88.08 kB / 0.8367 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2053, allocations: 7.953 kB / 0.8367 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.2053, allocations: 21.7 kB / 0.8367 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2055, allocations: 318.7 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.2056, allocations: 23.97 kB / 0.837 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.2056, allocations: 15.98 kB / 0.837 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.2058, allocations: 48.81 kB / 0.8371 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2058, allocations: 0 / 0.8371 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002342/0.206, allocations: 81.55 kB / 0.8372 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2061, allocations: 4 kB / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2061, allocations: 0 / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2061, allocations: 0 / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.2062, allocations: 15.98 kB / 0.8372 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.2062, allocations: 320 / 0.8372 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.2063, allocations: 11.98 kB / 0.8372 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2063, allocations: 4 kB / 0.8372 GB, free: 4.219 MB / 0.5762 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 0.0001053/0.2064, allocations: 114.4 kB / 0.8373 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.2064, allocations: 4 kB / 0.8373 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.2067, allocations: 85.56 kB / 0.8374 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2067, allocations: 4 kB / 0.8374 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2067, allocations: 4 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2067, allocations: 0 / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.2069, allocations: 152.6 kB / 0.8375 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2069, allocations: 0 / 0.8375 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.207, allocations: 8 kB / 0.8376 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.207, allocations: 0 / 0.8376 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.207, allocations: 3.984 kB / 0.8376 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.207, allocations: 0 / 0.8376 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.207, allocations: 0 / 0.8376 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.2073, allocations: 175.5 kB / 0.8377 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.2073, allocations: 432 / 0.8377 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.2074, allocations: 11.92 kB / 0.8377 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.2074, allocations: 4 kB / 0.8377 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.2075, allocations: 7.984 kB / 0.8378 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.2075, allocations: 0 / 0.8378 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.2076, allocations: 91.27 kB / 0.8378 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2076, allocations: 3.938 kB / 0.8378 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002638/0.2079, allocations: 12 kB / 0.8379 GB, free: 3.469 MB / 0.5762 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.0008303/0.2087, allocations: 0.7279 MB / 0.8386 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.2089, allocations: 51.89 kB / 0.8386 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2089, allocations: 0 / 0.8386 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.209, allocations: 23.97 kB / 0.8386 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.2094, allocations: 11.34 kB / 0.8386 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.2113, allocations: 1.288 MB / 0.8399 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.823e-05/0.2114, allocations: 63.34 kB / 0.84 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.2114, allocations: 4 kB / 0.84 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.2115, allocations: 27.36 kB / 0.84 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.2115, allocations: 0 / 0.84 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2349, allocations: 2.135 MB / 0.8421 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 19.25 kB / 0.8421 GB, free: 15.16 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.583094050991349] Failed to read output from testmodel.py, exit status != 0: 11.385831239982508 11.4082105 11.202160247 Calling exit ...