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.0007481/0.0007481, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007931/0.0007931, allocations: 207.8 kB / 23.01 MB, free: 3.121 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.8581/0.8581, allocations: 230.6 MB / 256.8 MB, free: 3.457 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.7297/0.7297, allocations: 203.8 MB / 0.5049 GB, free: 0.6484 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.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: 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.0009251/0.0009251, allocations: 67.91 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4332, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002304/0.4355, allocations: 1.562 MB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000394/0.4359, allocations: 182.6 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.436, allocations: 0.7812 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.436, allocations: 1.75 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.436, allocations: 5.156 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.4364, allocations: 56.38 kB / 0.8209 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.4365, allocations: 35.61 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.4366, allocations: 18.39 kB / 0.8209 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.4366, allocations: 17.62 kB / 0.8209 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.4366, allocations: 20.7 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.4367, allocations: 3.812 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.4368, allocations: 60.5 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.4368, allocations: 7.797 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.4368, allocations: 13.58 kB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.437, allocations: 65.59 kB / 0.8211 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.437, allocations: 0.9062 kB / 0.8211 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.437, allocations: 1.344 kB / 0.8211 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.437, allocations: 0 / 0.8211 GB, free: 23.89 MB / 0.6355 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.0003656/0.4374, allocations: 288.6 kB / 0.8214 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4374, allocations: 10.88 kB / 0.8214 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.4374, allocations: 5.609 kB / 0.8214 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.628e-05/0.4375, allocations: 114.4 kB / 0.8215 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4375, allocations: 1.969 kB / 0.8215 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4375, allocations: 2.312 kB / 0.8215 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4377, allocations: 67.64 kB / 0.8216 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4377, allocations: 1.219 kB / 0.8216 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4377, allocations: 9.156 kB / 0.8216 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4377, allocations: 1.094 kB / 0.8216 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4378, allocations: 41.14 kB / 0.8216 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.4381, allocations: 243.6 kB / 0.8218 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.4384, allocations: 61.69 kB / 0.8219 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.4384, allocations: 30.48 kB / 0.8219 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.4386, allocations: 17.14 kB / 0.8219 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.4386, allocations: 35.55 kB / 0.822 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.502e-06/0.4386, allocations: 0.5625 kB / 0.822 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002456/0.4388, allocations: 93.64 kB / 0.8221 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.4389, allocations: 55.34 kB / 0.8221 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.4389, allocations: 119.5 kB / 0.8222 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.4389, allocations: 29.83 kB / 0.8223 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.4389, allocations: 90.64 kB / 0.8223 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.4389, allocations: 9.594 kB / 0.8224 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.439, allocations: 15.48 kB / 0.8224 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.977e-05/0.439, allocations: 325.3 kB / 0.8227 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/0.4391, allocations: 20.56 kB / 0.8227 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.4391, allocations: 18.94 kB / 0.8227 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.4392, allocations: 46.38 kB / 0.8228 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4392, allocations: 0 / 0.8228 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001246/0.4393, allocations: 86.31 kB / 0.8228 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4393, allocations: 5.281 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4393, allocations: 0 / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4394, allocations: 0.5938 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.4394, allocations: 11.5 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4394, allocations: 1.688 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.4394, allocations: 5.625 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4395, allocations: 1.891 kB / 0.8229 GB, free: 22.32 MB / 0.6355 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 4.34e-05/0.4395, allocations: 121.6 kB / 0.823 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.4395, allocations: 3.203 kB / 0.823 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.4397, allocations: 83.36 kB / 0.8231 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4397, allocations: 0.8438 kB / 0.8231 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4397, allocations: 1.781 kB / 0.8231 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4397, allocations: 0 / 0.8231 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.368e-05/0.4398, allocations: 152.4 kB / 0.8232 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4398, allocations: 1.125 kB / 0.8232 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.4398, allocations: 16.02 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4398, allocations: 0 / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4398, allocations: 0.5 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4398, allocations: 1.125 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4398, allocations: 1.312 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.44, allocations: 175.3 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.44, allocations: 6.422 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.44, allocations: 1.469 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.44, allocations: 10.19 kB / 0.8234 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.4401, allocations: 8.453 kB / 0.8234 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4401, allocations: 6.062 kB / 0.8234 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.286e-05/0.4401, allocations: 83.36 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4401, allocations: 0 / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001876/0.4403, allocations: 22.91 kB / 0.8235 GB, free: 21.72 MB / 0.6355 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.0001302/0.4404, allocations: 114 kB / 0.8236 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.4406, allocations: 45.7 kB / 0.8237 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4406, allocations: 0.5312 kB / 0.8237 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/0.4406, allocations: 24.73 kB / 0.8237 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.4408, allocations: 9.625 kB / 0.8237 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.4411, allocations: 159.3 kB / 0.8239 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.411e-05/0.4412, allocations: 0.6797 MB / 0.8245 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.4412, allocations: 11.78 kB / 0.8246 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.4412, allocations: 0 / 0.8246 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.002379/0.4436, allocations: 0.977 MB / 0.8255 GB, free: 20.67 MB / 0.6355 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.393186482833698] Failed to read output from testmodel.py, exit status != 0: 0.4488661140203476 0.45768703899999996 0.018981434000000002 Calling exit ...