Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001727/0.001727, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001738/0.001738, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9102/0.9102, allocations: 145 MB / 458.2 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002013/0.002013, allocations: 67.47 kB / 0.6339 GB, free: 6.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1807, allocations: 87.88 MB / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.00295/0.1837, allocations: 1.547 MB / 0.7212 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000539/0.1842, allocations: 184.2 kB / 0.7214 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.1842, allocations: 0 / 0.7214 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.1843, allocations: 0 / 0.7214 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.1843, allocations: 7.938 kB / 0.7214 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.1847, allocations: 59.81 kB / 0.7214 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.1848, allocations: 31.92 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1849, allocations: 11.98 kB / 0.7215 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.1849, allocations: 19.92 kB / 0.7215 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.185, allocations: 23.91 kB / 0.7215 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.185, allocations: 7.938 kB / 0.7215 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.1852, allocations: 47.95 kB / 0.7216 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1852, allocations: 4 kB / 0.7216 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.1852, allocations: 19.91 kB / 0.7216 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1854, allocations: 67.8 kB / 0.7217 GB, free: 12.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1854, allocations: 0 / 0.7217 GB, free: 12.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1854, allocations: 7.938 kB / 0.7217 GB, free: 12.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1854, allocations: 0 / 0.7217 GB, free: 12.72 MB / 0.545 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.0005198/0.1859, allocations: 278.2 kB / 0.7219 GB, free: 12.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1859, allocations: 12.03 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.325e-05/0.186, allocations: 192 / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.186, allocations: 34.75 kB / 0.722 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.186, allocations: 4.938 kB / 0.722 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1862, allocations: 114.5 kB / 0.7221 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1862, allocations: 384 / 0.7221 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1862, allocations: 8.375 kB / 0.7221 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1864, allocations: 65.92 kB / 0.7222 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1864, allocations: 0 / 0.7222 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1864, allocations: 4 kB / 0.7222 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1864, allocations: 0 / 0.7222 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.1866, allocations: 39.95 kB / 0.7222 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.1871, allocations: 243.9 kB / 0.7224 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.1874, allocations: 62.47 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1875, allocations: 32.89 kB / 0.7225 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.1877, allocations: 11.98 kB / 0.7225 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1877, allocations: 34.56 kB / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1877, allocations: 0 / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003899/0.1881, allocations: 97.52 kB / 0.7227 GB, free: 11.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1881, allocations: 55.41 kB / 0.7227 GB, free: 11.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.1882, allocations: 121.9 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1882, allocations: 29.64 kB / 0.7229 GB, free: 11.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.1883, allocations: 88.08 kB / 0.7229 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.1883, allocations: 7.953 kB / 0.723 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.1883, allocations: 13.72 kB / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.1885, allocations: 322.8 kB / 0.7233 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1886, allocations: 15.98 kB / 0.7233 GB, free: 10.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.1887, allocations: 24.16 kB / 0.7233 GB, free: 10.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.1889, allocations: 48.91 kB / 0.7234 GB, free: 10.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1889, allocations: 0 / 0.7234 GB, free: 10.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002286/0.1891, allocations: 85.53 kB / 0.7234 GB, free: 10.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1891, allocations: 4 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1891, allocations: 4 kB / 0.7235 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1891, allocations: 0 / 0.7235 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.1892, allocations: 15.98 kB / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1892, allocations: 0 / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.1893, allocations: 8 kB / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1893, allocations: 0 / 0.7235 GB, free: 10.68 MB / 0.545 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.55e-05/0.1894, allocations: 121.8 kB / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1894, allocations: 0 / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1897, allocations: 85.58 kB / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1897, allocations: 0 / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1897, allocations: 0 / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1897, allocations: 0 / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1898, allocations: 144.6 kB / 0.7238 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1899, allocations: 0 / 0.7238 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.1899, allocations: 11.98 kB / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1899, allocations: 0 / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1899, allocations: 4 kB / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1899, allocations: 0 / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1899, allocations: 0 / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1902, allocations: 171.4 kB / 0.724 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.1902, allocations: 0 / 0.724 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1902, allocations: 8 kB / 0.724 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.1903, allocations: 7.984 kB / 0.724 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1904, allocations: 7.984 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1904, allocations: 4 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.1904, allocations: 87.22 kB / 0.7241 GB, free: 9.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1904, allocations: 3.938 kB / 0.7241 GB, free: 9.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002488/0.1907, allocations: 23.89 kB / 0.7241 GB, free: 9.926 MB / 0.545 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.0006755/0.1914, allocations: 0.7202 MB / 0.7248 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1916, allocations: 48.08 kB / 0.7249 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1916, allocations: 3.938 kB / 0.7249 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.1917, allocations: 27.97 kB / 0.7249 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.192, allocations: 192 / 0.7249 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1937, allocations: 1.299 MB / 0.7262 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.1937, allocations: 63.34 kB / 0.7262 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.1938, allocations: 4 kB / 0.7262 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.1938, allocations: 11.44 kB / 0.7262 GB, free: 7.625 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.1938, allocations: 0 / 0.7262 GB, free: 7.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.2168, allocations: 2.152 MB / 0.7284 GB, free: 5.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.47, allocations: 13.72 kB / 0.7284 GB, free: 5.621 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.340375915984623] Failed to read output from testmodel.py, exit status != 0: 11.629136750940233 11.645710341000001 11.457008157 Calling exit ...