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.0009333/0.0009333, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001137/0.001137, allocations: 169 kB / 23.27 MB, free: 1.219 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.036/1.036, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7915/0.7915, allocations: 154.6 MB / 414.8 MB, free: 0.5508 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 179] 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.094e-06/2.094e-06, allocations: 0 / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.116e-05, allocations: 6.141 kB / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003136/0.003167, allocations: 1.58 MB / 0.5223 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.003642, allocations: 187.9 kB / 0.5225 GB, free: 140 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.003692, allocations: 4.969 kB / 0.5225 GB, free: 136 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.003726, allocations: 3.938 kB / 0.5225 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.003779, allocations: 5.906 kB / 0.5225 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.004137, allocations: 55.75 kB / 0.5226 GB, free: 72 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.004207, allocations: 36.88 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.004302, allocations: 12 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.004351, allocations: 23.91 kB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.00441, allocations: 13.73 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.004427, allocations: 4 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.00456, allocations: 47.94 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.004576, allocations: 11.98 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.004599, allocations: 15.92 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.004749, allocations: 64.41 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.004754, allocations: 5.031 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004755, allocations: 0 / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.004759, allocations: 0 / 0.5228 GB, free: 15.84 MB / 0.4948 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.000389/0.005148, allocations: 381.7 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.005188, allocations: 8.031 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.005222, allocations: 4.938 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.005311, allocations: 117.1 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.005328, allocations: 384 / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.005339, allocations: 10 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.005488, allocations: 58.94 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.005496, allocations: 192 / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.005503, allocations: 384 / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.005509, allocations: 1.562 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.005545, allocations: 19.92 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.005859, allocations: 257.1 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.006035, allocations: 39.05 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.006059, allocations: 12.94 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.006188, allocations: 23.97 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.006212, allocations: 34.11 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.006214, allocations: 0 / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001602/0.006375, allocations: 54.14 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.006402, allocations: 52.44 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.006488, allocations: 170 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.0065, allocations: 25.7 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.006551, allocations: 131.5 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.006571, allocations: 20.61 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.006609, allocations: 23.38 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.006853, allocations: 495.3 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.006879, allocations: 7.984 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.006895, allocations: 4.422 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.006945, allocations: 23.61 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.00695, allocations: 4 kB / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001003/0.007051, allocations: 45.69 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.007071, allocations: 7.938 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.007077, allocations: 4 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.007094, allocations: 0.875 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.007171, allocations: 7.984 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007175, allocations: 0 / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.007206, allocations: 4.562 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.007212, allocations: 0.9375 kB / 0.5247 GB, free: 13.65 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.0001028/0.007315, allocations: 156.6 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.007342, allocations: 5.578 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.00748, allocations: 57.25 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007483, allocations: 0 / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.007485, allocations: 0 / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.007489, allocations: 0.9688 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.007643, allocations: 109.2 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.007645, allocations: 1.781 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-05/0.007707, allocations: 7.984 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.007711, allocations: 0 / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.007717, allocations: 4 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.007719, allocations: 0 / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.007722, allocations: 5.469 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.007903, allocations: 191.9 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.007915, allocations: 4 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.007927, allocations: 0 / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.007991, allocations: 6.734 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.008044, allocations: 11.94 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.008052, allocations: 3.984 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.00811, allocations: 131.2 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.00811, allocations: 0 / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002903/0.008401, allocations: 23.88 kB / 0.5254 GB, free: 12.89 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.0002315/0.008632, allocations: 113.4 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.008749, allocations: 19.67 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.008752, allocations: 4 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.008783, allocations: 15.95 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.00908, allocations: 12.86 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.009391, allocations: 130.9 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.068e-05/0.009441, allocations: 59.34 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.009472, allocations: 8 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.009533, allocations: 70.2 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/0.009534, allocations: 0 / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.003626/0.01316, allocations: 1.103 MB / 0.5269 GB, free: 11.36 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: 3.661422414239496]