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.002471/0.002471, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002886/0.002886, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.366/1.366, allocations: 154.8 MB / 414.4 MB, free: 456 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 178] 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.743e-06/1.743e-06, allocations: 3.938 kB / 0.5199 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.045e-05, allocations: 3.312 kB / 0.5199 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001708/0.001738, allocations: 0.6008 MB / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003923/0.002131, allocations: 99.66 kB / 0.5206 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.00215, allocations: 0 / 0.5206 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.002193, allocations: 0 / 0.5206 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.002199, allocations: 0 / 0.5206 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.002545, allocations: 40.48 kB / 0.5206 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.00269, allocations: 64.47 kB / 0.5207 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.002722, allocations: 4 kB / 0.5207 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.002792, allocations: 36.45 kB / 0.5207 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.00284, allocations: 22.33 kB / 0.5208 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.002862, allocations: 4 kB / 0.5208 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.003009, allocations: 51.94 kB / 0.5208 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.003063, allocations: 24.66 kB / 0.5208 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.003096, allocations: 16.94 kB / 0.5209 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.003277, allocations: 83.75 kB / 0.5209 GB, free: 1.203 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003278, allocations: 0 / 0.5209 GB, free: 1.203 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003279, allocations: 0.9688 kB / 0.5209 GB, free: 1.203 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.003283, allocations: 0 / 0.5209 GB, free: 1.203 MB / 490.7 MB 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.0005979/0.003881, allocations: 405.1 kB / 0.5213 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.00392, allocations: 12.03 kB / 0.5213 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.693e-05/0.003997, allocations: 20.89 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.004102, allocations: 109.6 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006493/0.004751, allocations: 0.526 MB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.004766, allocations: 10.06 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.005026, allocations: 74.19 kB / 0.522 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.005035, allocations: 4.188 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.005049, allocations: 4.375 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.005056, allocations: 4.125 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.005446, allocations: 120.8 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.005642, allocations: 132.6 kB / 0.5223 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.005972, allocations: 98.95 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.006122, allocations: 35.67 kB / 0.5224 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.006154, allocations: 8 kB / 0.5224 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.006194, allocations: 38 kB / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 9.41e-07/0.006195, allocations: 0 / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0005517/0.006746, allocations: 127.3 kB / 0.5226 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.006796, allocations: 55.41 kB / 0.5226 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.00691, allocations: 154.3 kB / 0.5228 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.006935, allocations: 25.7 kB / 0.5228 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.007009, allocations: 136.1 kB / 0.523 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.007068, allocations: 35.64 kB / 0.523 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.007144, allocations: 39.36 kB / 0.523 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002765/0.00742, allocations: 496.8 kB / 0.5235 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.007558, allocations: 23.98 kB / 0.5235 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.007684, allocations: 33.16 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.007951, allocations: 57.86 kB / 0.5236 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.007955, allocations: 4.703 kB / 0.5236 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003364/0.008292, allocations: 101.6 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.008307, allocations: 4.594 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.008314, allocations: 5.125 kB / 0.5237 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.008328, allocations: 0 / 0.5237 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.008489, allocations: 27.91 kB / 0.5237 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.008497, allocations: 4.688 kB / 0.5237 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.008557, allocations: 7.953 kB / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.008577, allocations: 8.688 kB / 0.5238 GB, free: 14 MB / 0.4948 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.0001268/0.008704, allocations: 163.9 kB / 0.5239 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.008728, allocations: 8 kB / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.008767, allocations: 7.969 kB / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.008769, allocations: 0 / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.008772, allocations: 0 / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.00878, allocations: 3.938 kB / 0.5239 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.008929, allocations: 136.5 kB / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.008933, allocations: 4 kB / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.009056, allocations: 23.92 kB / 0.5241 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.009058, allocations: 0.7812 kB / 0.5241 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.009076, allocations: 11.98 kB / 0.5241 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009077, allocations: 0.5625 kB / 0.5241 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009078, allocations: 0.9375 kB / 0.5241 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.009466, allocations: 152.2 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.009472, allocations: 4 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.009488, allocations: 1.812 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.009549, allocations: 4 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.009617, allocations: 15.97 kB / 0.5243 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.009628, allocations: 4 kB / 0.5243 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.541e-05/0.009703, allocations: 124.8 kB / 0.5244 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009703, allocations: 0 / 0.5244 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002163/0.00992, allocations: 23.94 kB / 0.5244 GB, free: 13.26 MB / 0.4948 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.0002158/0.01014, allocations: 117.9 kB / 0.5245 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.0105, allocations: 94.52 kB / 0.5246 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0105, allocations: 0 / 0.5246 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.01067, allocations: 51.59 kB / 0.5247 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.01083, allocations: 18.64 kB / 0.5247 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.01127, allocations: 156.2 kB / 0.5248 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.538e-05/0.01135, allocations: 67.34 kB / 0.5249 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.01147, allocations: 41.34 kB / 0.5249 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.01152, allocations: 24.48 kB / 0.525 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.01153, allocations: 0 / 0.525 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.004379/0.0159, allocations: 1.02 MB / 0.526 GB, free: 11.68 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.088046449003741]