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.001053/0.001053, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 189.4 kB / 16.67 MB, free: 6.57 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.395/1.395, allocations: 222.9 MB / 240.3 MB, free: 4.34 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.035/1.035, allocations: 143 MB / 433.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 0.5955 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4304, allocations: 82.03 MB / 0.6756 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002437/0.4329, allocations: 1.535 MB / 0.6771 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.4333, allocations: 180.9 kB / 0.6773 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.4334, allocations: 1.188 kB / 0.6773 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.4334, allocations: 3.938 kB / 0.6773 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.311e-05/0.4335, allocations: 0 / 0.6773 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.4338, allocations: 55.25 kB / 0.6773 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.4339, allocations: 38.58 kB / 0.6774 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.434, allocations: 22.75 kB / 0.6774 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.4341, allocations: 8.594 kB / 0.6774 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.4341, allocations: 17.61 kB / 0.6774 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.4341, allocations: 7.594 kB / 0.6774 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4343, allocations: 51.22 kB / 0.6775 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.4343, allocations: 8.953 kB / 0.6775 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.4343, allocations: 12.41 kB / 0.6775 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.4345, allocations: 71.06 kB / 0.6776 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4345, allocations: 0 / 0.6776 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4345, allocations: 4 kB / 0.6776 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4345, allocations: 1.125 kB / 0.6776 GB, free: 15.96 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.0005036/0.435, allocations: 350.7 kB / 0.6779 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4351, allocations: 9.219 kB / 0.6779 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.4351, allocations: 6.922 kB / 0.6779 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.4353, allocations: 170.4 kB / 0.6781 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.4353, allocations: 1.688 kB / 0.6781 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4353, allocations: 2.562 kB / 0.6781 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.4355, allocations: 76.05 kB / 0.6782 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4355, allocations: 192 / 0.6782 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4356, allocations: 9.125 kB / 0.6782 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4356, allocations: 0 / 0.6782 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.4358, allocations: 45.14 kB / 0.6782 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.4362, allocations: 277.9 kB / 0.6785 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.4365, allocations: 66.44 kB / 0.6786 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.4366, allocations: 25.25 kB / 0.6786 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.4368, allocations: 168.3 kB / 0.6787 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.4369, allocations: 31.75 kB / 0.6788 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.4369, allocations: 0 / 0.6788 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003879/0.4373, allocations: 103.1 kB / 0.6789 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.4373, allocations: 59.33 kB / 0.6789 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.4374, allocations: 104.6 kB / 0.679 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.4374, allocations: 25.7 kB / 0.679 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.4375, allocations: 89.66 kB / 0.6791 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.4375, allocations: 9.328 kB / 0.6791 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.4375, allocations: 22.12 kB / 0.6792 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4377, allocations: 318.8 kB / 0.6795 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.4378, allocations: 19.3 kB / 0.6795 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.612e-05/0.4379, allocations: 22.06 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.4381, allocations: 43.89 kB / 0.6795 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4381, allocations: 0 / 0.6795 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002193/0.4383, allocations: 84.64 kB / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4383, allocations: 5.5 kB / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.4383, allocations: 0 / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4383, allocations: 1.156 kB / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.4384, allocations: 10.98 kB / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4384, allocations: 0.9688 kB / 0.6796 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.4385, allocations: 7.516 kB / 0.6797 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4385, allocations: 1 kB / 0.6797 GB, free: 13.86 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 8.531e-05/0.4386, allocations: 120 kB / 0.6798 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.4386, allocations: 2.094 kB / 0.6798 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.4389, allocations: 92.48 kB / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4389, allocations: 1 kB / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4389, allocations: 0 / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4389, allocations: 0 / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.4391, allocations: 173.5 kB / 0.68 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4391, allocations: 0 / 0.68 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.4392, allocations: 11.52 kB / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4392, allocations: 1.188 kB / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4392, allocations: 1.031 kB / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4392, allocations: 3.984 kB / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4392, allocations: 0 / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.4395, allocations: 188.8 kB / 0.6802 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.4396, allocations: 78.39 kB / 0.6803 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.4396, allocations: 3.938 kB / 0.6803 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.4397, allocations: 7.984 kB / 0.6803 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.4397, allocations: 6.594 kB / 0.6803 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4397, allocations: 1.344 kB / 0.6803 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.077e-05/0.4398, allocations: 97.48 kB / 0.6804 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4398, allocations: 0 / 0.6804 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000248/0.4401, allocations: 18.25 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.0001935/0.4403, allocations: 118.5 kB / 0.6805 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.4405, allocations: 41.23 kB / 0.6806 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4405, allocations: 0 / 0.6806 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4406, allocations: 26.88 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.0002608/0.4409, allocations: 6.219 kB / 0.6806 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.4413, allocations: 131.5 kB / 0.6807 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4416, allocations: 0.6795 MB / 0.6814 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.79e-05/0.4416, allocations: 11.34 kB / 0.6814 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.4417, allocations: 9.656 kB / 0.6814 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4417, allocations: 0 / 0.6814 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.003356/0.445, allocations: 0.9973 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)