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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 105.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8101/0.8101, allocations: 143.1 MB / 434.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 0.5148 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2981, allocations: 82.02 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002139/0.3003, allocations: 1.534 MB / 0.5964 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003491/0.3007, allocations: 181.4 kB / 0.5966 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.3007, allocations: 0 / 0.5966 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.3008, allocations: 4.938 kB / 0.5966 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/0.3008, allocations: 0 / 0.5966 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.3011, allocations: 55.81 kB / 0.5967 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.3011, allocations: 37.39 kB / 0.5967 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.3012, allocations: 13.33 kB / 0.5967 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.3012, allocations: 15.94 kB / 0.5967 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.3013, allocations: 19.91 kB / 0.5967 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3013, allocations: 5.094 kB / 0.5967 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.3014, allocations: 51.89 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.3014, allocations: 4 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.3014, allocations: 20.97 kB / 0.5968 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.3016, allocations: 63.86 kB / 0.5969 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3016, allocations: 3.984 kB / 0.5969 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3016, allocations: 1.469 kB / 0.5969 GB, free: 14.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.3016, allocations: 3.938 kB / 0.5969 GB, free: 14.2 MB / 446.1 MB 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.0003554/0.3019, allocations: 353.6 kB / 0.5972 GB, free: 13.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.302, allocations: 8.031 kB / 0.5972 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.302, allocations: 8.938 kB / 0.5972 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.307e-05/0.3021, allocations: 173.7 kB / 0.5974 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3021, allocations: 4.375 kB / 0.5974 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.3021, allocations: 4.375 kB / 0.5974 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3023, allocations: 59.58 kB / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3023, allocations: 192 / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3023, allocations: 7.938 kB / 0.5975 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3023, allocations: 5.281 kB / 0.5975 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3025, allocations: 43.95 kB / 0.5975 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.3028, allocations: 278.1 kB / 0.5978 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.3031, allocations: 68.59 kB / 0.5979 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.3032, allocations: 24.91 kB / 0.5979 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.3033, allocations: 167.2 kB / 0.598 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.074e-05/0.3034, allocations: 31.91 kB / 0.5981 GB, free: 12.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3034, allocations: 0 / 0.5981 GB, free: 12.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003435/0.3037, allocations: 98.84 kB / 0.5982 GB, free: 12.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.537e-05/0.3037, allocations: 52 kB / 0.5982 GB, free: 12.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.784e-05/0.3038, allocations: 106.9 kB / 0.5983 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.3038, allocations: 25.7 kB / 0.5983 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.3038, allocations: 93.36 kB / 0.5984 GB, free: 12.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.3039, allocations: 7.844 kB / 0.5984 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.3039, allocations: 21.7 kB / 0.5985 GB, free: 12.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.314e-05/0.3039, allocations: 319.6 kB / 0.5988 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.304, allocations: 25.75 kB / 0.5988 GB, free: 12.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.3041, allocations: 19.98 kB / 0.5988 GB, free: 12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3043, allocations: 46.16 kB / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3043, allocations: 0 / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001838/0.3044, allocations: 74.44 kB / 0.5989 GB, free: 11.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3045, allocations: 4.5 kB / 0.5989 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.3045, allocations: 1.281 kB / 0.5989 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3045, allocations: 8.031 kB / 0.5989 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.3046, allocations: 11.92 kB / 0.5989 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.3046, allocations: 5.406 kB / 0.599 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.3046, allocations: 15.92 kB / 0.599 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3047, allocations: 0 / 0.599 GB, free: 11.83 MB / 446.1 MB 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 4.217e-05/0.3047, allocations: 111.2 kB / 0.5991 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.3047, allocations: 4 kB / 0.5991 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.305, allocations: 86.95 kB / 0.5992 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.305, allocations: 0 / 0.5992 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.305, allocations: 0.6875 kB / 0.5992 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.305, allocations: 0 / 0.5992 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.3051, allocations: 171.9 kB / 0.5993 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3051, allocations: 0 / 0.5993 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.3052, allocations: 15.98 kB / 0.5993 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3052, allocations: 3.938 kB / 0.5993 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3052, allocations: 4 kB / 0.5993 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3052, allocations: 1.531 kB / 0.5993 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3052, allocations: 0 / 0.5993 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.3054, allocations: 172.7 kB / 0.5995 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.3054, allocations: 85.09 kB / 0.5996 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3054, allocations: 0.75 kB / 0.5996 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.3055, allocations: 5.5 kB / 0.5996 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.3056, allocations: 15.92 kB / 0.5996 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3056, allocations: 0 / 0.5996 GB, free: 11.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.197e-05/0.3056, allocations: 87.27 kB / 0.5997 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3056, allocations: 1.469 kB / 0.5997 GB, free: 10.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.3059, allocations: 23.94 kB / 0.5997 GB, free: 10.96 MB / 446.1 MB 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.0001202/0.306, allocations: 112 kB / 0.5998 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3062, allocations: 49.39 kB / 0.5999 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3062, allocations: 0 / 0.5999 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.3063, allocations: 24.95 kB / 0.5999 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3066, allocations: 10.42 kB / 0.5999 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.3068, allocations: 155.4 kB / 0.6001 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.315e-05/0.3069, allocations: 0.6807 MB / 0.6007 GB, free: 9.875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.3069, allocations: 12.22 kB / 0.6007 GB, free: 9.863 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3069, allocations: 0 / 0.6007 GB, free: 9.863 MB / 446.1 MB Notification: Performance of Templates: time 0.001922/0.3089, allocations: 1.001 MB / 0.6017 GB, free: 8.906 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)