Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001757/0.001757, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00223/0.00223, allocations: 169.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.482/1.482, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.221/1.221, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.433e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001597/0.001632, allocations: 0.5979 MB / 0.6192 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.002003, allocations: 101.4 kB / 0.6193 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.002029, allocations: 0 / 0.6193 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.002061, allocations: 0 / 0.6193 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.002068, allocations: 0 / 0.6193 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.002434, allocations: 47.81 kB / 0.6193 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.002566, allocations: 67.92 kB / 0.6194 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.002605, allocations: 0 / 0.6194 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.002667, allocations: 35.95 kB / 0.6194 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.002708, allocations: 15.97 kB / 0.6194 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.002729, allocations: 7.938 kB / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.002877, allocations: 51.94 kB / 0.6195 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.002916, allocations: 19.97 kB / 0.6195 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.002949, allocations: 23.91 kB / 0.6195 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.00312, allocations: 87.73 kB / 0.6196 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.003126, allocations: 4 kB / 0.6196 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003127, allocations: 4 kB / 0.6196 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.003135, allocations: 0 / 0.6196 GB, free: 3.547 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005397/0.003675, allocations: 302.2 kB / 0.6199 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.003714, allocations: 9.469 kB / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.003764, allocations: 8.922 kB / 0.6199 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.003865, allocations: 105.8 kB / 0.62 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004587/0.004324, allocations: 0.5299 MB / 0.6205 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.004343, allocations: 384 / 0.6205 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.004614, allocations: 78.2 kB / 0.6206 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.004625, allocations: 4.188 kB / 0.6206 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.004638, allocations: 384 / 0.6206 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004643, allocations: 8.125 kB / 0.6206 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.005042, allocations: 143.7 kB / 0.6208 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.005217, allocations: 117.3 kB / 0.6209 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.005551, allocations: 96.97 kB / 0.621 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.005709, allocations: 40.83 kB / 0.621 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.005734, allocations: 0 / 0.621 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.00576, allocations: 34.56 kB / 0.621 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.005761, allocations: 0 / 0.621 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005796/0.00634, allocations: 145.8 kB / 0.6212 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.00638, allocations: 59.41 kB / 0.6212 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/0.006437, allocations: 97.8 kB / 0.6213 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.006467, allocations: 25.7 kB / 0.6213 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.006504, allocations: 80.14 kB / 0.6214 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.006579, allocations: 35.69 kB / 0.6215 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.006635, allocations: 29.7 kB / 0.6215 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.006776, allocations: 314.8 kB / 0.6218 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.00693, allocations: 35.97 kB / 0.6218 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.00707, allocations: 27.97 kB / 0.6218 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.007374, allocations: 84.58 kB / 0.6219 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007376, allocations: 4 kB / 0.6219 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003653/0.007741, allocations: 113.5 kB / 0.622 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.007754, allocations: 8 kB / 0.622 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007759, allocations: 0 / 0.622 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.007774, allocations: 0 / 0.622 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.007932, allocations: 23.97 kB / 0.6221 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.007939, allocations: 7.938 kB / 0.6221 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.008005, allocations: 7.938 kB / 0.6221 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.008017, allocations: 0 / 0.6221 GB, free: 0.7188 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.000102/0.008119, allocations: 130.8 kB / 0.6222 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.008136, allocations: 3.953 kB / 0.6222 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.008189, allocations: 11.97 kB / 0.6222 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.008193, allocations: 4 kB / 0.6222 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.008198, allocations: 0 / 0.6222 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.008203, allocations: 3.938 kB / 0.6222 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.008325, allocations: 121.3 kB / 0.6223 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.008328, allocations: 3.984 kB / 0.6223 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.008455, allocations: 19.98 kB / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.00846, allocations: 4 kB / 0.6224 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.00847, allocations: 3.938 kB / 0.6224 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.008473, allocations: 7.984 kB / 0.6224 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008474, allocations: 0 / 0.6224 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.00888, allocations: 152.9 kB / 0.6225 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.008887, allocations: 7.875 kB / 0.6225 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.008906, allocations: 4 kB / 0.6225 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.008972, allocations: 3.984 kB / 0.6225 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.009034, allocations: 11.98 kB / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.009046, allocations: 11.98 kB / 0.6226 GB, free: 160 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.009085, allocations: 79.22 kB / 0.6226 GB, free: 80 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.009085, allocations: 0 / 0.6226 GB, free: 80 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002367/0.009322, allocations: 28 kB / 0.6227 GB, free: 52 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.00023/0.009552, allocations: 115.1 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.009929, allocations: 87.88 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.00993, allocations: 0 / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.0101, allocations: 43.91 kB / 0.6229 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.01024, allocations: 8 kB / 0.6229 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.01068, allocations: 152.8 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.488e-05/0.01074, allocations: 71.34 kB / 0.6231 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.0109, allocations: 39.95 kB / 0.6232 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.01095, allocations: 24.42 kB / 0.6232 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.01095, allocations: 0 / 0.6232 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Templates: time 0.003929/0.01488, allocations: 1.003 MB / 0.6242 GB, free: 14.48 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.783632222563028] Failed to read output from testmodel.py, exit status != 0: 0.02378547564148903 0.039098164000000005 0.032873429 Calling exit ...