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.0009254/0.0009254, allocations: 80.88 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.0009944/0.0009944, allocations: 181 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7995/0.7995, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.443e-06/1.443e-06, allocations: 0 / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.719e-05, allocations: 2.312 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001945/0.001962, allocations: 1.59 MB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003511/0.002313, allocations: 186.3 kB / 482.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.002348, allocations: 0.875 kB / 482.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.002375, allocations: 3.938 kB / 482.1 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.002424, allocations: 6.688 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.002744, allocations: 60.89 kB / 482.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.002807, allocations: 37.17 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.824e-05/0.002875, allocations: 12.67 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.002914, allocations: 21.3 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.00295, allocations: 19.06 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.002963, allocations: 4 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.003061, allocations: 49 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.003074, allocations: 5.531 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.003091, allocations: 12.86 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003208, allocations: 67.09 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.00321, allocations: 0.5469 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003211, allocations: 1.062 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.003213, allocations: 0 / 482.4 MB, free: 4.496 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.0005348/0.003748, allocations: 259.1 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.003776, allocations: 8.031 kB / 482.7 MB, free: 4.215 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.003802, allocations: 8.922 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.739e-05/0.003869, allocations: 112.1 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.003886, allocations: 4.375 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.003895, allocations: 4.375 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.003995, allocations: 58.94 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.004002, allocations: 5.391 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.004008, allocations: 1.531 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004013, allocations: 384 / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.004038, allocations: 15.92 kB / 482.9 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.004236, allocations: 168.8 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.004362, allocations: 31.81 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.004379, allocations: 12.84 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.004491, allocations: 27.31 kB / 483.1 MB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.004509, allocations: 34.56 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.00451, allocations: 0 / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001075/0.004618, allocations: 53.36 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.004644, allocations: 56.17 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.843e-05/0.004692, allocations: 110.8 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.004702, allocations: 25.7 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.004732, allocations: 89.19 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.004745, allocations: 8.844 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.004773, allocations: 17.72 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.004837, allocations: 318.8 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.004846, allocations: 4.875 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-06/0.004856, allocations: 4 kB / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.004882, allocations: 17.75 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004883, allocations: 0 / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.458e-05/0.004928, allocations: 43.12 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.004938, allocations: 4 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.004943, allocations: 8.562 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.004953, allocations: 0.625 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.004996, allocations: 7.984 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.004999, allocations: 0.625 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.005016, allocations: 4.625 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.005019, allocations: 0 / 483.9 MB, free: 2.867 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 4.629e-05/0.005066, allocations: 111.2 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.005077, allocations: 0.5 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.005146, allocations: 57.98 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005147, allocations: 0 / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.005149, allocations: 5.781 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005152, allocations: 0 / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.769e-05/0.005229, allocations: 65.89 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.00523, allocations: 0.6562 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.005253, allocations: 8.688 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005255, allocations: 3.984 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.005261, allocations: 4.906 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005261, allocations: 0 / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.005264, allocations: 7.938 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.535e-05/0.005329, allocations: 137.2 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/0.005335, allocations: 8.594 kB / 484.3 MB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.005343, allocations: 4 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.108e-05/0.005374, allocations: 8.703 kB / 484.3 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.005407, allocations: 9.156 kB / 484.4 MB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.005409, allocations: 1.219 kB / 484.4 MB, free: 2.398 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.829e-06/0.005419, allocations: 12.84 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005419, allocations: 0 / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.00556, allocations: 24.38 kB / 484.4 MB, free: 2.359 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.0001111/0.005671, allocations: 94.31 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.34e-05/0.005724, allocations: 20.84 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.005726, allocations: 0 / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.781e-05/0.005744, allocations: 17.53 kB / 484.5 MB, free: 2.215 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.005854, allocations: 7.984 kB / 484.5 MB, free: 2.207 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.006047, allocations: 123.5 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.839e-05/0.006075, allocations: 56.52 kB / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.07e-05/0.006096, allocations: 8.859 kB / 484.7 MB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.006136, allocations: 55.38 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006137, allocations: 1.344 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of Templates: time 0.002407/0.008544, allocations: 1.045 MB / 485.8 MB, free: 0.9492 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.659602208994329]