Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00154/0.00154, allocations: 78.88 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001797/0.001797, allocations: 170.8 kB / 22.46 MB, free: 5.371 MB / 14.72 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.205/1.205, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6186 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.423e-05, allocations: 8.203 kB / 0.6186 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001643/0.001677, allocations: 0.5941 MB / 0.6192 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004366/0.002114, allocations: 99.55 kB / 0.6193 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.00214, allocations: 2.406 kB / 0.6193 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.002179, allocations: 4 kB / 0.6193 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.002187, allocations: 0 / 0.6193 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.002611, allocations: 43.77 kB / 0.6194 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.002754, allocations: 67.92 kB / 0.6194 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.002809, allocations: 7.984 kB / 0.6194 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.268e-05/0.002872, allocations: 32.72 kB / 0.6195 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.002918, allocations: 19.97 kB / 0.6195 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.002942, allocations: 5.719 kB / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.003093, allocations: 43.94 kB / 0.6195 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.003143, allocations: 27.95 kB / 0.6196 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.003177, allocations: 15.92 kB / 0.6196 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.003375, allocations: 87.8 kB / 0.6197 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.003379, allocations: 4.75 kB / 0.6197 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003379, allocations: 0 / 0.6197 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.003385, allocations: 4 kB / 0.6197 GB, free: 3.48 MB / 0.5294 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.0006043/0.003989, allocations: 298.2 kB / 0.6199 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.00403, allocations: 12.03 kB / 0.62 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.004082, allocations: 4.938 kB / 0.62 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.004196, allocations: 109.7 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005332/0.004729, allocations: 0.526 MB / 0.6206 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.004748, allocations: 12.31 kB / 0.6206 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.005041, allocations: 78.19 kB / 0.6207 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.005053, allocations: 192 / 0.6207 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.005071, allocations: 4.375 kB / 0.6207 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.005078, allocations: 8.125 kB / 0.6207 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.005464, allocations: 123.8 kB / 0.6208 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.005679, allocations: 125.2 kB / 0.6209 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.006039, allocations: 94.45 kB / 0.621 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.006204, allocations: 40.83 kB / 0.621 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.006238, allocations: 4 kB / 0.6211 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.006277, allocations: 30.56 kB / 0.6211 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.006278, allocations: 0 / 0.6211 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0007004/0.006979, allocations: 149.9 kB / 0.6212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.007047, allocations: 55.34 kB / 0.6213 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.007132, allocations: 97.8 kB / 0.6214 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.007164, allocations: 25.7 kB / 0.6214 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.007218, allocations: 80.14 kB / 0.6215 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.007305, allocations: 39.69 kB / 0.6215 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.007382, allocations: 29.7 kB / 0.6215 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.007582, allocations: 310.8 kB / 0.6218 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.007738, allocations: 35.97 kB / 0.6219 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.007885, allocations: 35.91 kB / 0.6219 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.008197, allocations: 75.98 kB / 0.622 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.0082, allocations: 0 / 0.622 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003537/0.008553, allocations: 117.6 kB / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.008572, allocations: 4 kB / 0.6221 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.008577, allocations: 3.938 kB / 0.6221 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.008595, allocations: 0 / 0.6221 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.008751, allocations: 23.98 kB / 0.6221 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.008764, allocations: 7.922 kB / 0.6221 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.008831, allocations: 11.88 kB / 0.6221 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.008848, allocations: 11.94 kB / 0.6221 GB, free: 0.6406 MB / 0.5294 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 0.0001134/0.008961, allocations: 115.7 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.008981, allocations: 15.94 kB / 0.6223 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.009023, allocations: 11.97 kB / 0.6223 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009025, allocations: 0 / 0.6223 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.00903, allocations: 0 / 0.6223 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.009036, allocations: 3.938 kB / 0.6223 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.009176, allocations: 121.3 kB / 0.6224 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.009177, allocations: 0 / 0.6224 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.009306, allocations: 31.91 kB / 0.6224 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.009307, allocations: 0 / 0.6224 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.009318, allocations: 0 / 0.6224 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.009325, allocations: 8 kB / 0.6224 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009325, allocations: 4 kB / 0.6224 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.009704, allocations: 148.9 kB / 0.6226 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.009723, allocations: 7.938 kB / 0.6226 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.009739, allocations: 0 / 0.6226 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.009806, allocations: 11.98 kB / 0.6226 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.009868, allocations: 7.984 kB / 0.6226 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.00988, allocations: 7.984 kB / 0.6226 GB, free: 96 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.009924, allocations: 83.16 kB / 0.6227 GB, free: 12 kB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.009924, allocations: 0 / 0.6227 GB, free: 12 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002588/0.01018, allocations: 20.08 kB / 0.6227 GB, free: 15.99 MB / 0.545 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.0002341/0.01042, allocations: 123.2 kB / 0.6228 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.01079, allocations: 83 kB / 0.6229 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01079, allocations: 0 / 0.6229 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.01095, allocations: 47.84 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.0111, allocations: 4 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.01156, allocations: 156.8 kB / 0.6231 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.949e-05/0.01163, allocations: 67.34 kB / 0.6232 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.0118, allocations: 39.95 kB / 0.6232 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.01185, allocations: 24.48 kB / 0.6232 GB, free: 15.4 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.01185, allocations: 0 / 0.6232 GB, free: 15.4 MB / 0.545 GB Notification: Performance of Templates: time 0.003772/0.01562, allocations: 0.9947 MB / 0.6242 GB, free: 14.43 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.814736686646938] Failed to read output from testmodel.py, exit status != 0: 0.02445480227470398 0.039247815000000005 0.032798007000000004 Calling exit ...