Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0007829/0.0007829, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007645/0.0007645, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8591/0.8591, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7045/0.7045, allocations: 154.6 MB / 414.5 MB, free: 0.832 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.233e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001041/0.001063, allocations: 0.6019 MB / 0.6199 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.001363, allocations: 95.61 kB / 0.62 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.001386, allocations: 0 / 0.62 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.001419, allocations: 3.938 kB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.001426, allocations: 0 / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.001808, allocations: 51.81 kB / 0.6201 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.001908, allocations: 63.92 kB / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.001944, allocations: 0 / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.001987, allocations: 35.95 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.002021, allocations: 23.97 kB / 0.6202 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.002036, allocations: 0 / 0.6202 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.002142, allocations: 51.92 kB / 0.6202 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.002174, allocations: 19.92 kB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.002197, allocations: 19.97 kB / 0.6203 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.002337, allocations: 87.8 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002339, allocations: 0 / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00234, allocations: 4 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002344, allocations: 3.938 kB / 0.6204 GB, free: 12.18 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003628/0.002707, allocations: 294.3 kB / 0.6206 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.002742, allocations: 9.469 kB / 0.6206 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.002781, allocations: 8.938 kB / 0.6206 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.989e-05/0.002841, allocations: 105.8 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.003087, allocations: 0.526 MB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.0031, allocations: 12.31 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.003253, allocations: 78.19 kB / 0.6213 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.003261, allocations: 192 / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.003272, allocations: 12.36 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003277, allocations: 4.125 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.003458, allocations: 123.8 kB / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.003568, allocations: 121.3 kB / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.003734, allocations: 103.8 kB / 0.6217 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.003805, allocations: 40.83 kB / 0.6217 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.003826, allocations: 0 / 0.6217 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.003844, allocations: 34.56 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 6.82e-07/0.003845, allocations: 0 / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000311/0.004156, allocations: 148.8 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.004193, allocations: 55.62 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.612e-05/0.004229, allocations: 93.8 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.004243, allocations: 29.64 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.004267, allocations: 80.14 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.004308, allocations: 39.64 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.004343, allocations: 33.7 kB / 0.6222 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.004411, allocations: 314.8 kB / 0.6225 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.004483, allocations: 35.97 kB / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.004546, allocations: 31.97 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.004681, allocations: 76.81 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004683, allocations: 0 / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001688/0.004852, allocations: 113.6 kB / 0.6228 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.004863, allocations: 4 kB / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.004867, allocations: 0 / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.004877, allocations: 0 / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.004965, allocations: 31.91 kB / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.00497, allocations: 3.938 kB / 0.6228 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.005256, allocations: 7.938 kB / 0.6228 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.005266, allocations: 8 kB / 0.6228 GB, free: 9.344 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.668e-05/0.005322, allocations: 118.8 kB / 0.6229 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.00533, allocations: 3.953 kB / 0.6229 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.005361, allocations: 11.97 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.005364, allocations: 4 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.005368, allocations: 0 / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.005372, allocations: 7.938 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.949e-05/0.005442, allocations: 121.3 kB / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005443, allocations: 0 / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.005497, allocations: 31.91 kB / 0.6231 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005499, allocations: 0 / 0.6231 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005506, allocations: 4 kB / 0.6231 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005506, allocations: 0 / 0.6231 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005507, allocations: 0 / 0.6231 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.005688, allocations: 155.4 kB / 0.6233 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.005694, allocations: 7.938 kB / 0.6233 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.005704, allocations: 0 / 0.6233 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.557e-05/0.00573, allocations: 15.92 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.005772, allocations: 7.984 kB / 0.6233 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.005777, allocations: 3.984 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.076e-05/0.005798, allocations: 83.22 kB / 0.6234 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005798, allocations: 0 / 0.6234 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001571/0.005955, allocations: 24 kB / 0.6234 GB, free: 8.691 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001328/0.006088, allocations: 123.1 kB / 0.6235 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.006268, allocations: 79.88 kB / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.006269, allocations: 0 / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.00634, allocations: 43.91 kB / 0.6236 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.00644, allocations: 10.19 kB / 0.6236 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.006704, allocations: 182.7 kB / 0.6238 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.006743, allocations: 67.34 kB / 0.6239 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.006779, allocations: 24.47 kB / 0.6239 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/0.006779, allocations: 0 / 0.6239 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of Templates: time 0.001872/0.008651, allocations: 1.347 MB / 0.6252 GB, free: 6.762 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.978587850928307] Failed to read output from testmodel.py, exit status != 0: 0.012974658980965614 0.02087066599999994 0.01698722499999994 Calling exit ...