Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.833/0.833, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.157e-05, allocations: 2.312 kB / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002202/0.002224, allocations: 1.636 MB / 481.7 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003794/0.002603, allocations: 197.1 kB / 481.9 MB, free: 5.098 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.002641, allocations: 0 / 481.9 MB, free: 5.098 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.002667, allocations: 5.422 kB / 481.9 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.002712, allocations: 6.438 kB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.002994, allocations: 43.81 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.003062, allocations: 37.34 kB / 482 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.003141, allocations: 17.58 kB / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.003183, allocations: 17.7 kB / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.003222, allocations: 13.52 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.003235, allocations: 4.625 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.003369, allocations: 55.94 kB / 482.1 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.003383, allocations: 10.25 kB / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.003399, allocations: 13.48 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.003528, allocations: 71.39 kB / 482.2 MB, free: 4.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00353, allocations: 0.625 kB / 482.2 MB, free: 4.828 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003531, allocations: 4 kB / 482.2 MB, free: 4.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.003534, allocations: 0.5938 kB / 482.2 MB, free: 4.824 MB / 442.7 MB 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.0002859/0.00382, allocations: 253.4 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.003849, allocations: 8.031 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.003872, allocations: 7.703 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.948e-05/0.003951, allocations: 109.8 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.003967, allocations: 4.375 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.003976, allocations: 4.375 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.004083, allocations: 67.48 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004091, allocations: 192 / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.004099, allocations: 6.219 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004105, allocations: 4.375 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.00413, allocations: 9.781 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.004344, allocations: 168.2 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.004472, allocations: 39.59 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.004487, allocations: 4.859 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.004606, allocations: 35.58 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.004625, allocations: 31.53 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004626, allocations: 0 / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001035/0.00473, allocations: 46.34 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.004753, allocations: 55.34 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.004805, allocations: 111.8 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004816, allocations: 30.36 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.004846, allocations: 85.3 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.004862, allocations: 13.88 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.004888, allocations: 13.72 kB / 483.3 MB, free: 3.617 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.004959, allocations: 314.8 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.00497, allocations: 7.984 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.004978, allocations: 0 / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.005003, allocations: 17.59 kB / 483.6 MB, free: 3.273 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.005005, allocations: 0 / 483.6 MB, free: 3.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.852e-05/0.005053, allocations: 50.5 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.005065, allocations: 4 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.00507, allocations: 5.828 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.00508, allocations: 0 / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.9e-05/0.005119, allocations: 9.312 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005121, allocations: 0 / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.00514, allocations: 7.984 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.005144, allocations: 1.031 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.005195, allocations: 109.8 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.00521, allocations: 4.594 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.005276, allocations: 53.3 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005278, allocations: 1.438 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.005279, allocations: 0 / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.005281, allocations: 3.938 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.212e-05/0.005363, allocations: 78.44 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005364, allocations: 256 / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.005389, allocations: 16.75 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005391, allocations: 0 / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.005395, allocations: 0.7812 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005395, allocations: 0 / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.005397, allocations: 4.906 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.919e-05/0.005466, allocations: 135.5 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.005474, allocations: 8 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.005481, allocations: 0.5312 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.089e-05/0.005512, allocations: 0.5312 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.005549, allocations: 13.48 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005551, allocations: 0 / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.231e-05/0.005564, allocations: 16.84 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005564, allocations: 0 / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000144/0.005708, allocations: 19.94 kB / 484.1 MB, free: 2.699 MB / 442.7 MB 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 (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.0001175/0.005825, allocations: 98.02 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.843e-05/0.005884, allocations: 16.84 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.005888, allocations: 8.844 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.005905, allocations: 8.859 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.00603, allocations: 4.969 kB / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.006233, allocations: 127.2 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.006265, allocations: 59.3 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.006284, allocations: 1.906 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.006326, allocations: 59.36 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006327, allocations: 0 / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of Templates: time 0.002488/0.008815, allocations: 1.033 MB / 485.5 MB, free: 1.305 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.654607577715069]