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.0007156/0.0007156, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0007393/0.0007393, allocations: 212.7 kB / 23 MB, free: 2.977 MB / 13.93 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.9524/0.9524, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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-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 0.7901/0.7901, allocations: 203.8 MB / 0.5049 GB, free: 10.45 MB / 410.7 MB " [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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009395/0.0009395, allocations: 66.95 kB / 0.7194 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4723, allocations: 102 MB / 0.8191 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001233/0.4735, allocations: 0.5896 MB / 0.8196 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003147/0.4738, allocations: 103.4 kB / 0.8197 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.4738, allocations: 1.75 kB / 0.8197 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.4739, allocations: 0 / 0.8197 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.4739, allocations: 0 / 0.8197 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.4742, allocations: 43.67 kB / 0.8198 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.4743, allocations: 68.23 kB / 0.8198 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.4744, allocations: 5.469 kB / 0.8198 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.936e-05/0.4744, allocations: 21.8 kB / 0.8199 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.4744, allocations: 27.59 kB / 0.8199 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.4744, allocations: 3.688 kB / 0.8199 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.4745, allocations: 44.72 kB / 0.8199 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.4746, allocations: 30.53 kB / 0.82 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.4746, allocations: 11.8 kB / 0.82 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.4748, allocations: 76.69 kB / 0.82 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4748, allocations: 0 / 0.82 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4748, allocations: 0 / 0.82 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4748, allocations: 1.969 kB / 0.82 GB, free: 0.8242 MB / 0.6042 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.0003298/0.4751, allocations: 310.3 kB / 0.8203 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.4751, allocations: 6.188 kB / 0.8203 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.4752, allocations: 6.469 kB / 0.8204 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.724e-05/0.4752, allocations: 114.2 kB / 0.8205 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.4754, allocations: 0.5326 MB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.4754, allocations: 3.875 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4756, allocations: 79.45 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4756, allocations: 4.641 kB / 0.8211 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4756, allocations: 0 / 0.8211 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4756, allocations: 2.875 kB / 0.8211 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.4758, allocations: 129.6 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.476, allocations: 128.6 kB / 0.8213 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.4761, allocations: 96.27 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.4762, allocations: 38.88 kB / 0.8214 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.4762, allocations: 2.75 kB / 0.8214 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4763, allocations: 35.12 kB / 0.8215 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 7.91e-07/0.4763, allocations: 0 / 0.8215 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003363/0.4766, allocations: 149.4 kB / 0.8216 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4766, allocations: 58.25 kB / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.517e-05/0.4767, allocations: 94.61 kB / 0.8218 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.4767, allocations: 29.7 kB / 0.8218 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.838e-05/0.4767, allocations: 82.7 kB / 0.8219 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.4767, allocations: 33.11 kB / 0.8219 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.4768, allocations: 27.06 kB / 0.8219 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.4769, allocations: 320.6 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.4769, allocations: 30.55 kB / 0.8223 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.477, allocations: 31.06 kB / 0.8223 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4772, allocations: 80.58 kB / 0.8224 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4772, allocations: 0.6094 kB / 0.8224 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001845/0.4773, allocations: 117 kB / 0.8225 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4774, allocations: 11.5 kB / 0.8225 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4774, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4774, allocations: 4.922 kB / 0.8225 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4775, allocations: 26.83 kB / 0.8225 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4775, allocations: 0 / 0.8225 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.4775, allocations: 5.797 kB / 0.8225 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.4775, allocations: 2.844 kB / 0.8225 GB, free: 14.65 MB / 0.6198 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 6.525e-05/0.4776, allocations: 117.2 kB / 0.8227 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.4776, allocations: 7.266 kB / 0.8227 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.4776, allocations: 19.84 kB / 0.8227 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4776, allocations: 6.328 kB / 0.8227 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4776, allocations: 0.9844 kB / 0.8227 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4776, allocations: 0 / 0.8227 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.379e-05/0.4777, allocations: 121.9 kB / 0.8228 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4777, allocations: 1.531 kB / 0.8228 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.4778, allocations: 32.44 kB / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4778, allocations: 0 / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4778, allocations: 5.5 kB / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4778, allocations: 3.938 kB / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4778, allocations: 4 kB / 0.8228 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.478, allocations: 147.4 kB / 0.823 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-06/0.478, allocations: 6.031 kB / 0.823 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.478, allocations: 5.812 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.4781, allocations: 12.52 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.4781, allocations: 12.39 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.4781, allocations: 2.219 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.218e-05/0.4781, allocations: 80.12 kB / 0.8231 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4781, allocations: 0 / 0.8231 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001661/0.4783, allocations: 24.23 kB / 0.8231 GB, free: 14.16 MB / 0.6198 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.0001445/0.4784, allocations: 118.4 kB / 0.8232 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.4786, allocations: 83.22 kB / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.4786, allocations: 0 / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.4787, allocations: 43.47 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.4788, allocations: 7.641 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.4791, allocations: 190.7 kB / 0.8235 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.413e-05/0.4792, allocations: 67.81 kB / 0.8236 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.4792, allocations: 26.36 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.4792, allocations: 3.938 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.002493/0.4817, allocations: 1.318 MB / 0.8249 GB, free: 13.69 MB / 0.6198 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.730052061378956] Failed to read output from testmodel.py, exit status != 0: 0.4876111997291446 0.49841680000000005 0.021541988 Calling exit ...