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.004631/0.004631, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.00105/0.00105, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.184 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 0.9875/0.9875, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 68.12 kB / 0.5955 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4621, allocations: 82.04 MB / 0.6756 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.00228/0.4644, allocations: 1.526 MB / 0.6771 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004166/0.4648, allocations: 181.5 kB / 0.6773 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.4649, allocations: 0 / 0.6773 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.4649, allocations: 3.938 kB / 0.6773 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.4649, allocations: 0 / 0.6773 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.4653, allocations: 60.12 kB / 0.6774 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.4654, allocations: 37.86 kB / 0.6774 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.4655, allocations: 18.23 kB / 0.6774 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.4655, allocations: 13.42 kB / 0.6774 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.4656, allocations: 21.44 kB / 0.6775 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.4656, allocations: 7.469 kB / 0.6775 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.4657, allocations: 43.47 kB / 0.6775 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.4658, allocations: 13.16 kB / 0.6775 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.4658, allocations: 15.06 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.466, allocations: 66.19 kB / 0.6776 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.466, allocations: 0 / 0.6776 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.466, allocations: 5.031 kB / 0.6776 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.466, allocations: 0 / 0.6776 GB, free: 15.93 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.0004916/0.4665, allocations: 359.2 kB / 0.6779 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4665, allocations: 9.188 kB / 0.6779 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.4666, allocations: 3.219 kB / 0.6779 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.4667, allocations: 166.7 kB / 0.6781 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.4667, allocations: 1.531 kB / 0.6781 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.4667, allocations: 2.688 kB / 0.6781 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.467, allocations: 75.08 kB / 0.6782 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.467, allocations: 4.188 kB / 0.6782 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.467, allocations: 5.125 kB / 0.6782 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.467, allocations: 1.219 kB / 0.6782 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.4672, allocations: 43.39 kB / 0.6782 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.4676, allocations: 276.6 kB / 0.6785 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.4679, allocations: 66.22 kB / 0.6786 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.468, allocations: 29.17 kB / 0.6786 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.4682, allocations: 165 kB / 0.6787 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4683, allocations: 35.66 kB / 0.6788 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4683, allocations: 0 / 0.6788 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003838/0.4687, allocations: 102.8 kB / 0.6789 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.4687, allocations: 55.34 kB / 0.6789 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.4688, allocations: 111.8 kB / 0.679 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.4688, allocations: 25.7 kB / 0.6791 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.4689, allocations: 82.45 kB / 0.6791 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.4689, allocations: 9.125 kB / 0.6792 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.4689, allocations: 16.78 kB / 0.6792 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4691, allocations: 325.2 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.4692, allocations: 18.52 kB / 0.6795 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.4692, allocations: 18.78 kB / 0.6795 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.4694, allocations: 42.95 kB / 0.6796 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4694, allocations: 0 / 0.6796 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002325/0.4697, allocations: 97.56 kB / 0.6796 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4697, allocations: 4.281 kB / 0.6796 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4697, allocations: 1.25 kB / 0.6797 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4697, allocations: 0 / 0.6797 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.4698, allocations: 11.61 kB / 0.6797 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4698, allocations: 0 / 0.6797 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.4699, allocations: 8.344 kB / 0.6797 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.4699, allocations: 5.266 kB / 0.6797 GB, free: 13.82 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 7.479e-05/0.47, allocations: 120 kB / 0.6798 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.47, allocations: 2.188 kB / 0.6798 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.4703, allocations: 83.11 kB / 0.6799 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4703, allocations: 1.219 kB / 0.6799 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4703, allocations: 0 / 0.6799 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4703, allocations: 1.219 kB / 0.6799 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.4705, allocations: 168.5 kB / 0.68 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4705, allocations: 4 kB / 0.68 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.4705, allocations: 12.11 kB / 0.68 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4706, allocations: 0 / 0.68 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4706, allocations: 1.062 kB / 0.6801 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4706, allocations: 1.125 kB / 0.6801 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4706, allocations: 0 / 0.6801 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.4709, allocations: 179 kB / 0.6802 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.4709, allocations: 78.55 kB / 0.6803 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4709, allocations: 8.875 kB / 0.6803 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.471, allocations: 11.23 kB / 0.6803 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.4711, allocations: 3.406 kB / 0.6803 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4711, allocations: 4.984 kB / 0.6803 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.4711, allocations: 89.09 kB / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4711, allocations: 1.25 kB / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002397/0.4714, allocations: 13.47 kB / 0.6804 GB, free: 13.05 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.0002075/0.4716, allocations: 121.7 kB / 0.6805 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.4718, allocations: 41.7 kB / 0.6806 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4719, allocations: 5.094 kB / 0.6806 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.657e-05/0.472, allocations: 22.12 kB / 0.6806 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4722, allocations: 10.16 kB / 0.6806 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.4725, allocations: 133.7 kB / 0.6807 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.4728, allocations: 0.6833 MB / 0.6814 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.4728, allocations: 7.391 kB / 0.6814 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.4729, allocations: 10.47 kB / 0.6814 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4729, allocations: 3.938 kB / 0.6814 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.003312/0.4762, allocations: 0.99 MB / 0.6824 GB, free: 11.56 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)