Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007826/0.0007826, allocations: 93.58 kB / 16.02 MB, free: 84 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.0009853/0.0009853, allocations: 175.2 kB / 16.92 MB, free: 6.688 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.45/1.45, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000596/0.0005962, allocations: 12 kB / 495.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2217, allocations: 77.53 MB / 0.56 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001124/0.2229, allocations: 311.7 kB / 0.5603 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005922/0.2235, allocations: 110.2 kB / 0.5604 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.2236, allocations: 4 kB / 0.5604 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.2236, allocations: 0 / 0.5604 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.243e-06/0.2236, allocations: 0 / 0.5604 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.224, allocations: 35.89 kB / 0.5604 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.2242, allocations: 59.94 kB / 0.5605 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.2243, allocations: 0 / 0.5605 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.2243, allocations: 23.97 kB / 0.5605 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.2244, allocations: 27.97 kB / 0.5605 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.2244, allocations: 0 / 0.5605 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.2246, allocations: 47.95 kB / 0.5606 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.2247, allocations: 23.91 kB / 0.5606 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.2247, allocations: 45.62 kB / 0.5606 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2249, allocations: 75.81 kB / 0.5607 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2249, allocations: 0 / 0.5607 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2249, allocations: 0 / 0.5607 GB, free: 8.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2249, allocations: 0 / 0.5607 GB, free: 8.23 MB / 430.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.0005174/0.2255, allocations: 353.3 kB / 0.561 GB, free: 7.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.2255, allocations: 12.03 kB / 0.561 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.2256, allocations: 8.844 kB / 0.5611 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2257, allocations: 172.5 kB / 0.5612 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/0.226, allocations: 281.5 kB / 0.5615 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.226, allocations: 4.375 kB / 0.5615 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.2263, allocations: 85.58 kB / 0.5616 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2263, allocations: 3.938 kB / 0.5616 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2263, allocations: 0 / 0.5616 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2263, allocations: 0 / 0.5616 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.2267, allocations: 139.8 kB / 0.5617 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.2269, allocations: 173.7 kB / 0.5619 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.2272, allocations: 98.45 kB / 0.562 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.2274, allocations: 40.83 kB / 0.562 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.2274, allocations: 8 kB / 0.562 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2275, allocations: 30.89 kB / 0.562 GB, free: 6.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.2275, allocations: 0 / 0.562 GB, free: 6.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005655/0.228, allocations: 161.4 kB / 0.5622 GB, free: 6.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2281, allocations: 55.34 kB / 0.5623 GB, free: 6.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.564e-05/0.2281, allocations: 89.86 kB / 0.5623 GB, free: 6.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.2282, allocations: 29.7 kB / 0.5624 GB, free: 6.266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.2282, allocations: 80.14 kB / 0.5624 GB, free: 6.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.2283, allocations: 43.47 kB / 0.5625 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.2283, allocations: 13.72 kB / 0.5625 GB, free: 6.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2285, allocations: 318.8 kB / 0.5628 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2286, allocations: 31.98 kB / 0.5628 GB, free: 5.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2288, allocations: 35.91 kB / 0.5629 GB, free: 5.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.229, allocations: 78.12 kB / 0.5629 GB, free: 5.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2291, allocations: 0 / 0.5629 GB, free: 5.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003288/0.2294, allocations: 109.5 kB / 0.563 GB, free: 5.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2294, allocations: 11.94 kB / 0.5631 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2294, allocations: 0 / 0.5631 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2295, allocations: 3.938 kB / 0.5631 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.2296, allocations: 23.97 kB / 0.5631 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2296, allocations: 7.938 kB / 0.5631 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.2297, allocations: 7.938 kB / 0.5631 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2297, allocations: 11.98 kB / 0.5631 GB, free: 5.477 MB / 430.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.233e-05/0.2298, allocations: 109.8 kB / 0.5632 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.2298, allocations: 11.84 kB / 0.5632 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.2299, allocations: 11.97 kB / 0.5632 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2299, allocations: 3.984 kB / 0.5632 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2299, allocations: 0 / 0.5632 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2299, allocations: 8 kB / 0.5633 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.2301, allocations: 169.7 kB / 0.5634 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2301, allocations: 0 / 0.5634 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.2302, allocations: 27.92 kB / 0.5634 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2302, allocations: 3.938 kB / 0.5634 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2302, allocations: 7.984 kB / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2302, allocations: 0 / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2302, allocations: 0 / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.2306, allocations: 145.5 kB / 0.5636 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.2306, allocations: 81.02 kB / 0.5637 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2307, allocations: 7.938 kB / 0.5637 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.2307, allocations: 4 kB / 0.5637 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.2308, allocations: 11.97 kB / 0.5637 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2308, allocations: 8 kB / 0.5637 GB, free: 4.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.632e-05/0.2309, allocations: 75.28 kB / 0.5638 GB, free: 4.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2309, allocations: 3.938 kB / 0.5638 GB, free: 4.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.2311, allocations: 20 kB / 0.5638 GB, free: 4.684 MB / 430.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.0002101/0.2313, allocations: 127.2 kB / 0.5639 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.2317, allocations: 80.92 kB / 0.564 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2317, allocations: 3.938 kB / 0.564 GB, free: 4.469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2318, allocations: 47.91 kB / 0.564 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.232, allocations: 15.92 kB / 0.5641 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.2324, allocations: 166 kB / 0.5642 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2327, allocations: 0.6887 MB / 0.5649 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.2328, allocations: 31.97 kB / 0.5649 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.2329, allocations: 19.42 kB / 0.5649 GB, free: 3.457 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2329, allocations: 0 / 0.5649 GB, free: 3.457 MB / 430.1 MB Notification: Performance of Templates: time 0.003407/0.2363, allocations: 0.9606 MB / 0.5659 GB, free: 2.496 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)