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.0008245/0.0008245, allocations: 93.06 kB / 19.65 MB, free: 280 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.001548/0.001548, allocations: 165 kB / 23.02 MB, free: 1.551 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.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-535:34: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-535:42: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.7958/0.7958, allocations: 154.8 MB / 414.7 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 4.329e-06/4.329e-06, allocations: 4 kB / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.658e-05/4.091e-05, allocations: 3.297 kB / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003639/0.00368, allocations: 1.591 MB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.004354, allocations: 191.9 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.004423, allocations: 0 / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.75e-05/0.00447, allocations: 0 / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.747e-05/0.004558, allocations: 14.22 kB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.00516, allocations: 51.81 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.005283, allocations: 35.91 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.005401, allocations: 12.73 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.913e-05/0.005471, allocations: 23.92 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.005533, allocations: 17.44 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.005566, allocations: 4 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.005779, allocations: 47.94 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.005801, allocations: 11.98 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.005839, allocations: 13.28 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.006052, allocations: 63.78 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.006058, allocations: 4 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.535e-06/0.006061, allocations: 0 / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.006068, allocations: 0.625 kB / 0.5226 GB, free: 15.89 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.0005192/0.006587, allocations: 387.7 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.006637, allocations: 8.031 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.006695, allocations: 4.938 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.006819, allocations: 116.6 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.006846, allocations: 384 / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.006864, allocations: 4.375 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.007073, allocations: 62.94 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.007086, allocations: 192 / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.007097, allocations: 4.844 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.007108, allocations: 384 / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.00716, allocations: 20.42 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.007669, allocations: 268.3 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.007957, allocations: 47.83 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.007993, allocations: 17.22 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.008196, allocations: 11.98 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.008232, allocations: 41.33 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/0.008234, allocations: 0 / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002597/0.008494, allocations: 54.7 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.008532, allocations: 51.41 kB / 0.5236 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.00865, allocations: 167.1 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.008668, allocations: 25.7 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.008763, allocations: 142.8 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.00879, allocations: 13.22 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.008843, allocations: 23.38 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.009022, allocations: 492.1 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.00905, allocations: 7.984 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.009069, allocations: 4.812 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.009125, allocations: 20.97 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.009128, allocations: 256 / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001062/0.009234, allocations: 49.62 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.009251, allocations: 4 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.009257, allocations: 5.344 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.009273, allocations: 0 / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.009344, allocations: 15.92 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.009349, allocations: 2.75 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.009378, allocations: 4 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.009383, allocations: 0 / 0.5246 GB, free: 13.66 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 8.743e-05/0.00947, allocations: 164.6 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.009499, allocations: 3.938 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.00966, allocations: 49.38 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.009666, allocations: 2.75 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.00967, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.009675, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.009833, allocations: 128.6 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.009837, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.009898, allocations: 15.92 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.009903, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.009913, allocations: 3.938 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.009917, allocations: 0.9062 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.009919, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.01009, allocations: 192.9 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.0101, allocations: 3.984 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.01011, allocations: 8.875 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.01015, allocations: 4 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.0102, allocations: 3.984 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.0102, allocations: 4.5 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.01026, allocations: 127.9 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01026, allocations: 0 / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001797/0.01044, allocations: 20.44 kB / 0.5253 GB, free: 12.88 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.0001844/0.01062, allocations: 120.2 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.01072, allocations: 27.88 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01072, allocations: 0 / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.01075, allocations: 22.11 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.01095, allocations: 11.19 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.01132, allocations: 130.1 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.01137, allocations: 59.34 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.01139, allocations: 10.81 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.01142, allocations: 8.5 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01142, allocations: 3.938 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.002869/0.01429, allocations: 1.001 MB / 0.5266 GB, free: 11.48 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9456669189967215]