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.001285/0.001285, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001475/0.001475, allocations: 173 kB / 23.36 MB, free: 1.133 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.973/0.973, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8552/0.8552, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 2.375e-06/2.375e-06, allocations: 0 / 480 MB, free: 6.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.249e-05, allocations: 2.312 kB / 480 MB, free: 6.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003325/0.003347, allocations: 1.59 MB / 481.6 MB, free: 5.395 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004946/0.003842, allocations: 194.1 kB / 481.8 MB, free: 5.207 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.003888, allocations: 0 / 481.8 MB, free: 5.207 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.003921, allocations: 8.984 kB / 481.8 MB, free: 5.199 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.003974, allocations: 2.406 kB / 481.8 MB, free: 5.199 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.004363, allocations: 51.81 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.004445, allocations: 38.47 kB / 481.9 MB, free: 5.117 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.004531, allocations: 12.86 kB / 481.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.664e-05/0.004588, allocations: 20.64 kB / 481.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.004636, allocations: 18.67 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004653, allocations: 4 kB / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.004792, allocations: 49.78 kB / 482 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.004816, allocations: 8.969 kB / 482 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.004839, allocations: 9.531 kB / 482 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.005004, allocations: 74.83 kB / 482.1 MB, free: 4.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005007, allocations: 0 / 482.1 MB, free: 4.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005008, allocations: 1.75 kB / 482.1 MB, free: 4.934 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.005011, allocations: 0 / 482.1 MB, free: 4.934 MB / 442.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.0003616/0.005373, allocations: 252.9 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.005412, allocations: 8.578 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.005445, allocations: 5.75 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.005536, allocations: 113.8 kB / 482.5 MB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.005556, allocations: 1.594 kB / 482.5 MB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.00557, allocations: 5.359 kB / 482.5 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.005718, allocations: 74.86 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005726, allocations: 0.8438 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.005734, allocations: 1.734 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.005745, allocations: 1.094 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.005779, allocations: 11.94 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.006057, allocations: 169.1 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.006238, allocations: 35.25 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.00626, allocations: 8.859 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.006423, allocations: 26.31 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.006447, allocations: 35.53 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.006449, allocations: 0 / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.000139/0.006588, allocations: 47.36 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.006625, allocations: 59.34 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.006688, allocations: 106.8 kB / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.006701, allocations: 26.89 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.006741, allocations: 88.75 kB / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.006758, allocations: 3.953 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.006796, allocations: 26.75 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.006888, allocations: 316.2 kB / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.006902, allocations: 0 / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.006918, allocations: 9.672 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.006957, allocations: 12.86 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.00696, allocations: 1.375 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.73e-05/0.007037, allocations: 44.58 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.007051, allocations: 8 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.007058, allocations: 5.375 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.007071, allocations: 3.984 kB / 483.6 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.007134, allocations: 4 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.00714, allocations: 4 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.007167, allocations: 0.8438 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.007171, allocations: 1.203 kB / 483.6 MB, free: 3.312 MB / 442.7 MB 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 7.143e-05/0.007243, allocations: 122.7 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.007267, allocations: 0 / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.00737, allocations: 50.19 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.007373, allocations: 3.984 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007375, allocations: 0.9062 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007378, allocations: 0 / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.007509, allocations: 70.53 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.00751, allocations: 3.938 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.007562, allocations: 12.86 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.007565, allocations: 0.625 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007573, allocations: 8.656 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.007575, allocations: 0.625 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.007577, allocations: 3.938 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.007684, allocations: 132.2 kB / 484 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.007694, allocations: 4.609 kB / 484 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.007705, allocations: 0 / 484 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.007768, allocations: 8.688 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.007813, allocations: 11.92 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.007817, allocations: 4.656 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.81e-05/0.007835, allocations: 14.59 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007835, allocations: 0 / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.008101, allocations: 15.94 kB / 484 MB, free: 2.809 MB / 442.7 MB 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.0001814/0.008282, allocations: 104.3 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.008357, allocations: 17.88 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.00836, allocations: 0 / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.008389, allocations: 17.88 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.008572, allocations: 4 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.008845, allocations: 126.8 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.008883, allocations: 60.66 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.885e-05/0.008912, allocations: 4.781 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.008967, allocations: 55.38 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008968, allocations: 2.344 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of Templates: time 0.003417/0.01238, allocations: 1.036 MB / 485.4 MB, free: 1.406 MB / 442.7 MB " [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.610294601880014]