Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001023/0.001023, allocations: 93.06 kB / 19.65 MB, free: 276 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.001211/0.001211, allocations: 169 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8165/0.8165, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.448e-05, allocations: 12.36 kB / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002155/0.002179, allocations: 1.58 MB / 0.5219 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003963/0.002576, allocations: 188.4 kB / 0.5221 GB, free: 444 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.002615, allocations: 0 / 0.5221 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.002648, allocations: 8.484 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.002695, allocations: 4.766 kB / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.003046, allocations: 57.08 kB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.003124, allocations: 37.28 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.003213, allocations: 16.86 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.003254, allocations: 19.98 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.003295, allocations: 11.98 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.003313, allocations: 9.453 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.003442, allocations: 47.94 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.00346, allocations: 15.92 kB / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.003482, allocations: 8 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.003639, allocations: 64.72 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003641, allocations: 0 / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003642, allocations: 1.031 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.003647, allocations: 0 / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003843/0.004031, allocations: 376.5 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.004075, allocations: 9.562 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.004116, allocations: 8.922 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.368e-05/0.0042, allocations: 120.5 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.004222, allocations: 4.375 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.004234, allocations: 5.188 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.00439, allocations: 64.22 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.004396, allocations: 192 / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.004406, allocations: 384 / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.004414, allocations: 4.359 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.004452, allocations: 21.27 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.004777, allocations: 267.6 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.004968, allocations: 51.81 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.004994, allocations: 11.75 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.005149, allocations: 17.61 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.005173, allocations: 41.33 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.005174, allocations: 0 / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001738/0.005348, allocations: 55.86 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.005376, allocations: 55.41 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.005448, allocations: 165.9 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.005459, allocations: 25.7 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.005511, allocations: 138.8 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.005527, allocations: 3.953 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.005559, allocations: 29.92 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.005681, allocations: 492.1 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.005703, allocations: 4 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.005718, allocations: 7.984 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.005757, allocations: 23.62 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005759, allocations: 0 / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002704/0.00603, allocations: 49.62 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.006045, allocations: 6.75 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006049, allocations: 0 / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.006062, allocations: 4 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.006114, allocations: 7.984 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.00612, allocations: 3.984 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.006141, allocations: 4 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.006146, allocations: 0 / 0.5243 GB, free: 13.91 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.928e-05/0.006215, allocations: 157.7 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.006231, allocations: 7.938 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.006344, allocations: 58.23 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006346, allocations: 0 / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.00635, allocations: 4.875 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006353, allocations: 0 / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.006453, allocations: 128.6 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006454, allocations: 0.5 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.006492, allocations: 13.05 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006494, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.006502, allocations: 5.156 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006503, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.006505, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.00661, allocations: 200.5 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.006616, allocations: 0 / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.006627, allocations: 8.828 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.006662, allocations: 9.25 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.006707, allocations: 11.98 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.006711, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.00675, allocations: 127.2 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.00675, allocations: 2.438 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001727/0.006923, allocations: 15.94 kB / 0.525 GB, free: 13.11 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001398/0.007062, allocations: 111.2 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.296e-05/0.007155, allocations: 23.67 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007157, allocations: 3 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.007183, allocations: 23.61 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.007356, allocations: 7.938 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.007626, allocations: 134.1 kB / 0.5253 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.923e-05/0.007666, allocations: 59.34 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.00769, allocations: 4.562 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.007719, allocations: 9.906 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.00772, allocations: 0 / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.003015/0.01074, allocations: 1.09 MB / 0.5265 GB, free: 11.66 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9155215648934245]