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.001371/0.001371, allocations: 79.03 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.001623/0.001623, allocations: 170.4 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.19/1.19, allocations: 154.6 MB / 413.7 MB, free: 5.312 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.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.904e-06/1.904e-06, allocations: 0 / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.102e-05, allocations: 5.125 kB / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002895/0.002926, allocations: 1.557 MB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005078/0.003434, allocations: 175.5 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.003477, allocations: 0 / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.003511, allocations: 7.922 kB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.547e-05/0.003567, allocations: 14.7 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.004034, allocations: 47.83 kB / 0.6203 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.376e-05/0.004127, allocations: 35.91 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.004234, allocations: 11.98 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.488e-05/0.004289, allocations: 23.92 kB / 0.6204 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.00434, allocations: 15.97 kB / 0.6204 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.004362, allocations: 4 kB / 0.6204 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.004505, allocations: 53.47 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.00452, allocations: 4 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.004555, allocations: 15.92 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.004751, allocations: 75.77 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004753, allocations: 0.9375 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004754, allocations: 0 / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.004761, allocations: 4 kB / 0.6205 GB, free: 2.641 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005517/0.005313, allocations: 294.2 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.005352, allocations: 13.41 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.005391, allocations: 0.9375 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.00553, allocations: 117.7 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.005556, allocations: 4.375 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.005568, allocations: 384 / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.005782, allocations: 62.22 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.005793, allocations: 4.188 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.00581, allocations: 8.375 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005814, allocations: 384 / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.006021, allocations: 43.89 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.006419, allocations: 216.5 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.006778, allocations: 54.53 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.006881, allocations: 24.91 kB / 0.6213 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.007063, allocations: 19.98 kB / 0.6213 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.00709, allocations: 34.5 kB / 0.6214 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.007092, allocations: 0 / 0.6214 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004185/0.00751, allocations: 97.52 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.007568, allocations: 59.41 kB / 0.6215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.007654, allocations: 101.8 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.007674, allocations: 25.7 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.007746, allocations: 88.08 kB / 0.6217 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.007764, allocations: 11.95 kB / 0.6217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.007801, allocations: 17.7 kB / 0.6218 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.007946, allocations: 318.8 kB / 0.6221 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.008036, allocations: 11.98 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.008125, allocations: 23.97 kB / 0.6221 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.008306, allocations: 48.81 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008308, allocations: 0 / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002333/0.008542, allocations: 85.48 kB / 0.6222 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.008556, allocations: 8 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008561, allocations: 0 / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.008576, allocations: 0 / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.008659, allocations: 11.98 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.008664, allocations: 0 / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.008727, allocations: 12.25 kB / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.008734, allocations: 0 / 0.6223 GB, free: 0.6836 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: 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 9.004e-05/0.008824, allocations: 114.8 kB / 0.6224 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.008855, allocations: 11.92 kB / 0.6224 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.009136, allocations: 85.27 kB / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.009138, allocations: 0 / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.009142, allocations: 0 / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009145, allocations: 0 / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.009286, allocations: 117.3 kB / 0.6226 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009287, allocations: 256 / 0.6226 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.009364, allocations: 15.98 kB / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.009366, allocations: 4 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.009376, allocations: 3.938 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.009379, allocations: 4 kB / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00938, allocations: 0 / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.009661, allocations: 171.5 kB / 0.6228 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.009669, allocations: 7.938 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.009685, allocations: 7.875 kB / 0.6228 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.009769, allocations: 7.984 kB / 0.6228 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.009821, allocations: 11.98 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.009825, allocations: 0 / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.009888, allocations: 83.28 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009888, allocations: 0 / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002408/0.01013, allocations: 16 kB / 0.6229 GB, free: 15.96 MB / 0.545 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.0002026/0.01033, allocations: 115.2 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.01057, allocations: 43.95 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01058, allocations: 0 / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.0107, allocations: 31.91 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.01098, allocations: 8 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.01131, allocations: 120.7 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.284e-05/0.01138, allocations: 63.34 kB / 0.6233 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.01141, allocations: 7.984 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.01144, allocations: 16.5 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.01144, allocations: 0 / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of Templates: time 0.003916/0.01536, allocations: 1 MB / 0.6243 GB, free: 14.52 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.776612866669893] Failed to read output from testmodel.py, exit status != 0: 0.024312160909175873 0.039941436000000004 0.032117602 Calling exit ...