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.001799/0.001799, allocations: 81.5 kB / 19.44 MB, free: 340 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.002025/0.002025, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.6/1.6, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.313/1.313, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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 1.533e-06/1.533e-06, allocations: 0 / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.999e-05, allocations: 3.062 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003393/0.003423, allocations: 1.567 MB / 0.5212 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005421/0.003965, allocations: 179.7 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.004005, allocations: 2.344 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.004028, allocations: 0 / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.004087, allocations: 12.09 kB / 0.5213 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.004444, allocations: 52.36 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.004533, allocations: 36.94 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.004632, allocations: 15.94 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.004698, allocations: 23.92 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.004747, allocations: 13.2 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.004765, allocations: 4 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.004912, allocations: 55.91 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.004928, allocations: 9.781 kB / 0.5215 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.004953, allocations: 7.938 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.005145, allocations: 79.77 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005149, allocations: 0 / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005149, allocations: 0 / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005154, allocations: 1.719 kB / 0.5216 GB, free: 500 kB / 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.000557/0.005711, allocations: 376.1 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.005752, allocations: 12.03 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.005803, allocations: 8.938 kB / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.005947, allocations: 114.1 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.005972, allocations: 4.375 kB / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.005981, allocations: 384 / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.006162, allocations: 62.17 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.006171, allocations: 0.9375 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.006184, allocations: 4.359 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.00619, allocations: 5.844 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.006337, allocations: 39.91 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.006778, allocations: 267.8 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.007076, allocations: 60.33 kB / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.007156, allocations: 27.73 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.007317, allocations: 16.92 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.007355, allocations: 41.33 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.007356, allocations: 2.969 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003373/0.007693, allocations: 77.61 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.007741, allocations: 55.34 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.007876, allocations: 173.9 kB / 0.5229 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.007894, allocations: 25.7 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.007985, allocations: 134.8 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.008007, allocations: 11.89 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.008056, allocations: 23.94 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002569/0.008313, allocations: 496.7 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.008377, allocations: 12.81 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.008434, allocations: 19.98 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.008558, allocations: 32.2 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.008563, allocations: 5.453 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001707/0.008734, allocations: 73.52 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.008748, allocations: 4 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008752, allocations: 0.9375 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.008768, allocations: 3.984 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.008831, allocations: 10.94 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.008837, allocations: 0 / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.008878, allocations: 4 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.008885, allocations: 0 / 0.5237 GB, free: 14.13 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.0001331/0.009018, allocations: 164.6 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.009046, allocations: 3.938 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.009267, allocations: 69.36 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.009269, allocations: 2.75 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.009273, allocations: 0 / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.009276, allocations: 0 / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.009462, allocations: 125 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009463, allocations: 0 / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.009524, allocations: 15.92 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009526, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.009537, allocations: 4.531 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.009538, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.009538, allocations: 1.5 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.009807, allocations: 219.9 kB / 0.5243 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.009816, allocations: 4.609 kB / 0.5243 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.009833, allocations: 7.938 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.009897, allocations: 4.5 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.009952, allocations: 9.734 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.009956, allocations: 4 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.01003, allocations: 127.2 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01003, allocations: 3.938 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002301/0.01026, allocations: 15.94 kB / 0.5245 GB, free: 13.3 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.0002231/0.01048, allocations: 121.7 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.01068, allocations: 43.66 kB / 0.5246 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01068, allocations: 0 / 0.5246 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.01076, allocations: 31.67 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01099, allocations: 8.188 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.01134, allocations: 134.1 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.479e-05/0.01142, allocations: 67.28 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.01145, allocations: 5.031 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.01148, allocations: 8.5 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01148, allocations: 4.938 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.004053/0.01554, allocations: 1.006 MB / 0.5259 GB, free: 11.88 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.009031505091116]