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.008273/0.008274, allocations: 99.08 kB / 15.73 MB, free: 6.047 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.001898/0.001898, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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 1.004/1.004, allocations: 143 MB / 433.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4743, allocations: 82.03 MB / 0.6756 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.003252/0.4776, allocations: 1.53 MB / 0.6771 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.4784, allocations: 180.5 kB / 0.6773 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.4784, allocations: 1.375 kB / 0.6773 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.08e-05/0.4785, allocations: 3.938 kB / 0.6773 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.4786, allocations: 7.938 kB / 0.6773 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.4791, allocations: 52.16 kB / 0.6774 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.4792, allocations: 34.05 kB / 0.6774 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.4794, allocations: 14.8 kB / 0.6774 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.4794, allocations: 12.44 kB / 0.6774 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.4795, allocations: 25.62 kB / 0.6774 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.4795, allocations: 2.969 kB / 0.6775 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.4797, allocations: 47.77 kB / 0.6775 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.4798, allocations: 9.156 kB / 0.6775 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.4798, allocations: 19.44 kB / 0.6775 GB, free: 0 / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.4801, allocations: 66.75 kB / 0.6776 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4801, allocations: 3.938 kB / 0.6776 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.526e-06/0.4801, allocations: 0 / 0.6776 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.4801, allocations: 0 / 0.6776 GB, free: 15.95 MB / 0.5137 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.000764/0.4809, allocations: 363.4 kB / 0.6779 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/0.481, allocations: 9 kB / 0.6779 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.4811, allocations: 3.688 kB / 0.6779 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.4813, allocations: 170.4 kB / 0.6781 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.4813, allocations: 1.562 kB / 0.6781 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4813, allocations: 6.531 kB / 0.6781 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.4816, allocations: 63.84 kB / 0.6782 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4816, allocations: 192 / 0.6782 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.4816, allocations: 3.938 kB / 0.6782 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4816, allocations: 1.094 kB / 0.6782 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.4819, allocations: 52.52 kB / 0.6782 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.4824, allocations: 272.2 kB / 0.6785 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.4829, allocations: 59.66 kB / 0.6786 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.483, allocations: 23.69 kB / 0.6786 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.4833, allocations: 172.8 kB / 0.6787 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4834, allocations: 35.69 kB / 0.6788 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 4.167e-06/0.4834, allocations: 0 / 0.6788 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000474/0.4838, allocations: 98.48 kB / 0.6789 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.4839, allocations: 52.59 kB / 0.6789 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4841, allocations: 115.2 kB / 0.679 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4841, allocations: 30.86 kB / 0.6791 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.4842, allocations: 89.25 kB / 0.6791 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.4842, allocations: 5.344 kB / 0.6791 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.4842, allocations: 17.34 kB / 0.6792 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4844, allocations: 320 kB / 0.6795 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.4845, allocations: 18.11 kB / 0.6795 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.4846, allocations: 23.27 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.4848, allocations: 47.31 kB / 0.6796 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4848, allocations: 0 / 0.6796 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002243/0.485, allocations: 81.27 kB / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.485, allocations: 8.828 kB / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.485, allocations: 1.156 kB / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4851, allocations: 0 / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/0.4852, allocations: 15.45 kB / 0.6797 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4852, allocations: 1.344 kB / 0.6797 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.4852, allocations: 7 kB / 0.6797 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.4852, allocations: 0.9375 kB / 0.6797 GB, free: 13.85 MB / 0.5137 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.0001139/0.4854, allocations: 124.5 kB / 0.6798 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.4854, allocations: 3.062 kB / 0.6798 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.4857, allocations: 87.2 kB / 0.6799 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4857, allocations: 0 / 0.6799 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4857, allocations: 1.062 kB / 0.6799 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4857, allocations: 3.938 kB / 0.6799 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.4859, allocations: 169.2 kB / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4859, allocations: 0 / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.486, allocations: 11.98 kB / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.486, allocations: 0 / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.486, allocations: 1.125 kB / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.486, allocations: 0 / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.486, allocations: 1.312 kB / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.4863, allocations: 186.8 kB / 0.6802 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.4864, allocations: 82.17 kB / 0.6803 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.4864, allocations: 0.8125 kB / 0.6803 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.4865, allocations: 8.578 kB / 0.6803 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.4866, allocations: 7.031 kB / 0.6803 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4866, allocations: 5.562 kB / 0.6803 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.4866, allocations: 84.95 kB / 0.6804 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4866, allocations: 0 / 0.6804 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002582/0.4869, allocations: 17.31 kB / 0.6804 GB, free: 13.07 MB / 0.5137 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.0002338/0.4871, allocations: 115.3 kB / 0.6805 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.4874, allocations: 48.3 kB / 0.6806 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4874, allocations: 5.469 kB / 0.6806 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4875, allocations: 26.22 kB / 0.6806 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.4878, allocations: 6.312 kB / 0.6806 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.4882, allocations: 121.6 kB / 0.6807 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.4885, allocations: 0.6793 MB / 0.6814 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.4885, allocations: 14.97 kB / 0.6814 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.4885, allocations: 10.78 kB / 0.6814 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.4885, allocations: 0 / 0.6814 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.003628/0.4922, allocations: 1.011 MB / 0.6824 GB, free: 11.57 MB / 0.5137 GB 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)