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.001602/0.001602, allocations: 93.06 kB / 19.65 MB, free: 280 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.001684/0.001684, allocations: 173 kB / 23.02 MB, free: 1.547 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.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.57 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.8093/0.8093, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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.633e-06/1.633e-06, allocations: 0.5469 kB / 0.5204 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.388e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001195/0.001219, allocations: 0.6029 MB / 0.521 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.001523, allocations: 103.6 kB / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.001542, allocations: 0.8438 kB / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.001584, allocations: 0 / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.00159, allocations: 0.625 kB / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.001959, allocations: 41.72 kB / 0.5211 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.002067, allocations: 63.92 kB / 0.5212 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.002103, allocations: 3.984 kB / 0.5212 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.002146, allocations: 29.48 kB / 0.5212 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.002184, allocations: 23.97 kB / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.002202, allocations: 1.688 kB / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.002321, allocations: 51.88 kB / 0.5213 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.002355, allocations: 28.33 kB / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.00238, allocations: 19.97 kB / 0.5213 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.002517, allocations: 91.73 kB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002519, allocations: 1.656 kB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00252, allocations: 0 / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.002525, allocations: 0 / 0.5214 GB, free: 1.117 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.0003986/0.002923, allocations: 396.2 kB / 0.5218 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.002961, allocations: 8.781 kB / 0.5218 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.00301, allocations: 21.23 kB / 0.5218 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.23e-05/0.003072, allocations: 113.8 kB / 0.5219 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/0.00333, allocations: 0.5299 MB / 0.5224 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.00334, allocations: 384 / 0.5224 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.003513, allocations: 92.14 kB / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.003521, allocations: 192 / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.003531, allocations: 384 / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.003539, allocations: 10.38 kB / 0.5225 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.003658, allocations: 99.83 kB / 0.5226 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.003783, allocations: 128.5 kB / 0.5228 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.897e-05/0.003881, allocations: 78.97 kB / 0.5228 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.003921, allocations: 27.67 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.003942, allocations: 5.75 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.003964, allocations: 41.38 kB / 0.5229 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.003965, allocations: 0 / 0.5229 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002062/0.004171, allocations: 108 kB / 0.523 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.004203, allocations: 59.84 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.273e-05/0.004245, allocations: 146.2 kB / 0.5232 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004257, allocations: 30.61 kB / 0.5232 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.004284, allocations: 126.9 kB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.004327, allocations: 40.75 kB / 0.5234 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.004364, allocations: 31.36 kB / 0.5234 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.004471, allocations: 0.4884 MB / 0.5239 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.414e-05/0.004505, allocations: 12.8 kB / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.004533, allocations: 19.98 kB / 0.5239 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.00461, allocations: 48.7 kB / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004612, allocations: 0 / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001082/0.00472, allocations: 88.39 kB / 0.5241 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.004731, allocations: 4 kB / 0.5241 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004736, allocations: 3.938 kB / 0.5241 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.004748, allocations: 0 / 0.5241 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.004852, allocations: 29.12 kB / 0.5241 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.004859, allocations: 3.938 kB / 0.5241 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.004891, allocations: 15.94 kB / 0.5241 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.004901, allocations: 8.672 kB / 0.5241 GB, free: 14.02 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.556e-05/0.004967, allocations: 157.9 kB / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.004977, allocations: 4 kB / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.005, allocations: 11.97 kB / 0.5243 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.005003, allocations: 6.906 kB / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.005006, allocations: 0 / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.00501, allocations: 3.938 kB / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.612e-05/0.005086, allocations: 132.5 kB / 0.5244 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005088, allocations: 0 / 0.5244 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.005147, allocations: 35.91 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.005149, allocations: 0 / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.005156, allocations: 0 / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.005158, allocations: 7.031 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.00516, allocations: 3.984 kB / 0.5245 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.005292, allocations: 129.7 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.005299, allocations: 7.953 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.005311, allocations: 4 kB / 0.5246 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.005336, allocations: 7.984 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.005385, allocations: 7.984 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.005392, allocations: 11.92 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.00542, allocations: 128.6 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00542, allocations: 0 / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001607/0.00558, allocations: 19.94 kB / 0.5248 GB, free: 13.3 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.000142/0.005722, allocations: 118.3 kB / 0.5249 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.005851, allocations: 63.59 kB / 0.5249 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005853, allocations: 0 / 0.5249 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.005896, allocations: 50.88 kB / 0.525 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.006004, allocations: 15.98 kB / 0.525 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.006261, allocations: 140.8 kB / 0.5251 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.006298, allocations: 59.34 kB / 0.5252 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.054e-05/0.006369, allocations: 39.27 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.466e-05/0.006404, allocations: 12.5 kB / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.006404, allocations: 0 / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.002844/0.009248, allocations: 1.221 MB / 0.5264 GB, free: 11.61 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.886564637068659]