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.0008779/0.0008779, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001028/0.001028, allocations: 169 kB / 23.27 MB, free: 1.223 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.074/1.074, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.7662/0.7662, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.463e-06/1.463e-06, allocations: 0 / 0.5208 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.397e-05, allocations: 6.484 kB / 0.5208 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001672/0.001696, allocations: 0.6013 MB / 0.5214 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003419/0.002038, allocations: 105.1 kB / 0.5215 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.00206, allocations: 4 kB / 0.5215 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.002098, allocations: 0.625 kB / 0.5215 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.002104, allocations: 0 / 0.5215 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.002456, allocations: 41.19 kB / 0.5216 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.002567, allocations: 65.36 kB / 0.5216 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.002602, allocations: 4 kB / 0.5216 GB, free: 1 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.002659, allocations: 36.72 kB / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.002698, allocations: 15.97 kB / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.002715, allocations: 0.7812 kB / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.002858, allocations: 59.86 kB / 0.5217 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.002891, allocations: 29 kB / 0.5218 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.002914, allocations: 11.98 kB / 0.5218 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.003057, allocations: 86.83 kB / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003059, allocations: 0 / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003059, allocations: 0 / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.003063, allocations: 0 / 0.5219 GB, free: 0.7695 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.0003995/0.003462, allocations: 404.1 kB / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.003503, allocations: 12.03 kB / 0.5223 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.003547, allocations: 17.23 kB / 0.5223 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.577e-05/0.003613, allocations: 112.6 kB / 0.5224 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/0.004004, allocations: 0.5226 MB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.004023, allocations: 8.375 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.004167, allocations: 83.95 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.004173, allocations: 192 / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-06/0.00418, allocations: 0.9062 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004187, allocations: 8.125 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.943e-05/0.004276, allocations: 96.73 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.004377, allocations: 117.1 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.858e-05/0.004446, allocations: 60 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.004479, allocations: 27.67 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.004505, allocations: 4.969 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.004521, allocations: 33.39 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.004522, allocations: 0.9688 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.00016/0.004682, allocations: 105.8 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.004703, allocations: 52.41 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.86e-05/0.004742, allocations: 146.2 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.004751, allocations: 25.7 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.004777, allocations: 132.1 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.004814, allocations: 35.69 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.004849, allocations: 39.34 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.004949, allocations: 0.489 MB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.004986, allocations: 11.98 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.005006, allocations: 16.08 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.514e-05/0.005061, allocations: 39.66 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.005064, allocations: 7.938 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.39e-05/0.005158, allocations: 78.89 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005168, allocations: 4 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005172, allocations: 4 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.005182, allocations: 4.703 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.00527, allocations: 19.98 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.005273, allocations: 1.188 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.005303, allocations: 15.89 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.005312, allocations: 7.984 kB / 0.5245 GB, free: 13.75 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.026e-05/0.005372, allocations: 161.2 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.005383, allocations: 4.594 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.005402, allocations: 15.97 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005404, allocations: 1.125 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.005406, allocations: 0 / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.005409, allocations: 0 / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.068e-05/0.005479, allocations: 121.8 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005481, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.005534, allocations: 28.66 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.005537, allocations: 0 / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.005546, allocations: 5.812 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.005548, allocations: 4 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.00555, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.005668, allocations: 131.2 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.005674, allocations: 9.578 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.005682, allocations: 0 / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.005707, allocations: 8 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.005742, allocations: 11.97 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.005748, allocations: 7.984 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.005773, allocations: 121.9 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005773, allocations: 0 / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001536/0.005926, allocations: 23.94 kB / 0.5251 GB, free: 13.07 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.0001283/0.006055, allocations: 123.2 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.303e-05/0.006148, allocations: 51.59 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006149, allocations: 2.031 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.006186, allocations: 43.59 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.611e-05/0.006282, allocations: 22.27 kB / 0.5254 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/0.006468, allocations: 139.2 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.006498, allocations: 63.34 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.006537, allocations: 17.5 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.006589, allocations: 78.19 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.006589, allocations: 0 / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.002579/0.009168, allocations: 1.249 MB / 0.5269 GB, free: 11.3 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.667188878171146]