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.0009191/0.0009191, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008216/0.0008216, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8798/0.8798, allocations: 177.2 MB / 203.5 MB, free: 5.719 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-531:190: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-531:198: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.7109/0.7109, allocations: 154.5 MB / 414.5 MB, free: 0.8242 MB / 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.673e-06/1.673e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.31e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001832/0.001855, allocations: 1.553 MB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003642/0.002219, allocations: 179.4 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.002253, allocations: 0 / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.002281, allocations: 7.922 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.932e-05/0.002321, allocations: 11.92 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.002641, allocations: 47.83 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.002709, allocations: 39.91 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.002795, allocations: 8 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.002834, allocations: 27.84 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.00287, allocations: 15.97 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.002885, allocations: 4 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.002989, allocations: 55.88 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.002999, allocations: 4 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.003019, allocations: 15.92 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.003165, allocations: 79.77 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003167, allocations: 4 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003168, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.003173, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB 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.0003503/0.003523, allocations: 278.2 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.003555, allocations: 13.41 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.003587, allocations: 4.938 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.003658, allocations: 105.8 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.003677, allocations: 8.375 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.003686, allocations: 384 / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.003817, allocations: 74.16 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.003825, allocations: 192 / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.003834, allocations: 384 / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.003838, allocations: 384 / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.003937, allocations: 47.89 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.004204, allocations: 208.6 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.004397, allocations: 58.48 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.004448, allocations: 36.88 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.004564, allocations: 11.98 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.00458, allocations: 34.5 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.004581, allocations: 0 / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/0.004803, allocations: 101.6 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.004828, allocations: 55.34 kB / 0.6223 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.138e-05/0.004879, allocations: 105.8 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.004887, allocations: 29.7 kB / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.004924, allocations: 88.08 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.004937, allocations: 3.953 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.004964, allocations: 21.7 kB / 0.6225 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.005036, allocations: 314.8 kB / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.005079, allocations: 15.98 kB / 0.6228 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.005119, allocations: 23.97 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.172e-05/0.005201, allocations: 44.83 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005203, allocations: 0 / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001124/0.005315, allocations: 85.53 kB / 0.623 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.005325, allocations: 7.938 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005329, allocations: 0 / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.005339, allocations: 0 / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.00538, allocations: 12.23 kB / 0.623 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.005384, allocations: 0 / 0.623 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.005411, allocations: 19.92 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005415, allocations: 0 / 0.623 GB, free: 9.191 MB / 0.5886 GB 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.75e-05/0.005473, allocations: 114.8 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.005486, allocations: 7.938 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.005632, allocations: 77.33 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005634, allocations: 0 / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.005637, allocations: 0 / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005639, allocations: 0 / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.584e-05/0.005725, allocations: 125.3 kB / 0.6233 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.005726, allocations: 0 / 0.6233 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.005758, allocations: 15.92 kB / 0.6233 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005759, allocations: 0 / 0.6233 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.005767, allocations: 7.938 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005767, allocations: 0 / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005768, allocations: 0 / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.005899, allocations: 171.8 kB / 0.6235 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-06/0.005903, allocations: 3.938 kB / 0.6235 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.005914, allocations: 11.94 kB / 0.6235 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.005954, allocations: 8.031 kB / 0.6235 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.005992, allocations: 7.984 kB / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.005996, allocations: 7.984 kB / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.006025, allocations: 79.28 kB / 0.6236 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.006025, allocations: 0 / 0.6236 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001699/0.006195, allocations: 16 kB / 0.6236 GB, free: 8.48 MB / 0.5886 GB 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.0001226/0.006318, allocations: 119.1 kB / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.006453, allocations: 47.95 kB / 0.6238 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006455, allocations: 0 / 0.6238 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.006501, allocations: 27.97 kB / 0.6238 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.006674, allocations: 0 / 0.6238 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.0069, allocations: 142.6 kB / 0.624 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.006943, allocations: 67.28 kB / 0.624 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.006968, allocations: 20.48 kB / 0.624 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.006968, allocations: 0 / 0.624 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of Templates: time 0.001652/0.008621, allocations: 0.9851 MB / 0.625 GB, free: 7.023 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.973522926680744] Failed to read output from testmodel.py, exit status != 0: 0.013311312533915043 0.02097926 0.016166653 Calling exit ...