Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000788/0.000788, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001891, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007403/0.0007403, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009929/0.001733, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.104, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8233/0.8233, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2861/1.109, allocations: 49.13 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 450 MB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.46e-05, allocations: 7.359 kB / 450 MB, free: 4.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001828/0.001842, allocations: 1.649 MB / 451.6 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002386/0.002081, allocations: 178.3 kB / 451.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.002108, allocations: 0 / 451.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.002129, allocations: 4.703 kB / 451.8 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.027e-05/0.002149, allocations: 1.312 kB / 451.8 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.002335, allocations: 48.69 kB / 451.8 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.002401, allocations: 39.02 kB / 451.9 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.00247, allocations: 17.06 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.002522, allocations: 28.89 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.002558, allocations: 13.62 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.002572, allocations: 4.656 kB / 451.9 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.002691, allocations: 62.05 kB / 452 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.002705, allocations: 5.531 kB / 452 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.002721, allocations: 9.75 kB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.002833, allocations: 51.39 kB / 452.1 MB, free: 2.512 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.002844, allocations: 3.984 kB / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002844, allocations: 0.6562 kB / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.002852, allocations: 0 / 452.1 MB, free: 2.508 MB / 426.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.0003195/0.003171, allocations: 265.3 kB / 452.3 MB, free: 2.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.003205, allocations: 8.688 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.003233, allocations: 8.938 kB / 452.4 MB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.486e-05/0.003308, allocations: 113.7 kB / 452.5 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.003324, allocations: 384 / 452.5 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.003334, allocations: 7 kB / 452.5 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.003436, allocations: 68.12 kB / 452.5 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.003442, allocations: 192 / 452.5 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.003449, allocations: 0.9688 kB / 452.5 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003453, allocations: 384 / 452.5 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.003477, allocations: 12.56 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.003678, allocations: 173.6 kB / 452.7 MB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.003798, allocations: 30.56 kB / 452.8 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.003814, allocations: 14.44 kB / 452.8 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.003927, allocations: 26.05 kB / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.003946, allocations: 30.56 kB / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.003947, allocations: 0 / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 9.784e-05/0.004045, allocations: 54.22 kB / 452.9 MB, free: 1.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.004066, allocations: 51.41 kB / 452.9 MB, free: 1.562 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.554e-05/0.004111, allocations: 111.6 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.004121, allocations: 25.7 kB / 453.1 MB, free: 1.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.004153, allocations: 85.91 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.004167, allocations: 7.938 kB / 453.2 MB, free: 1.316 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.004191, allocations: 17.72 kB / 453.2 MB, free: 1.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.004256, allocations: 316.4 kB / 453.5 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.004267, allocations: 7.984 kB / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.004275, allocations: 4.5 kB / 453.5 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.004301, allocations: 19.03 kB / 453.5 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004303, allocations: 0 / 453.5 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.227e-05/0.004345, allocations: 42.91 kB / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.004355, allocations: 4.875 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.004359, allocations: 7.938 kB / 453.6 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.004369, allocations: 0.6875 kB / 453.6 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.261e-05/0.004412, allocations: 5.312 kB / 453.6 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.004414, allocations: 4 kB / 453.6 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.004436, allocations: 7.938 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-06/0.00444, allocations: 0 / 453.6 MB, free: 0.8711 MB / 426.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 4.774e-05/0.004487, allocations: 115.7 kB / 453.7 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.004499, allocations: 0.9844 kB / 453.7 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.004567, allocations: 57.48 kB / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.00457, allocations: 4 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.004571, allocations: 1.062 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.004575, allocations: 0.9375 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.744e-05/0.004652, allocations: 78.59 kB / 453.8 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.004653, allocations: 0 / 453.8 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.004677, allocations: 8.906 kB / 453.8 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-06/0.004681, allocations: 3.984 kB / 453.8 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.004682, allocations: 0.5469 kB / 453.8 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-06/0.004686, allocations: 0.5938 kB / 453.8 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.004687, allocations: 5.375 kB / 453.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004688, allocations: 0 / 453.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.298e-05/0.004751, allocations: 132.7 kB / 454 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.00476, allocations: 8.484 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/0.004789, allocations: 0.7812 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.004824, allocations: 15.92 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.004826, allocations: 1.438 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.14e-05/0.004838, allocations: 12.84 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004838, allocations: 0.6562 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001336/0.004972, allocations: 15.94 kB / 454 MB, free: 380 kB / 426.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.0001242/0.005096, allocations: 104.6 kB / 454.1 MB, free: 268 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.763e-05/0.005153, allocations: 20.84 kB / 454.2 MB, free: 244 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.005156, allocations: 0.8438 kB / 454.2 MB, free: 244 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.00518, allocations: 14.45 kB / 454.2 MB, free: 228 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.005308, allocations: 44.78 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.005604, allocations: 121.7 kB / 454.3 MB, free: 36 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.005644, allocations: 60.11 kB / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.022e-05/0.005664, allocations: 9.125 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.005703, allocations: 51.38 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of SimCode: time 4.2e-07/0.005704, allocations: 0.625 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of Templates: time 0.002534/0.008238, allocations: 1.099 MB / 455.6 MB, free: 14.86 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.530068390071392]