Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 105.6 kB / 15.99 MB, free: 6.348 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.001128/0.001128, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.205/1.205, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 292.7 kB / 291 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8649/0.8649, allocations: 169.2 MB / 0.4985 GB, free: 4.645 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 91.95 kB / 0.5953 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1487, allocations: 86.97 MB / 0.6803 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.00162/0.1504, allocations: 0.6409 MB / 0.6809 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003088/0.1507, allocations: 103.7 kB / 0.681 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.1507, allocations: 0 / 0.681 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.1507, allocations: 3.984 kB / 0.681 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-06/0.1508, allocations: 4 kB / 0.681 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.151, allocations: 31.97 kB / 0.681 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1512, allocations: 67.88 kB / 0.6811 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.1512, allocations: 3.984 kB / 0.6811 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.1512, allocations: 27.97 kB / 0.6811 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.1513, allocations: 19.97 kB / 0.6812 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1513, allocations: 7.938 kB / 0.6812 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.994e-05/0.1514, allocations: 43.95 kB / 0.6812 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.1514, allocations: 19.97 kB / 0.6812 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.1515, allocations: 23.86 kB / 0.6812 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.679e-05/0.1516, allocations: 43.94 kB / 0.6813 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1516, allocations: 0 / 0.6813 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1516, allocations: 4 kB / 0.6813 GB, free: 7.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1516, allocations: 0 / 0.6813 GB, free: 7.5 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004453/0.152, allocations: 379.7 kB / 0.6817 GB, free: 7.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1521, allocations: 12.03 kB / 0.6817 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1521, allocations: 4.938 kB / 0.6817 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.923e-05/0.1522, allocations: 160.4 kB / 0.6818 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.1524, allocations: 285.6 kB / 0.6821 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1525, allocations: 4.375 kB / 0.6821 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.1527, allocations: 74.2 kB / 0.6822 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1527, allocations: 7.938 kB / 0.6822 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1527, allocations: 8 kB / 0.6822 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1527, allocations: 7.922 kB / 0.6822 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.1531, allocations: 135.7 kB / 0.6823 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.1532, allocations: 181.5 kB / 0.6825 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1535, allocations: 98.45 kB / 0.6826 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1537, allocations: 40.84 kB / 0.6826 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1537, allocations: 4 kB / 0.6826 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1537, allocations: 34.56 kB / 0.6827 GB, free: 5.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1537, allocations: 0 / 0.6827 GB, free: 5.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004995/0.1542, allocations: 153.8 kB / 0.6828 GB, free: 5.711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.1543, allocations: 55.41 kB / 0.6829 GB, free: 5.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.037e-05/0.1543, allocations: 93.84 kB / 0.683 GB, free: 5.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1543, allocations: 25.7 kB / 0.683 GB, free: 5.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.1544, allocations: 84.14 kB / 0.6831 GB, free: 5.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.1544, allocations: 35.41 kB / 0.6831 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1545, allocations: 29.7 kB / 0.6831 GB, free: 5.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1546, allocations: 318.8 kB / 0.6834 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1547, allocations: 31.97 kB / 0.6835 GB, free: 5.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1548, allocations: 27.98 kB / 0.6835 GB, free: 4.977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.1551, allocations: 76.81 kB / 0.6836 GB, free: 4.898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1551, allocations: 0 / 0.6836 GB, free: 4.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003234/0.1554, allocations: 125.5 kB / 0.6837 GB, free: 4.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1554, allocations: 10.12 kB / 0.6837 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1555, allocations: 7.938 kB / 0.6837 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1555, allocations: 0 / 0.6837 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1556, allocations: 19.98 kB / 0.6837 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1556, allocations: 0 / 0.6837 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.1557, allocations: 11.89 kB / 0.6837 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1557, allocations: 8 kB / 0.6837 GB, free: 4.715 MB / 494.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.312e-05/0.1558, allocations: 113.8 kB / 0.6838 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.1558, allocations: 15.92 kB / 0.6839 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.1558, allocations: 11.97 kB / 0.6839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.1559, allocations: 0 / 0.6839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1559, allocations: 0 / 0.6839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1559, allocations: 0 / 0.6839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.156, allocations: 181.5 kB / 0.684 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.156, allocations: 0 / 0.684 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1561, allocations: 23.97 kB / 0.6841 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1561, allocations: 11.88 kB / 0.6841 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1561, allocations: 4 kB / 0.6841 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1562, allocations: 4 kB / 0.6841 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1562, allocations: 0 / 0.6841 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.1565, allocations: 137.8 kB / 0.6842 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.1565, allocations: 88.95 kB / 0.6843 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1566, allocations: 7.938 kB / 0.6843 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.1566, allocations: 4 kB / 0.6843 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.1567, allocations: 11.97 kB / 0.6843 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1567, allocations: 8 kB / 0.6843 GB, free: 4.004 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.849e-05/0.1567, allocations: 79.28 kB / 0.6844 GB, free: 3.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1567, allocations: 0 / 0.6844 GB, free: 3.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1569, allocations: 23.94 kB / 0.6844 GB, free: 3.902 MB / 494.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001664/0.1571, allocations: 119.2 kB / 0.6845 GB, free: 3.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.1574, allocations: 99.92 kB / 0.6846 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1574, allocations: 0 / 0.6846 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1576, allocations: 51.89 kB / 0.6847 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1577, allocations: 8 kB / 0.6847 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.1581, allocations: 189.2 kB / 0.6849 GB, free: 3.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1583, allocations: 0.6846 MB / 0.6855 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1584, allocations: 27.36 kB / 0.6856 GB, free: 2.672 MB / 494.1 MB Notification: Performance of SimCode: time 1.81e-07/0.1584, allocations: 0 / 0.6856 GB, free: 2.672 MB / 494.1 MB Notification: Performance of Templates: time 0.002388/0.1608, allocations: 1.327 MB / 0.6869 GB, free: 1.344 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)