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.002467/0.002467, 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.002766/0.002766, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.684/1.684, allocations: 177.1 MB / 203.1 MB, free: 5.438 MB / 186.7 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-545:108: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-545:116: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.332/1.332, allocations: 154.6 MB / 414.1 MB, free: 0.5312 MB / 378.7 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.773e-06/1.773e-06, allocations: 0 / 0.5197 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.641e-05, allocations: 3.516 kB / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.00173/0.001766, allocations: 0.6046 MB / 0.5203 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.00216, allocations: 95.69 kB / 0.5203 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.002179, allocations: 1.656 kB / 0.5203 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.46e-05/0.002234, allocations: 3.938 kB / 0.5204 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.00224, allocations: 0 / 0.5204 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.0026, allocations: 49.55 kB / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.002735, allocations: 63.92 kB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.00277, allocations: 1.75 kB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.002837, allocations: 33.05 kB / 0.5205 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.002886, allocations: 23.95 kB / 0.5205 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.002908, allocations: 4 kB / 0.5205 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.003052, allocations: 47.94 kB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.003099, allocations: 25.34 kB / 0.5206 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.003132, allocations: 15.98 kB / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.003325, allocations: 84.77 kB / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.003328, allocations: 0 / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003329, allocations: 5.219 kB / 0.5207 GB, free: 1.449 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.003334, allocations: 0 / 0.5207 GB, free: 1.449 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.0006265/0.00396, allocations: 404.1 kB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.003999, allocations: 8.656 kB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.004069, allocations: 20.89 kB / 0.5211 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004196, allocations: 110.3 kB / 0.5212 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005084/0.004704, allocations: 0.5299 MB / 0.5217 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.004716, allocations: 4.375 kB / 0.5217 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.004963, allocations: 76.39 kB / 0.5218 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.004972, allocations: 1.5 kB / 0.5218 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.004987, allocations: 4.359 kB / 0.5218 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.004996, allocations: 8.125 kB / 0.5218 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.00542, allocations: 123.8 kB / 0.5219 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.005622, allocations: 129.2 kB / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.005943, allocations: 100.2 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.006097, allocations: 35.67 kB / 0.5222 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.006121, allocations: 0 / 0.5222 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.006159, allocations: 42.11 kB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 8.22e-07/0.00616, allocations: 0 / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0005461/0.006706, allocations: 130.1 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.006754, allocations: 55.97 kB / 0.5224 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.006848, allocations: 151.3 kB / 0.5226 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.006874, allocations: 29.7 kB / 0.5226 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.00694, allocations: 127.1 kB / 0.5227 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.007002, allocations: 40.45 kB / 0.5227 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.007071, allocations: 39.3 kB / 0.5228 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.007339, allocations: 0.489 MB / 0.5233 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.007479, allocations: 27.97 kB / 0.5233 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.007601, allocations: 26.5 kB / 0.5233 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.007864, allocations: 63.66 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007866, allocations: 0 / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000356/0.008222, allocations: 109.5 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.008236, allocations: 4 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008241, allocations: 0 / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.008254, allocations: 0 / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.008416, allocations: 27.98 kB / 0.5235 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.008425, allocations: 4.688 kB / 0.5235 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.008487, allocations: 11.94 kB / 0.5235 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.008499, allocations: 0.5625 kB / 0.5235 GB, free: 14.25 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.0001261/0.008625, allocations: 165.5 kB / 0.5237 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.008645, allocations: 4 kB / 0.5237 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.008688, allocations: 13.56 kB / 0.5237 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.008696, allocations: 7.984 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.008701, allocations: 4 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.008706, allocations: 3.938 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.008845, allocations: 125.5 kB / 0.5238 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008846, allocations: 0 / 0.5238 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.008988, allocations: 27.97 kB / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.00899, allocations: 1.812 kB / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.009001, allocations: 0 / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.009005, allocations: 4 kB / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009006, allocations: 0 / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.009396, allocations: 157.8 kB / 0.524 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.009405, allocations: 4 kB / 0.524 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.009427, allocations: 7.984 kB / 0.524 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.009484, allocations: 4 kB / 0.524 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.009542, allocations: 11.97 kB / 0.524 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.009554, allocations: 6.75 kB / 0.524 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.00962, allocations: 127.1 kB / 0.5242 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00962, allocations: 0 / 0.5242 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002104/0.00983, allocations: 16 kB / 0.5242 GB, free: 13.51 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.0002231/0.01005, allocations: 123.2 kB / 0.5243 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.0104, allocations: 91.14 kB / 0.5244 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0104, allocations: 0 / 0.5244 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.01057, allocations: 59.59 kB / 0.5244 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.01071, allocations: 10.03 kB / 0.5245 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.01113, allocations: 158.6 kB / 0.5246 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.513e-05/0.01121, allocations: 71.33 kB / 0.5247 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.01132, allocations: 40.41 kB / 0.5247 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.01136, allocations: 12.5 kB / 0.5247 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01137, allocations: 3.125 kB / 0.5247 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.004064/0.01543, allocations: 1.022 MB / 0.5257 GB, free: 11.93 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0588488089852035]