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.001341/0.001341, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001579/0.001579, allocations: 173 kB / 23.49 MB, free: 1.059 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8062/0.8062, allocations: 154.8 MB / 415.1 MB, free: 0.5039 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.834e-06/1.834e-06, allocations: 0 / 0.5206 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.964e-05, allocations: 5.594 kB / 0.5206 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001001/0.001021, allocations: 0.6006 MB / 0.5212 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.001304, allocations: 104.3 kB / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.001333, allocations: 0.6875 kB / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.001369, allocations: 5.281 kB / 0.5213 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.001376, allocations: 0 / 0.5213 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.001752, allocations: 36.75 kB / 0.5214 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.001896, allocations: 63.92 kB / 0.5214 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.001945, allocations: 8.859 kB / 0.5214 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.002005, allocations: 28.62 kB / 0.5215 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.002053, allocations: 28.67 kB / 0.5215 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.002073, allocations: 0.7656 kB / 0.5215 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.002212, allocations: 52.66 kB / 0.5215 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.002255, allocations: 23.91 kB / 0.5216 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.002293, allocations: 20.81 kB / 0.5216 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.00246, allocations: 87.75 kB / 0.5217 GB, free: 1.203 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.002463, allocations: 2.312 kB / 0.5217 GB, free: 1.203 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002464, allocations: 0 / 0.5217 GB, free: 1.203 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.002468, allocations: 0 / 0.5217 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.0003693/0.002838, allocations: 400.2 kB / 0.522 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.002872, allocations: 8.031 kB / 0.5221 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.002921, allocations: 21.23 kB / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.583e-05/0.002977, allocations: 105.6 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.003222, allocations: 0.5299 MB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.003234, allocations: 8.375 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.003406, allocations: 80.28 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003412, allocations: 192 / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.003424, allocations: 8.375 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.003431, allocations: 8.719 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.003539, allocations: 100.6 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.003665, allocations: 132.5 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.003761, allocations: 76.03 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.003802, allocations: 27.67 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.003821, allocations: 4 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.003842, allocations: 38.19 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.003843, allocations: 0 / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002046/0.004048, allocations: 110.4 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.004077, allocations: 60.25 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.379e-05/0.004121, allocations: 150.2 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.004133, allocations: 30.33 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.004161, allocations: 130.9 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.004212, allocations: 32.3 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.004248, allocations: 35.98 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.004361, allocations: 0.4923 MB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.004395, allocations: 16.83 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.004422, allocations: 15.98 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.969e-05/0.004492, allocations: 47.33 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.004494, allocations: 0 / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001019/0.004595, allocations: 91.34 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.004607, allocations: 4 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004611, allocations: 0 / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.004622, allocations: 0 / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.004713, allocations: 27.97 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.00472, allocations: 5.688 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.004748, allocations: 7.953 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.004758, allocations: 12 kB / 0.5244 GB, free: 14.11 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 6.197e-05/0.00482, allocations: 161.3 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.00483, allocations: 7.984 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.004851, allocations: 9.375 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.004853, allocations: 4 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.004856, allocations: 0 / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.00486, allocations: 3.938 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.249e-05/0.004933, allocations: 133.8 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.004933, allocations: 0 / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.004984, allocations: 23.98 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.004985, allocations: 1.031 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.004994, allocations: 7.984 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.004996, allocations: 4 kB / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004996, allocations: 1.156 kB / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.005115, allocations: 132.2 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-06/0.005121, allocations: 7.953 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.005133, allocations: 7.125 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.005157, allocations: 4 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.005204, allocations: 11.97 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.005209, allocations: 4 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.005238, allocations: 127.1 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005238, allocations: 0 / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001433/0.005381, allocations: 19.94 kB / 0.525 GB, free: 13.39 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.0001239/0.005505, allocations: 122.2 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.005622, allocations: 73.7 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.005624, allocations: 0 / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.005667, allocations: 47.59 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.608e-05/0.005763, allocations: 10.25 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.005997, allocations: 151.8 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.973e-05/0.006026, allocations: 55.36 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.959e-05/0.006096, allocations: 39.02 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.006126, allocations: 19.42 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/0.006127, allocations: 0 / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.00233/0.008457, allocations: 1.019 MB / 0.5265 GB, free: 11.86 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: 3.7892663017846644]