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.001198/0.001198, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001371/0.001371, allocations: 177 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7992/0.7992, allocations: 154.6 MB / 414.9 MB, free: 0.668 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 179] 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.483e-06/1.483e-06, allocations: 0 / 0.5204 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.467e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001107/0.001132, allocations: 0.6013 MB / 0.521 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.001399, allocations: 101.8 kB / 0.5211 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.001424, allocations: 4 kB / 0.5211 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.001459, allocations: 0 / 0.5211 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.001466, allocations: 0.9688 kB / 0.5211 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.0018, allocations: 31.91 kB / 0.5211 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.001916, allocations: 69.3 kB / 0.5212 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.001953, allocations: 3.984 kB / 0.5212 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.001995, allocations: 25.27 kB / 0.5212 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.002031, allocations: 28.72 kB / 0.5212 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.002046, allocations: 0 / 0.5212 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.002165, allocations: 52.53 kB / 0.5213 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.002201, allocations: 28.33 kB / 0.5213 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.002224, allocations: 25.47 kB / 0.5213 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.002354, allocations: 75.89 kB / 0.5214 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.002356, allocations: 3.938 kB / 0.5214 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.002356, allocations: 0 / 0.5214 GB, free: 1.457 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00236, allocations: 0.5625 kB / 0.5214 GB, free: 1.457 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.0003618/0.002722, allocations: 401.6 kB / 0.5218 GB, free: 1.027 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.002757, allocations: 8.031 kB / 0.5218 GB, free: 1.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.002809, allocations: 21.23 kB / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.769e-05/0.002867, allocations: 108.6 kB / 0.5219 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.003112, allocations: 0.5345 MB / 0.5225 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.003124, allocations: 4.375 kB / 0.5225 GB, free: 212 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.003288, allocations: 87.92 kB / 0.5225 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-06/0.003294, allocations: 192 / 0.5225 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.003304, allocations: 5.438 kB / 0.5226 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.003312, allocations: 4.125 kB / 0.5226 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.003422, allocations: 102.8 kB / 0.5227 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.003559, allocations: 135 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.003656, allocations: 78.97 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.003695, allocations: 27.67 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.003715, allocations: 4 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.003734, allocations: 37.39 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.003735, allocations: 0 / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002091/0.003944, allocations: 111.5 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.003981, allocations: 59.28 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.083e-05/0.004032, allocations: 150.2 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.004047, allocations: 25.7 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.004074, allocations: 127.4 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.004119, allocations: 40.72 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.004187, allocations: 31.36 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.004292, allocations: 0.4884 MB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.004334, allocations: 17.11 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.004364, allocations: 15.98 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.004441, allocations: 47.36 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.004443, allocations: 0 / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001126/0.004556, allocations: 90.64 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.004568, allocations: 7.938 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.004573, allocations: 1.562 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.004583, allocations: 4 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.004689, allocations: 23.97 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.004695, allocations: 3.938 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.004728, allocations: 13.14 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.004737, allocations: 7.984 kB / 0.5241 GB, free: 14.36 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 7.075e-05/0.004808, allocations: 157.3 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.004819, allocations: 4 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.004841, allocations: 18.72 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.004844, allocations: 3.984 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.004848, allocations: 0 / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.004852, allocations: 3.938 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.746e-05/0.004949, allocations: 132.5 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00495, allocations: 0 / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.005011, allocations: 31.92 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.005012, allocations: 2.969 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.005021, allocations: 3.984 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005022, allocations: 4 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005023, allocations: 0 / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.005151, allocations: 128.3 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.005158, allocations: 7.953 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.005171, allocations: 4 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.005196, allocations: 4 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.005242, allocations: 17.41 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.005249, allocations: 8 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.005277, allocations: 127.1 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005277, allocations: 0 / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001554/0.005433, allocations: 27.19 kB / 0.5248 GB, free: 13.63 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.0001349/0.005568, allocations: 111.2 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.005686, allocations: 63.59 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005687, allocations: 3.938 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.383e-05/0.005751, allocations: 44.86 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.005867, allocations: 13.88 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.006138, allocations: 144.7 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.006172, allocations: 63.34 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.641e-05/0.006239, allocations: 31.06 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.00627, allocations: 18.48 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.00627, allocations: 3.938 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.002533/0.008803, allocations: 1.012 MB / 0.5263 GB, free: 12.13 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: 3.871325978077948]