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.0009472/0.0009472, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009545/0.0009545, allocations: 173 kB / 23.49 MB, free: 1.055 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.594 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.8201/0.8201, allocations: 154.6 MB / 414.9 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.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.984e-06/1.984e-06, allocations: 0 / 0.5203 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.868e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002205/0.002234, allocations: 1.58 MB / 0.5219 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.002613, allocations: 195.9 kB / 0.5221 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.002654, allocations: 0 / 0.5221 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.002683, allocations: 4.531 kB / 0.5221 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.002725, allocations: 0.9688 kB / 0.5221 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.003066, allocations: 55.8 kB / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.003135, allocations: 39.86 kB / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.003227, allocations: 13.75 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.003263, allocations: 19.97 kB / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.574e-05/0.003298, allocations: 11.98 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.003314, allocations: 4 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.003418, allocations: 52.42 kB / 0.5223 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.003431, allocations: 7.938 kB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.003453, allocations: 13.02 kB / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.003598, allocations: 75.72 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003601, allocations: 0 / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003602, allocations: 1.156 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.003607, allocations: 0 / 0.5224 GB, free: 460 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.0003921/0.003999, allocations: 377.1 kB / 0.5227 GB, free: 44 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.004034, allocations: 8.031 kB / 0.5227 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.004073, allocations: 6.312 kB / 0.5227 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.004176, allocations: 116.6 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.004197, allocations: 4.375 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.004207, allocations: 4.312 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.004348, allocations: 67.5 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004356, allocations: 0.875 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.004366, allocations: 5.594 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.004374, allocations: 384 / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.004415, allocations: 19.92 kB / 0.5229 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.00475, allocations: 276.5 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.004932, allocations: 46.98 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.004958, allocations: 16.84 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.005081, allocations: 11.98 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.005105, allocations: 38.05 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.005107, allocations: 0 / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.005271, allocations: 62.28 kB / 0.5234 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.005299, allocations: 52.16 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.00538, allocations: 165.9 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.005391, allocations: 26.64 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.005437, allocations: 134.8 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.005454, allocations: 7.953 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.005484, allocations: 26.09 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.005607, allocations: 496.1 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.005627, allocations: 4 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.005643, allocations: 8 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.00568, allocations: 15.67 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005682, allocations: 0 / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.563e-05/0.005758, allocations: 57.56 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.005771, allocations: 5.281 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005775, allocations: 0 / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.005788, allocations: 0 / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.005879, allocations: 8.562 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.005885, allocations: 1.312 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.005906, allocations: 3.984 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005911, allocations: 4 kB / 0.5243 GB, free: 14.22 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.38e-05/0.005974, allocations: 157.3 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.00599, allocations: 7.938 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.006093, allocations: 62.64 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006095, allocations: 0 / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006099, allocations: 6.688 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006102, allocations: 0 / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.888e-05/0.006201, allocations: 124.6 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006202, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.006237, allocations: 4 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006238, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.006248, allocations: 8.188 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.006252, allocations: 7.984 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006253, allocations: 2.625 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.006362, allocations: 187.9 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.00637, allocations: 8 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.006383, allocations: 3.938 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.006416, allocations: 4 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.006465, allocations: 7.922 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.006469, allocations: 1.188 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.00651, allocations: 131.2 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00651, allocations: 0 / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001684/0.006678, allocations: 19.94 kB / 0.5251 GB, free: 13.43 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.0001659/0.006844, allocations: 112.5 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.006937, allocations: 27.11 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006938, allocations: 0 / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.006963, allocations: 15.69 kB / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.007165, allocations: 13.62 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.007453, allocations: 134.1 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.007489, allocations: 55.36 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.007511, allocations: 2.594 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.007539, allocations: 16.48 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.00754, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of Templates: time 0.002789/0.01033, allocations: 1.01 MB / 0.5264 GB, free: 12.04 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.9115473721176386]