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.0009245/0.0009245, 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.0009723/0.0009723, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9574/0.9574, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8657/0.8657, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.854e-06/1.854e-06, allocations: 0.6562 kB / 0.5204 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.26e-05, allocations: 4.969 kB / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.00103/0.001053, allocations: 0.6088 MB / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000305/0.001358, allocations: 99.61 kB / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.001377, allocations: 0 / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.001417, allocations: 0 / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.001422, allocations: 0.6562 kB / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.001764, allocations: 45.16 kB / 0.5211 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.001867, allocations: 67.86 kB / 0.5212 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.0019, allocations: 0 / 0.5212 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.001951, allocations: 36.58 kB / 0.5212 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.001988, allocations: 28.64 kB / 0.5212 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.002005, allocations: 0 / 0.5212 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.00213, allocations: 53.22 kB / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.002169, allocations: 19.97 kB / 0.5213 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.002196, allocations: 23.91 kB / 0.5213 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.002344, allocations: 83.81 kB / 0.5214 GB, free: 1.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002347, allocations: 1 kB / 0.5214 GB, free: 1.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.002348, allocations: 0 / 0.5214 GB, free: 1.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.002354, allocations: 0 / 0.5214 GB, free: 1.09 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.0003963/0.00275, allocations: 399.8 kB / 0.5218 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.002789, allocations: 12.02 kB / 0.5218 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.002841, allocations: 21.23 kB / 0.5218 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.002913, allocations: 104.6 kB / 0.5219 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.003202, allocations: 0.5299 MB / 0.5224 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.003218, allocations: 4.375 kB / 0.5224 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.003413, allocations: 90.78 kB / 0.5225 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.003422, allocations: 192 / 0.5225 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.003433, allocations: 0.9375 kB / 0.5225 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.003444, allocations: 8.125 kB / 0.5225 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.003577, allocations: 107.6 kB / 0.5226 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.003723, allocations: 129.1 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.721e-05/0.00382, allocations: 76 kB / 0.5228 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.00386, allocations: 27.67 kB / 0.5229 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.003892, allocations: 4 kB / 0.5229 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.00406, allocations: 38.8 kB / 0.5229 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.004061, allocations: 0 / 0.5229 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002159/0.004277, allocations: 109.9 kB / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.004304, allocations: 52.12 kB / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.256e-05/0.004346, allocations: 146.2 kB / 0.5232 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.00436, allocations: 34.27 kB / 0.5232 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.004388, allocations: 128.8 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.004434, allocations: 39.67 kB / 0.5234 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.004472, allocations: 35.36 kB / 0.5234 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.004583, allocations: 0.4923 MB / 0.5239 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.004615, allocations: 8 kB / 0.5239 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.004645, allocations: 24.42 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.004722, allocations: 51.34 kB / 0.524 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004724, allocations: 0 / 0.524 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001157/0.00484, allocations: 85.66 kB / 0.5241 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.004851, allocations: 4 kB / 0.5241 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.004856, allocations: 0 / 0.5241 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.004875, allocations: 2.75 kB / 0.5241 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.005, allocations: 27.92 kB / 0.5241 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.005007, allocations: 7.922 kB / 0.5241 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.00504, allocations: 15.94 kB / 0.5241 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.005049, allocations: 4 kB / 0.5241 GB, free: 14 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.394e-05/0.005113, allocations: 156.6 kB / 0.5243 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.005127, allocations: 13.72 kB / 0.5243 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.005153, allocations: 11.95 kB / 0.5243 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.005156, allocations: 4 kB / 0.5243 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.00516, allocations: 0 / 0.5243 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.005165, allocations: 7.922 kB / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.102e-05/0.005246, allocations: 129.5 kB / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005247, allocations: 0 / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.005303, allocations: 28.75 kB / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005304, allocations: 0 / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.005313, allocations: 4.656 kB / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005314, allocations: 7.938 kB / 0.5245 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005315, allocations: 0.5625 kB / 0.5245 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.00556, allocations: 127.3 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.005569, allocations: 7.953 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.005581, allocations: 7.922 kB / 0.5246 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.556e-05/0.005606, allocations: 8 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.005654, allocations: 7.984 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.00566, allocations: 3.984 kB / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.005692, allocations: 127.1 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.005693, allocations: 0 / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001641/0.005857, allocations: 27.06 kB / 0.5248 GB, free: 13.27 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.0001422/0.005999, allocations: 123.2 kB / 0.5249 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.006124, allocations: 60.95 kB / 0.5249 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.006125, allocations: 0 / 0.5249 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.006172, allocations: 47.55 kB / 0.525 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.006276, allocations: 17.3 kB / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.006522, allocations: 140.1 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.006556, allocations: 59.34 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.498e-05/0.006621, allocations: 42.83 kB / 0.5252 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.006659, allocations: 20.48 kB / 0.5253 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.00666, allocations: 0 / 0.5253 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.002673/0.009332, allocations: 1.013 MB / 0.5262 GB, free: 11.76 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.854428517166525]