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.0008235/0.0008236, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009351/0.0009351, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 223.3 MB / 240 MB, free: 5.324 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.8676/0.8676, allocations: 143.2 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002596, allocations: 8 kB / 0.5158 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1336, allocations: 83.42 MB / 0.5972 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.001425/0.1351, allocations: 1.243 MB / 0.5985 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000383/0.1355, allocations: 172.3 kB / 0.5986 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.1355, allocations: 0 / 0.5986 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1356, allocations: 0 / 0.5986 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.1356, allocations: 11.92 kB / 0.5986 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1358, allocations: 31.97 kB / 0.5987 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.1359, allocations: 39.84 kB / 0.5987 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.505e-05/0.136, allocations: 11.98 kB / 0.5987 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.136, allocations: 11.98 kB / 0.5987 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.749e-05/0.1361, allocations: 15.92 kB / 0.5987 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1361, allocations: 0 / 0.5987 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.1362, allocations: 39.95 kB / 0.5988 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.1362, allocations: 4 kB / 0.5988 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1362, allocations: 33.64 kB / 0.5988 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.268e-05/0.1363, allocations: 47.91 kB / 0.5989 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1363, allocations: 0 / 0.5989 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1363, allocations: 0 / 0.5989 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.1363, allocations: 4 kB / 0.5989 GB, free: 6.422 MB / 0.4981 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.0003812/0.1367, allocations: 351.5 kB / 0.5992 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1368, allocations: 8.031 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.1368, allocations: 4 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.1369, allocations: 171 kB / 0.5994 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1369, allocations: 4 kB / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1369, allocations: 4 kB / 0.5994 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1371, allocations: 77.58 kB / 0.5995 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1371, allocations: 3.938 kB / 0.5995 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1372, allocations: 0 / 0.5995 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1372, allocations: 4 kB / 0.5995 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.1373, allocations: 59.95 kB / 0.5995 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1377, allocations: 280.7 kB / 0.5998 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.1379, allocations: 66.48 kB / 0.5998 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.138, allocations: 32.89 kB / 0.5999 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.1382, allocations: 170.3 kB / 0.6 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1383, allocations: 38.56 kB / 0.6001 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1383, allocations: 0 / 0.6001 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003428/0.1386, allocations: 113.5 kB / 0.6002 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1386, allocations: 59.36 kB / 0.6002 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.1387, allocations: 109.8 kB / 0.6003 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1387, allocations: 25.7 kB / 0.6004 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.1388, allocations: 88.14 kB / 0.6005 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.1388, allocations: 3.906 kB / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.1388, allocations: 0 / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.1389, allocations: 318.8 kB / 0.6008 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.139, allocations: 23.98 kB / 0.6008 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.1391, allocations: 27.97 kB / 0.6008 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.1392, allocations: 23.98 kB / 0.6008 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1392, allocations: 4 kB / 0.6008 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001889/0.1394, allocations: 81.66 kB / 0.6009 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1394, allocations: 8 kB / 0.6009 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1394, allocations: 0 / 0.6009 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1394, allocations: 0 / 0.6009 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.1395, allocations: 15.98 kB / 0.6009 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1395, allocations: 7.891 kB / 0.6009 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.1396, allocations: 15.89 kB / 0.601 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1396, allocations: 0 / 0.601 GB, free: 4.012 MB / 0.4981 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.1396, allocations: 117.8 kB / 0.6011 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1397, allocations: 0 / 0.6011 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.1399, allocations: 93.88 kB / 0.6012 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1399, allocations: 8.031 kB / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1399, allocations: 0 / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1399, allocations: 7.938 kB / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1401, allocations: 165.7 kB / 0.6013 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1401, allocations: 0 / 0.6013 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.1402, allocations: 15.98 kB / 0.6014 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1402, allocations: 0 / 0.6014 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1402, allocations: 4 kB / 0.6014 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1402, allocations: 3.938 kB / 0.6014 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1402, allocations: 3.938 kB / 0.6014 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1405, allocations: 183.4 kB / 0.6015 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.1405, allocations: 85.09 kB / 0.6016 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1405, allocations: 4 kB / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.1406, allocations: 4 kB / 0.6016 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1406, allocations: 7.984 kB / 0.6016 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.1406, allocations: 0 / 0.6016 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.1407, allocations: 95.27 kB / 0.6017 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 0.6017 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002196/0.1409, allocations: 12 kB / 0.6017 GB, free: 3.109 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.1411, allocations: 115.2 kB / 0.6018 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1413, allocations: 59.89 kB / 0.6019 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1413, allocations: 0 / 0.6019 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.1414, allocations: 31.97 kB / 0.6019 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.1416, allocations: 7.953 kB / 0.6019 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.1419, allocations: 128.6 kB / 0.6021 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1421, allocations: 0.6809 MB / 0.6027 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.1421, allocations: 4 kB / 0.6027 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.1422, allocations: 11.44 kB / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1422, allocations: 0 / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.002678/0.1448, allocations: 0.8679 MB / 0.6036 GB, free: 1.16 MB / 0.4981 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)