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.001339/0.001339, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.00157/0.00157, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.464/1.464, 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 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 1.191/1.191, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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.573e-06/1.573e-06, allocations: 0 / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.597e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002844/0.00288, allocations: 1.551 MB / 0.6201 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004852/0.003365, allocations: 178.4 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.003406, allocations: 4 kB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.003436, allocations: 3.938 kB / 0.6203 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.003488, allocations: 7.875 kB / 0.6203 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.003834, allocations: 55.75 kB / 0.6203 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.348e-05/0.003908, allocations: 31.92 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.003987, allocations: 11.97 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.004029, allocations: 23.92 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.004076, allocations: 16.73 kB / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.004093, allocations: 0 / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.00422, allocations: 57.47 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.004234, allocations: 7.984 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.004265, allocations: 15.92 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.004434, allocations: 71.83 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004436, allocations: 1.156 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004436, allocations: 0 / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.00444, allocations: 3.938 kB / 0.6206 GB, free: 2.492 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.0004963/0.004937, allocations: 287.5 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.004974, allocations: 12.03 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.005009, allocations: 4.922 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.005123, allocations: 113.8 kB / 0.621 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.005145, allocations: 4.312 kB / 0.621 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.005158, allocations: 8.375 kB / 0.621 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.005367, allocations: 62.2 kB / 0.621 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.005376, allocations: 192 / 0.621 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.005388, allocations: 4.375 kB / 0.6211 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.005396, allocations: 8.359 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.005603, allocations: 47.89 kB / 0.6211 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.005959, allocations: 216.5 kB / 0.6213 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.006301, allocations: 58.53 kB / 0.6214 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.0064, allocations: 20.91 kB / 0.6214 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.006555, allocations: 15.97 kB / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.006581, allocations: 38.5 kB / 0.6214 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.006582, allocations: 0 / 0.6214 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004232/0.007005, allocations: 101.5 kB / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.007056, allocations: 51.41 kB / 0.6216 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.007136, allocations: 105.8 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.007153, allocations: 25.7 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.007215, allocations: 92.06 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.007234, allocations: 7.953 kB / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.00727, allocations: 13.72 kB / 0.6218 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.007407, allocations: 314.8 kB / 0.6221 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.007509, allocations: 23.97 kB / 0.6221 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.476e-05/0.007603, allocations: 19.98 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.007791, allocations: 44.81 kB / 0.6222 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.007793, allocations: 0 / 0.6222 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002371/0.00803, allocations: 89.42 kB / 0.6223 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.008044, allocations: 4 kB / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.008048, allocations: 4 kB / 0.6223 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.008063, allocations: 4 kB / 0.6223 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.008149, allocations: 11.98 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008154, allocations: 256 / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.008216, allocations: 11.92 kB / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.008225, allocations: 4 kB / 0.6223 GB, free: 0.5234 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.45e-05/0.008319, allocations: 115.7 kB / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.008346, allocations: 3.938 kB / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.008625, allocations: 89.27 kB / 0.6225 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.008627, allocations: 0 / 0.6225 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.008633, allocations: 3.984 kB / 0.6225 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008636, allocations: 0 / 0.6225 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.008783, allocations: 109.3 kB / 0.6226 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008784, allocations: 384 / 0.6226 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.008862, allocations: 8 kB / 0.6226 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.008866, allocations: 3.984 kB / 0.6226 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.008877, allocations: 7.938 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.008878, allocations: 0 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008879, allocations: 0 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.00918, allocations: 179.5 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.009186, allocations: 0 / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.009203, allocations: 7.922 kB / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.00929, allocations: 4 kB / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.009343, allocations: 11.98 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.009348, allocations: 7.875 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.009391, allocations: 79.28 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009391, allocations: 0 / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002494/0.00964, allocations: 19.98 kB / 0.623 GB, free: 15.82 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.0001961/0.009836, allocations: 119.2 kB / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01009, allocations: 43.95 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01009, allocations: 4 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.01019, allocations: 15.98 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.01049, allocations: 8 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.01082, allocations: 132.7 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.01089, allocations: 63.34 kB / 0.6233 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.01092, allocations: 4 kB / 0.6233 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.01095, allocations: 12.5 kB / 0.6233 GB, free: 15.37 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.01095, allocations: 3.938 kB / 0.6233 GB, free: 15.36 MB / 0.545 GB Notification: Performance of Templates: time 0.003934/0.01488, allocations: 0.9933 MB / 0.6243 GB, free: 14.39 MB / 0.545 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: 5.719676282256842] Failed to read output from testmodel.py, exit status != 0: 0.023578260093927383 0.037800139 0.030429775000000003 Calling exit ...