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.0007344/0.0007344, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007768/0.0007768, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8373/0.8373, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-531:686: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-531:694: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.6947/0.6947, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.152e-06/1.152e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.673e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001912/0.001938, allocations: 1.559 MB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.00228, allocations: 179.4 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.002314, allocations: 0 / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.002342, allocations: 7.922 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.002378, allocations: 4 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.002692, allocations: 55.75 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.727e-05/0.002759, allocations: 39.86 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.002841, allocations: 7.984 kB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.002877, allocations: 19.97 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.002924, allocations: 19.92 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.002938, allocations: 4 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.003037, allocations: 55.88 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.003047, allocations: 3.938 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.003065, allocations: 15.97 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003201, allocations: 71.78 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003203, allocations: 4 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003204, allocations: 0 / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003207, allocations: 0 / 0.6213 GB, free: 11.08 MB / 0.5886 GB 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.0004356/0.003643, allocations: 282.2 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.003676, allocations: 12.03 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.003705, allocations: 0.9375 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/0.003777, allocations: 113.7 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.003794, allocations: 384 / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.003804, allocations: 8.375 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.003934, allocations: 66.22 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.003942, allocations: 4.125 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.00395, allocations: 4.375 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.003955, allocations: 384 / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.004089, allocations: 51.88 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.004358, allocations: 208.6 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.004555, allocations: 66.45 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.004603, allocations: 28.91 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.00471, allocations: 11.98 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.004726, allocations: 34.5 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004727, allocations: 0 / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000223/0.00495, allocations: 97.58 kB / 0.6223 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.004975, allocations: 55.41 kB / 0.6223 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.735e-05/0.005023, allocations: 101.8 kB / 0.6224 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.005036, allocations: 29.7 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.005072, allocations: 92.08 kB / 0.6225 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.005085, allocations: 3.953 kB / 0.6225 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.005111, allocations: 17.7 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.005243, allocations: 318.8 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.005287, allocations: 15.98 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.005326, allocations: 19.97 kB / 0.6229 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.543e-05/0.005411, allocations: 48.83 kB / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005413, allocations: 0 / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001094/0.005522, allocations: 85.47 kB / 0.623 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.005533, allocations: 8 kB / 0.623 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005537, allocations: 0 / 0.623 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.005547, allocations: 3.938 kB / 0.623 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.207e-05/0.005589, allocations: 15.92 kB / 0.6231 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005593, allocations: 256 / 0.6231 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.00562, allocations: 15.92 kB / 0.6231 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.005626, allocations: 4 kB / 0.6231 GB, free: 9.113 MB / 0.5886 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 5.427e-05/0.00568, allocations: 114.8 kB / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.005692, allocations: 3.938 kB / 0.6232 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.005831, allocations: 81.33 kB / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005833, allocations: 0 / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005836, allocations: 0 / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005838, allocations: 0 / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.005926, allocations: 113.3 kB / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005927, allocations: 0 / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.005958, allocations: 15.98 kB / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.005959, allocations: 0 / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.005971, allocations: 7.875 kB / 0.6234 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005972, allocations: 0 / 0.6234 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.005974, allocations: 4 kB / 0.6234 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.006109, allocations: 175.8 kB / 0.6236 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.006114, allocations: 0 / 0.6236 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.006124, allocations: 7.938 kB / 0.6236 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.006161, allocations: 7.984 kB / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.0062, allocations: 8 kB / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.006203, allocations: 3.984 kB / 0.6236 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.41e-05/0.006227, allocations: 79.28 kB / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006227, allocations: 0 / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001568/0.006384, allocations: 20 kB / 0.6237 GB, free: 8.418 MB / 0.5886 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.000127/0.006511, allocations: 115.2 kB / 0.6238 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.006638, allocations: 55.89 kB / 0.6239 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006639, allocations: 3.938 kB / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.006683, allocations: 19.97 kB / 0.6239 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.006863, allocations: 8 kB / 0.6239 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.007099, allocations: 138.6 kB / 0.624 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.007139, allocations: 67.34 kB / 0.6241 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.007164, allocations: 20.48 kB / 0.6241 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of SimCode: time 2.9e-07/0.007165, allocations: 4 kB / 0.6241 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of Templates: time 0.001731/0.008896, allocations: 0.9899 MB / 0.6251 GB, free: 6.953 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.82853548694402] Failed to read output from testmodel.py, exit status != 0: 0.013624909333884716 0.022949625 0.018100869000000002 Calling exit ...