Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001009/0.001009, 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.001003/0.001003, allocations: 173 kB / 23.49 MB, free: 1.059 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.9905/0.9905, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.807/0.807, allocations: 154.8 MB / 415.1 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.881e-05, allocations: 7.422 kB / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.00183/0.001848, allocations: 1.58 MB / 0.5221 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003905/0.002239, allocations: 188.9 kB / 0.5223 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.002286, allocations: 0 / 0.5223 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.002317, allocations: 8.672 kB / 0.5223 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.002364, allocations: 8.703 kB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.002709, allocations: 48.84 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.00278, allocations: 35.92 kB / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.002874, allocations: 19.97 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.552e-05/0.00291, allocations: 21.45 kB / 0.5224 GB, free: 384 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.422e-05/0.002944, allocations: 11.98 kB / 0.5225 GB, free: 372 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.002958, allocations: 4 kB / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.003065, allocations: 47.94 kB / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.003077, allocations: 13.02 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.003098, allocations: 15.92 kB / 0.5225 GB, free: 292 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.003236, allocations: 63.86 kB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.003238, allocations: 8.609 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003239, allocations: 1.281 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003243, allocations: 0 / 0.5226 GB, free: 220 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.0003709/0.003614, allocations: 372.5 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.003647, allocations: 9.188 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.003686, allocations: 4.938 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.003787, allocations: 120.6 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.003808, allocations: 9.078 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.003818, allocations: 4.375 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.003948, allocations: 67.77 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.003955, allocations: 192 / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.003964, allocations: 2.969 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.003971, allocations: 384 / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.004014, allocations: 19.92 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.004319, allocations: 267.7 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.004515, allocations: 43.05 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.004542, allocations: 19.73 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.004661, allocations: 12.64 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.004685, allocations: 38.48 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.004686, allocations: 4 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001565/0.004843, allocations: 53.58 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.004871, allocations: 52 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.004949, allocations: 166.5 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.004961, allocations: 25.7 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.005013, allocations: 139.6 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.005028, allocations: 7.953 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.005058, allocations: 28.33 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.005177, allocations: 492.1 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.005195, allocations: 4.5 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.00521, allocations: 12.23 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.005242, allocations: 16.69 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.005245, allocations: 4 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.556e-05/0.005311, allocations: 54.44 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.005326, allocations: 5.719 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.00533, allocations: 0.625 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.005342, allocations: 0 / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.005385, allocations: 13.11 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.00539, allocations: 0 / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.00541, allocations: 4 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.005414, allocations: 0.7188 kB / 0.5246 GB, free: 13.99 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.291e-05/0.005477, allocations: 158.2 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.005492, allocations: 7.938 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.882e-05/0.005581, allocations: 57.3 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005583, allocations: 384 / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.005586, allocations: 1.594 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005589, allocations: 0 / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.112e-05/0.00568, allocations: 124.6 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005681, allocations: 0 / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.005706, allocations: 12.72 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.005709, allocations: 4 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.005717, allocations: 5.125 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.005717, allocations: 0 / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005718, allocations: 0 / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.421e-05/0.005812, allocations: 192.8 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.005818, allocations: 4 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.00583, allocations: 13.02 kB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.00586, allocations: 4 kB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.0059, allocations: 7.922 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.005905, allocations: 8.562 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.005938, allocations: 127.2 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005938, allocations: 2.812 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001577/0.006096, allocations: 15.94 kB / 0.5253 GB, free: 13.19 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.0001248/0.006221, allocations: 119.3 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.494e-05/0.006305, allocations: 19.67 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006307, allocations: 0 / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.006333, allocations: 26.64 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.006491, allocations: 11.94 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.006733, allocations: 130.1 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.006768, allocations: 59.34 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.006787, allocations: 0 / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.006809, allocations: 14 kB / 0.5257 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.006809, allocations: 0 / 0.5257 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.00248/0.00929, allocations: 1.008 MB / 0.5266 GB, free: 11.8 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8489541481249034]