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.001346/0.001346, allocations: 84.73 kB / 19.44 MB, free: 352 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.001528/0.001528, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-545:108: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-545:116: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.245/1.245, allocations: 154.6 MB / 414.2 MB, free: 0.6094 MB / 378.7 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 2.494e-06/2.494e-06, allocations: 0.7656 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.431e-05, allocations: 4 kB / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003117/0.003151, allocations: 1.552 MB / 0.5211 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005719/0.003723, allocations: 183.2 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.003769, allocations: 5.75 kB / 0.5213 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.003802, allocations: 3.938 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.003858, allocations: 3.938 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.004254, allocations: 51.86 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.004353, allocations: 36.42 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004454, allocations: 15.92 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.00451, allocations: 21.22 kB / 0.5215 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.004556, allocations: 11.98 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.004575, allocations: 4 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.004716, allocations: 52.44 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.004732, allocations: 8.969 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.004767, allocations: 15.97 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.004958, allocations: 71.78 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004962, allocations: 0.9688 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004963, allocations: 0 / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004967, allocations: 0 / 0.5216 GB, free: 0.5078 MB / 490.7 MB 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.000553/0.00552, allocations: 286.8 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.005557, allocations: 9.406 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.005605, allocations: 4.938 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.005735, allocations: 109.8 kB / 0.522 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.005758, allocations: 4.938 kB / 0.522 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.005772, allocations: 4.375 kB / 0.522 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.005999, allocations: 63.66 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006007, allocations: 192 / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.006022, allocations: 8.312 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006027, allocations: 1.062 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.006253, allocations: 53.14 kB / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.006655, allocations: 212.5 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.007002, allocations: 59.28 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.007109, allocations: 26.38 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.007286, allocations: 11.98 kB / 0.5224 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.00732, allocations: 39.41 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.007321, allocations: 0 / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004366/0.007758, allocations: 104.2 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.007801, allocations: 51.41 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.007903, allocations: 105.8 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.00793, allocations: 29.7 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.007995, allocations: 84.14 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.008013, allocations: 9.391 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.008059, allocations: 21.7 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.008257, allocations: 314.8 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.008359, allocations: 16.52 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.337e-05/0.008452, allocations: 33.11 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.008637, allocations: 46 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008638, allocations: 0 / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002415/0.00888, allocations: 82.11 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.008895, allocations: 5.031 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.0089, allocations: 0 / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.008917, allocations: 0 / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.009003, allocations: 12.8 kB / 0.5233 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.009008, allocations: 2.75 kB / 0.5233 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.009079, allocations: 7.984 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.009088, allocations: 4 kB / 0.5234 GB, free: 14.57 MB / 0.4948 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 0.0001009/0.009189, allocations: 117.7 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.009223, allocations: 7.938 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.009505, allocations: 84.17 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.00951, allocations: 4 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.009514, allocations: 0 / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009516, allocations: 0 / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.009678, allocations: 109.3 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.009678, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.009757, allocations: 11.98 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009759, allocations: 1.406 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.009769, allocations: 3.938 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.009773, allocations: 3.984 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.009774, allocations: 0 / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.01009, allocations: 179.3 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.0101, allocations: 4 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.01011, allocations: 3.938 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.01021, allocations: 12.23 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.01027, allocations: 7.984 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01028, allocations: 4 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.01034, allocations: 83.28 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01034, allocations: 0 / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002568/0.0106, allocations: 22.41 kB / 0.524 GB, free: 13.87 MB / 0.4948 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.0002135/0.01081, allocations: 107.2 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.01108, allocations: 47.89 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01108, allocations: 0.9375 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.01118, allocations: 28.3 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.01149, allocations: 5.094 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.01215, allocations: 128.5 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.01223, allocations: 64.28 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.01227, allocations: 10.06 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.01231, allocations: 12.59 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.01231, allocations: 0 / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.004128/0.01643, allocations: 1.011 MB / 0.5254 GB, free: 12.46 MB / 0.4948 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.79086939105764]