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.001139/0.001139, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001034/0.001034, allocations: 173 kB / 23.36 MB, free: 1.129 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.782/0.782, allocations: 154.9 MB / 415.1 MB, free: 236 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.663e-06/1.663e-06, allocations: 0.9844 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.854e-05, allocations: 3.438 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002787/0.002805, allocations: 1.64 MB / 482 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003893/0.003195, allocations: 194.1 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.003233, allocations: 0 / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.003261, allocations: 3.938 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.062e-05/0.003322, allocations: 9.469 kB / 482.2 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.003617, allocations: 44.47 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.00369, allocations: 37.94 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.003768, allocations: 15.97 kB / 482.3 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.003809, allocations: 18.75 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.003843, allocations: 13.19 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.003858, allocations: 5.875 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.003981, allocations: 55.94 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.003994, allocations: 13.5 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.004011, allocations: 9.531 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.004129, allocations: 66.47 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004131, allocations: 1.172 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004132, allocations: 0 / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.004135, allocations: 5 kB / 482.5 MB, free: 4.402 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.0002842/0.004419, allocations: 257.6 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.004449, allocations: 9.984 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.004474, allocations: 4.938 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.004547, allocations: 106.7 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.004564, allocations: 384 / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.004572, allocations: 8.375 kB / 482.9 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.004675, allocations: 68 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.004682, allocations: 192 / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.004688, allocations: 0.9688 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.004693, allocations: 384 / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.876e-05/0.004722, allocations: 21.47 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.004941, allocations: 165 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.005074, allocations: 39.78 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.005088, allocations: 4.859 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.005215, allocations: 26.94 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.005239, allocations: 34.56 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.00524, allocations: 3.938 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001116/0.005352, allocations: 45.62 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.005376, allocations: 53.59 kB / 483.4 MB, free: 3.473 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.005425, allocations: 106.7 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.005435, allocations: 29.7 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.005466, allocations: 88.62 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.00548, allocations: 9.25 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.005504, allocations: 21.7 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.005571, allocations: 311.8 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.005581, allocations: 7.984 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.00559, allocations: 0.875 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.005616, allocations: 21.86 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005617, allocations: 0.875 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.32e-05/0.00566, allocations: 42.59 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.00567, allocations: 4 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005675, allocations: 4.562 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005685, allocations: 0.625 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.005725, allocations: 12 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005728, allocations: 0.625 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.005746, allocations: 8.609 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.005749, allocations: 0.875 kB / 484 MB, free: 2.777 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.84e-05/0.005797, allocations: 107 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.005812, allocations: 8.438 kB / 484.1 MB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.005878, allocations: 59.05 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.00588, allocations: 0.8125 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005881, allocations: 0 / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005884, allocations: 1.781 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.879e-05/0.005963, allocations: 73.88 kB / 484.3 MB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005964, allocations: 3.938 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.005988, allocations: 8 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.005989, allocations: 0 / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.005993, allocations: 0.7188 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005994, allocations: 0 / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.005996, allocations: 4.656 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.827e-05/0.006064, allocations: 140.1 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.006071, allocations: 8.938 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.00608, allocations: 4 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.006115, allocations: 1.219 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.006151, allocations: 13.7 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.006153, allocations: 0 / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.208e-05/0.006166, allocations: 17.41 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006166, allocations: 0 / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.006301, allocations: 20.91 kB / 484.5 MB, free: 2.273 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.000108/0.006409, allocations: 93.58 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.006466, allocations: 20.78 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.006468, allocations: 4 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.006486, allocations: 13.77 kB / 484.6 MB, free: 2.129 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.006599, allocations: 4 kB / 484.6 MB, free: 2.125 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.006796, allocations: 129 kB / 484.7 MB, free: 1.977 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.74e-05/0.006823, allocations: 55.36 kB / 484.8 MB, free: 1.902 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.006842, allocations: 1.219 kB / 484.8 MB, free: 1.902 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.006883, allocations: 59.36 kB / 484.8 MB, free: 1.844 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.006884, allocations: 0 / 484.8 MB, free: 1.844 MB / 442.7 MB Notification: Performance of Templates: time 0.002349/0.009233, allocations: 1.047 MB / 485.9 MB, free: 0.8711 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6318661719560623]