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.7326/0.7326, allocations: 127.4 MB / 134.9 MB, free: 3.48 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.001068/0.001068, allocations: 169.5 kB / 164.6 MB, free: 11.64 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.47/1.47, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0009918/0.000992, allocations: 91.58 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.449e-05, allocations: 5.844 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.2423, allocations: 101.5 MB / 0.7207 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.2426, allocations: 79.94 kB / 0.7207 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00362/0.2462, allocations: 1.324 MB / 0.722 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2462, allocations: 4 kB / 0.722 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2462, allocations: 0 / 0.722 GB, free: 4.062 MB / 0.4948 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.0003903/0.2466, allocations: 354.5 kB / 0.7224 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2467, allocations: 8.031 kB / 0.7224 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.2467, allocations: 11.95 kB / 0.7224 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.126e-05/0.2468, allocations: 170.9 kB / 0.7226 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.2471, allocations: 273 kB / 0.7228 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.2471, allocations: 4 kB / 0.7228 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000182/0.2473, allocations: 123.8 kB / 0.7229 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.2474, allocations: 65.59 kB / 0.723 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2474, allocations: 0 / 0.723 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2474, allocations: 4 kB / 0.723 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2474, allocations: 4 kB / 0.723 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2476, allocations: 158.1 kB / 0.7232 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.2477, allocations: 78.48 kB / 0.7232 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.2478, allocations: 32.84 kB / 0.7233 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2478, allocations: 4 kB / 0.7233 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2478, allocations: 34.56 kB / 0.7233 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.2478, allocations: 0 / 0.7233 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.00135/0.2492, allocations: 205.8 kB / 0.7235 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2492, allocations: 51.41 kB / 0.7236 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.98e-05/0.2493, allocations: 85 kB / 0.7236 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2493, allocations: 25.7 kB / 0.7237 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.2493, allocations: 88.27 kB / 0.7237 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.2494, allocations: 35.45 kB / 0.7238 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.2494, allocations: 7.938 kB / 0.7238 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2495, allocations: 314.8 kB / 0.7241 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.2495, allocations: 23.98 kB / 0.7241 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.2496, allocations: 24.05 kB / 0.7241 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.2508, allocations: 143.8 kB / 0.7243 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2508, allocations: 0 / 0.7243 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001279/0.2521, allocations: 201.4 kB / 0.7245 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2521, allocations: 5.562 kB / 0.7245 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2521, allocations: 0 / 0.7245 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2521, allocations: 0 / 0.7245 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2523, allocations: 27.97 kB / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2523, allocations: 7.938 kB / 0.7245 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.2524, allocations: 7.906 kB / 0.7245 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2524, allocations: 3.984 kB / 0.7245 GB, free: 1.27 MB / 0.4948 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 () * 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 7.452e-05/0.2525, allocations: 108.9 kB / 0.7246 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.2525, allocations: 4 kB / 0.7246 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.2525, allocations: 12.39 kB / 0.7246 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2525, allocations: 4 kB / 0.7246 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2525, allocations: 0 / 0.7246 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2525, allocations: 0 / 0.7246 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2527, allocations: 162 kB / 0.7248 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2527, allocations: 0 / 0.7248 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.2528, allocations: 23.97 kB / 0.7248 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2528, allocations: 7.953 kB / 0.7248 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.2528, allocations: 0 / 0.7248 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2528, allocations: 0 / 0.7248 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2528, allocations: 3.938 kB / 0.7248 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2541, allocations: 232.9 kB / 0.725 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.2542, allocations: 85.02 kB / 0.7251 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2542, allocations: 7.938 kB / 0.7251 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.2543, allocations: 4 kB / 0.7251 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2544, allocations: 15.97 kB / 0.7252 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.2544, allocations: 4 kB / 0.7252 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.211e-05/0.2544, allocations: 75.28 kB / 0.7252 GB, free: 468 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2544, allocations: 0 / 0.7252 GB, free: 468 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002375/0.2547, allocations: 23.94 kB / 0.7253 GB, free: 444 kB / 0.4948 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 () * 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.0001795/0.2549, allocations: 123.2 kB / 0.7254 GB, free: 308 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.255, allocations: 63.97 kB / 0.7254 GB, free: 244 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.255, allocations: 6.156 kB / 0.7254 GB, free: 240 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.2551, allocations: 39.91 kB / 0.7255 GB, free: 200 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.759e-05/0.2552, allocations: 3.938 kB / 0.7255 GB, free: 196 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.2554, allocations: 110.3 kB / 0.7256 GB, free: 64 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.2557, allocations: 0.6885 MB / 0.7263 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.2558, allocations: 35.94 kB / 0.7263 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.2558, allocations: 23.42 kB / 0.7263 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.2558, allocations: 0 / 0.7263 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.002626/0.2585, allocations: 0.9341 MB / 0.7272 GB, free: 14.36 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)