Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7797/0.7797, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 186.2 kB / 173.8 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.0008873, allocations: 93.98 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000536/0.0005361, allocations: 10.91 kB / 0.5604 GB, free: 97.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1781, allocations: 76.76 MB / 0.6353 GB, free: 30.6 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.3179, allocations: 102.3 MB / 0.7352 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.3182, allocations: 75.94 kB / 0.7353 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003747/0.3219, allocations: 1.343 MB / 0.7366 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3219, allocations: 0 / 0.7366 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.322, allocations: 0 / 0.7366 GB, free: 6.777 MB / 0.5105 GB 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.0003928/0.3224, allocations: 363.3 kB / 0.7369 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3224, allocations: 8.031 kB / 0.7369 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.3225, allocations: 11.86 kB / 0.7369 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.3226, allocations: 163 kB / 0.7371 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.3228, allocations: 281 kB / 0.7374 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.3228, allocations: 8 kB / 0.7374 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.3231, allocations: 77.56 kB / 0.7374 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3231, allocations: 0 / 0.7374 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.3231, allocations: 4 kB / 0.7374 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3232, allocations: 3.938 kB / 0.7374 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.3235, allocations: 139.8 kB / 0.7376 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.3237, allocations: 177.6 kB / 0.7378 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.324, allocations: 90.52 kB / 0.7378 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.324, allocations: 8.328 kB / 0.7378 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.324, allocations: 34.5 kB / 0.7379 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.324, allocations: 0 / 0.7379 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0005022/0.3246, allocations: 149.5 kB / 0.738 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.3246, allocations: 55.41 kB / 0.7381 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.635e-05/0.3246, allocations: 89 kB / 0.7382 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3247, allocations: 25.7 kB / 0.7382 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.3247, allocations: 80.33 kB / 0.7383 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.3248, allocations: 31.55 kB / 0.7383 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.3248, allocations: 0 / 0.7383 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3249, allocations: 326.8 kB / 0.7386 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.325, allocations: 31.92 kB / 0.7386 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3252, allocations: 35.97 kB / 0.7387 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3253, allocations: 36.62 kB / 0.7387 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3253, allocations: 0 / 0.7387 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000313/0.3256, allocations: 117.4 kB / 0.7388 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3257, allocations: 4 kB / 0.7388 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3257, allocations: 4 kB / 0.7388 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3257, allocations: 0 / 0.7388 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3259, allocations: 27.92 kB / 0.7388 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3259, allocations: 4 kB / 0.7389 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.3259, allocations: 15.92 kB / 0.7389 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.326, allocations: 0 / 0.7389 GB, free: 4.148 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/0.3261, allocations: 125.7 kB / 0.739 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.3261, allocations: 7.906 kB / 0.739 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.3261, allocations: 11.97 kB / 0.739 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3261, allocations: 0 / 0.739 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3261, allocations: 4 kB / 0.739 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3262, allocations: 0 / 0.739 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3263, allocations: 181.6 kB / 0.7392 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3263, allocations: 0 / 0.7392 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3264, allocations: 27.97 kB / 0.7392 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3264, allocations: 3.938 kB / 0.7392 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3265, allocations: 0 / 0.7392 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3265, allocations: 0 / 0.7392 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3265, allocations: 4 kB / 0.7392 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.3268, allocations: 148.9 kB / 0.7394 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.3269, allocations: 85.02 kB / 0.7394 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3269, allocations: 3.984 kB / 0.7394 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.327, allocations: 11.98 kB / 0.7395 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.327, allocations: 7.984 kB / 0.7395 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3271, allocations: 7.984 kB / 0.7395 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.3271, allocations: 75.28 kB / 0.7395 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3271, allocations: 0 / 0.7395 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002215/0.3273, allocations: 24 kB / 0.7396 GB, free: 3.332 MB / 0.5105 GB 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 (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.0002163/0.3275, allocations: 134.9 kB / 0.7397 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.3279, allocations: 83.88 kB / 0.7398 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3279, allocations: 0 / 0.7398 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.328, allocations: 47.97 kB / 0.7398 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.493e-05/0.3281, allocations: 2.031 kB / 0.7398 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.3285, allocations: 183.1 kB / 0.74 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3288, allocations: 0.6887 MB / 0.7407 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.329, allocations: 39.94 kB / 0.7407 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.329, allocations: 11.44 kB / 0.7407 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.329, allocations: 0 / 0.7407 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of Templates: time 0.003281/0.3323, allocations: 0.9445 MB / 0.7416 GB, free: 1.152 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)